{"icon":{"sha256":"5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959","relativePath":"icons/5a/5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959.img","extension":"img","mediaType":"image/png","width":48,"height":48,"byteLength":780,"frameCount":1,"isAnimated":false,"animationMetadataInspectedUtc":"2026-07-27T12:49:55.2361896+00:00","scannerMetadataVersion":1,"firstSeenUtc":"2026-07-27T12:49:55.2361905+00:00"},"observations":[{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","sourceDisplayName":"Prospect live gallery stackoverflow.com","sourceKind":"static-gallery","sourceType":"prospect-queue","rightsProfile":"Unreviewed prospect; preserve provenance and review rights before redistribution.","originalUrl":"https://www.gravatar.com/avatar/ee3b988e2fd98c6541c47111f5efe901?s=48&d=identicon&r=PG&f=y&so-version=2","downloadUrl":"https://www.gravatar.com/avatar/ee3b988e2fd98c6541c47111f5efe901?s=48&d=identicon&r=PG&f=y&so-version=2","pageUrl":"https://stackoverflow.com/users/4177384/hitzg","title":"python - How to get only files in directory? - Stack Overflow","altText":"","categoryPath":"questions / 21384232 / how to get only files in directory / python how to get only files in directory stack overflow","status":"accepted","observedUtc":"2026-07-27T12:49:55.2376157+00:00"}],"sourceTags":[{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","tag":"how to get only files in directory","evidence":"observation · category · gallery · observation-category","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","tag":"python how to get only files in directory stack overflow","evidence":"observation · category · gallery · observation-category","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","tag":"questions","evidence":"observation · category · gallery · observation-category","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","tag":"python how to get only files in directory? stack overflow","evidence":"observation · title · gallery · observation-title","confidence":0.7,"methodKey":"typed-source-evidence-v2"}],"reviews":[{"id":629908,"runId":62,"model":"qwen3-vl:30b","promptVariant":"wordwall-v1","preprocessMode":"contact-sheet-smart","enrichmentMetadataVersion":5,"description":"Red background with white geometric shapes including diamonds, crosses, and four interconnected rings arranged in a grid pattern.","rawJson":"{\"inputIndex\":0,\"sha256\":\"5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959\",\"description\":\"Red background with white geometric shapes including diamonds, crosses, and four interconnected rings arranged in a grid pattern.\",\"denseCaption\":\"Red background with white geometric shapes: four large diamonds at corners, eight small crosses in outer rows, four interconnected rings in center. Shapes are pixelated, uniform in size within groups, arranged in 4x4 grid. All shapes are solid white with no internal details or text. No visible motion or animation. Composition is symmetrical with central ring group forming a cross-like arrangement.\",\"wordwall\":[\"red background\",\"white shapes\",\"diamonds\",\"crosses\",\"interconnected rings\",\"pixelated\",\"4x4 grid\",\"symmetrical\",\"solid white\",\"no text\"],\"visibleText\":[],\"uncertainText\":[],\"subjects\":[\"diamonds\",\"crosses\",\"interconnected rings\"],\"actions\":[],\"objects\":[],\"colors\":[\"red\",\"white\"],\"style\":[\"geometric\",\"pixelated\",\"symmetrical\"],\"composition\":[\"4x4 grid\",\"symmetrical\",\"central ring group\"],\"mood\":[],\"animation\":[],\"preprocessingNotes\":[],\"sourceMetadataInterpretation\":[],\"metadataSupportedByImage\":[],\"metadataNotConfirmedByImage\":[\"observation category (gallery): how to get only files in directory\",\"observation category (gallery): python how to get only files in directory stack overflow\",\"observation category (gallery): questions\",\"observation title (gallery): python - How to get only files in directory? - Stack Overflow\",\"observation category (gallery): 21384232\",\"observation file-name (gallery): ee3b988e2fd98c6541c47111f5efe901\",\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"metadataContradictedByImage\":[],\"visuallySupportedEntities\":[],\"metadataOnlyEntities\":[],\"identityHypotheses\":[],\"namedEntities\":[],\"fandoms\":[],\"animationSummary\":\"\",\"nonRedundantSearchPhrases\":[\"red background white geometric shapes\",\"diamonds crosses interconnected rings\",\"pixelated 4x4 grid\",\"symmetrical white shapes red background\"],\"uncertainty\":[],\"aestheticStrengths\":[],\"aestheticWeaknesses\":[],\"tags\":[{\"tag\":\"diamonds\",\"category\":\"subject\",\"confidence\":0.8,\"evidence\":\"visible: diamonds\"},{\"tag\":\"crosses\",\"category\":\"subject\",\"confidence\":0.8,\"evidence\":\"visible: crosses\"},{\"tag\":\"interconnected rings\",\"category\":\"subject\",\"confidence\":0.8,\"evidence\":\"visible: interconnected rings\"},{\"tag\":\"geometric\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: geometric\"},{\"tag\":\"pixelated\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: pixelated\"},{\"tag\":\"symmetrical\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: symmetrical\"},{\"tag\":\"red\",\"category\":\"color\",\"confidence\":0.8,\"evidence\":\"visible: red\"},{\"tag\":\"white\",\"category\":\"color\",\"confidence\":0.8,\"evidence\":\"visible: white\"}],\"rawModelResponse\":{\"icons\":[{\"inputIndex\":0,\"sha256\":\"5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959\",\"description\":\"Red background with white geometric shapes including diamonds, crosses, and four interconnected rings arranged in a grid pattern.\",\"denseCaption\":\"Red background with white geometric shapes: four large diamonds at corners, eight small crosses in outer rows, four interconnected rings in center. Shapes are pixelated, uniform in size within groups, arranged in 4x4 grid. All shapes are solid white with no internal details or text. No visible motion or animation. Composition is symmetrical with central ring group forming a cross-like arrangement.\",\"wordwall\":[\"red background\",\"white shapes\",\"diamonds\",\"crosses\",\"interconnected rings\",\"pixelated\",\"4x4 grid\",\"symmetrical\",\"solid white\",\"no text\"],\"visibleText\":[],\"uncertainText\":[],\"subjects\":[\"diamonds\",\"crosses\",\"interconnected rings\"],\"actions\":[],\"objects\":[],\"colors\":[\"red\",\"white\"],\"style\":[\"geometric\",\"pixelated\",\"symmetrical\"],\"composition\":[\"4x4 grid\",\"symmetrical\",\"central ring group\"],\"mood\":[],\"animation\":[],\"preprocessingNotes\":[],\"sourceMetadataInterpretation\":[],\"metadataSupportedByImage\":[],\"metadataNotConfirmedByImage\":[\"observation category (gallery): how to get only files in directory\",\"observation category (gallery): python how to get only files in directory stack overflow\",\"observation category (gallery): questions\",\"observation title (gallery): python - How to get only files in directory? - Stack Overflow\",\"observation category (gallery): 21384232\",\"observation file-name (gallery): ee3b988e2fd98c6541c47111f5efe901\",\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"metadataContradictedByImage\":[],\"visuallySupportedEntities\":[],\"metadataOnlyEntities\":[],\"identityHypotheses\":[],\"namedEntities\":[],\"fandoms\":[],\"animationSummary\":\"\",\"nonRedundantSearchPhrases\":[\"red background white geometric shapes\",\"diamonds crosses interconnected rings\",\"pixelated 4x4 grid\",\"symmetrical white shapes red background\"],\"tags\":[]}]}}","requestId":"3731e85675a34d2ea7cbfed122511c32","promptTokens":1982,"responseTokens":580,"totalDurationNanoseconds":3923770900,"elapsedMilliseconds":7995,"reviewedUtc":"2026-08-20T14:14:57.7184934+00:00","tags":[{"tag":"red","category":"color","confidence":0.8,"evidence":"visible: red"},{"tag":"white","category":"color","confidence":0.8,"evidence":"visible: white"},{"tag":"geometric","category":"style","confidence":0.8,"evidence":"visible: geometric"},{"tag":"pixelated","category":"style","confidence":0.8,"evidence":"visible: pixelated"},{"tag":"symmetrical","category":"style","confidence":0.8,"evidence":"visible: symmetrical"},{"tag":"crosses","category":"subject","confidence":0.8,"evidence":"visible: crosses"},{"tag":"diamonds","category":"subject","confidence":0.8,"evidence":"visible: diamonds"},{"tag":"interconnected rings","category":"subject","confidence":0.8,"evidence":"visible: interconnected rings"}],"facts":{"colors":["red","white"],"composition":["4x4 grid","symmetrical","central ring group"],"denseCaption":["Red background with white geometric shapes: four large diamonds at corners, eight small crosses in outer rows, four interconnected rings in center. Shapes are pixelated, uniform in size within groups, arranged in 4x4 grid. All shapes are solid white with no internal details or text. No visible motion or animation. Composition is symmetrical with central ring group forming a cross-like arrangement."],"description":["Red background with white geometric shapes including diamonds, crosses, and four interconnected rings arranged in a grid pattern."],"metadataNotConfirmedByImage":["observation category (gallery): how to get only files in directory","observation category (gallery): python how to get only files in directory stack overflow","observation category (gallery): questions","observation title (gallery): python - How to get only files in directory? - Stack Overflow","observation category (gallery): 21384232","observation file-name (gallery): ee3b988e2fd98c6541c47111f5efe901","provenance source-name: Prospect live gallery stackoverflow.com","provenance source-type: prospect-queue"],"nonRedundantSearchPhrases":["red background white geometric shapes","diamonds crosses interconnected rings","pixelated 4x4 grid","symmetrical white shapes red background"],"style":["geometric","pixelated","symmetrical"],"subjects":["diamonds","crosses","interconnected rings"],"wordwall":["red background","white shapes","diamonds","crosses","interconnected rings","pixelated","4x4 grid","symmetrical","solid white","no text"]}}],"duplicateCluster":{"groupId":1690874,"canonicalSha256":"5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959","duplicateBasis":"singleton","members":[{"sha256":"5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959","relativePath":"icons/5a/5a1992b6fcade5ad0cb6d881dc83a3f9728796e132f637240573af85cc66d959.img","extension":"img","mediaType":"image/png","width":48,"height":48,"byteLength":780,"frameCount":1,"isAnimated":false,"firstSeenUtc":"2026-07-27T12:49:55.2361905+00:00","matchBasis":"canonical","matchDistance":0,"qualityScore":85.331451,"isCanonical":true}]},"canonicalPath":"/icon/python-how-to-get-only-files-in-directory-stack-overflow--5a1992b6fcade5ad","tagCounts":{},"typedEvidence":[{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"21384232","normalizedValue":"21384232","scope":"observation","kind":"category","authority":"gallery","origin":"observation-category","disposition":"hint","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"how to get only files in directory","normalizedValue":"how to get only files in directory","scope":"observation","kind":"category","authority":"gallery","origin":"observation-category","disposition":"search","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"python how to get only files in directory stack overflow","normalizedValue":"python how to get only files in directory stack overflow","scope":"observation","kind":"category","authority":"gallery","origin":"observation-category","disposition":"search","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"questions","normalizedValue":"questions","scope":"observation","kind":"category","authority":"gallery","origin":"observation-category","disposition":"search","confidence":0.8,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"ee3b988e2fd98c6541c47111f5efe901","normalizedValue":"ee3b988e2fd98c6541c47111f5efe901","scope":"observation","kind":"file-name","authority":"gallery","origin":"observation-original-url","disposition":"hint","confidence":0.65,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"ee3b988e2fd98c6541c47111f5efe901","normalizedValue":"ee3b988e2fd98c6541c47111f5efe901","scope":"observation","kind":"file-name","authority":"gallery","origin":"observation-download-url","disposition":"hint","confidence":0.65,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997055,"value":"python - How to get only files in directory? - Stack Overflow","normalizedValue":"python how to get only files in directory? stack overflow","scope":"observation","kind":"title","authority":"gallery","origin":"observation-title","disposition":"search","confidence":0.7,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","value":"Prospect live gallery stackoverflow.com","normalizedValue":"prospect live gallery stackoverflow.com","scope":"provenance","kind":"source-name","authority":"gallery","origin":"source-display-name","disposition":"facet","confidence":1,"methodKey":"typed-source-evidence-v2"},{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","value":"prospect-queue","normalizedValue":"prospect queue","scope":"provenance","kind":"source-type","authority":"gallery","origin":"source-type","disposition":"facet","confidence":0.9,"methodKey":"typed-source-evidence-v2"}],"contentSafety":[{"id":707863,"runId":1197,"provider":"onnx","model":"OwenElliott/image-safety-classifier-s","task":"broad","inputMode":"image","preprocessMode":"four-even-frames;flatten-rgb192;stretch-224;triangle;nchw-rgb-u8","overallScore":0.08247783780097961,"overallLabel":"sfw","assessedUtc":"2026-07-27T12:49:56.7382925+00:00","scores":[{"category":"onnx/sfw","score":0.9175221920013428,"appliedInputTypes":["image"]},{"category":"onnx/unsafe","score":0.08247783780097961,"appliedInputTypes":["image"]},{"category":"onnx/nsfw","score":0.04909348860383034,"appliedInputTypes":["image"]},{"category":"onnx/nsfl","score":0.03338434919714928,"appliedInputTypes":["image"]}]}],"publicTags":[{"namespace":"depicts","value":"crosses","namespaceLabel":"Depicts","qualifiedValue":"Depicts: crosses","countKey":"Depicts: crosses","searchPath":"/#tag=crosses&facet=depicts"},{"namespace":"depicts","value":"diamonds","namespaceLabel":"Depicts","qualifiedValue":"Depicts: diamonds","countKey":"Depicts: diamonds","searchPath":"/#tag=diamonds&facet=depicts"},{"namespace":"depicts","value":"interconnected rings","namespaceLabel":"Depicts","qualifiedValue":"Depicts: interconnected rings","countKey":"Depicts: interconnected rings","searchPath":"/#tag=interconnected%20rings&facet=depicts"},{"namespace":"style","value":"geometric","namespaceLabel":"Style","qualifiedValue":"Style: geometric","countKey":"Style: geometric","searchPath":"/#tag=geometric&facet=style"},{"namespace":"style","value":"pixelated","namespaceLabel":"Style","qualifiedValue":"Style: pixelated","countKey":"Style: pixelated","searchPath":"/#tag=pixelated&facet=style"},{"namespace":"style","value":"symmetrical","namespaceLabel":"Style","qualifiedValue":"Style: symmetrical","countKey":"Style: symmetrical","searchPath":"/#tag=symmetrical&facet=style"},{"namespace":"color","value":"red","namespaceLabel":"Color","qualifiedValue":"Color: red","countKey":"Color: red","searchPath":"/#tag=red&facet=color"},{"namespace":"color","value":"white","namespaceLabel":"Color","qualifiedValue":"Color: white","countKey":"Color: white","searchPath":"/#tag=white&facet=color"},{"namespace":"source","value":"how to get only files in directory","namespaceLabel":"Source terms","qualifiedValue":"Source terms: how to get only files in directory","countKey":"how to get only files in directory","searchPath":"/#tag=how%20to%20get%20only%20files%20in%20directory"},{"namespace":"source","value":"python how to get only files in directory stack overflow","namespaceLabel":"Source terms","qualifiedValue":"Source terms: python how to get only files in directory stack overflow","countKey":"python how to get only files in directory stack overflow","searchPath":"/#tag=python%20how%20to%20get%20only%20files%20in%20directory%20stack%20overflow"},{"namespace":"source","value":"python how to get only files in directory? stack overflow","namespaceLabel":"Source terms","qualifiedValue":"Source terms: python how to get only files in directory? stack overflow","countKey":"python how to get only files in directory? stack overflow","searchPath":"/#tag=python%20how%20to%20get%20only%20files%20in%20directory%3F%20stack%20overflow"},{"namespace":"source","value":"questions","namespaceLabel":"Source terms","qualifiedValue":"Source terms: questions","countKey":"questions","searchPath":"/#tag=questions"}],"categoryPaths":{"crosses":"/tags/crosses","diamonds":"/tags/diamonds","geometric":"/tags/geometric","symmetrical":"/tags/symmetrical","red":"/tags/red","white":"/tags/white"}}