{"icon":{"sha256":"b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9","relativePath":"icons/b7/b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9.img","extension":"img","mediaType":"image/png","width":48,"height":48,"byteLength":806,"frameCount":1,"isAnimated":false,"animationMetadataInspectedUtc":"2026-07-27T12:49:56.2303924+00:00","scannerMetadataVersion":1,"firstSeenUtc":"2026-07-27T12:49:56.2303927+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/34c873a9c6246ce878ed8d11622be884?s=48&d=identicon&r=PG&f=y&so-version=2","downloadUrl":"https://www.gravatar.com/avatar/34c873a9c6246ce878ed8d11622be884?s=48&d=identicon&r=PG&f=y&so-version=2","pageUrl":"https://stackoverflow.com/users/214518/stagg","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:56.2312736+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":629907,"runId":62,"model":"qwen3-vl:30b","promptVariant":"wordwall-v1","preprocessMode":"contact-sheet-smart","enrichmentMetadataVersion":5,"description":"A static pixel art pattern featuring a symmetrical teal and white geometric design with diamond shapes at corners and square cutouts in the center.","rawJson":"{\"inputIndex\":0,\"sha256\":\"b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9\",\"description\":\"A static pixel art pattern featuring a symmetrical teal and white geometric design with diamond shapes at corners and square cutouts in the center.\",\"denseCaption\":\"The image is a 16x16 pixel grid. The background consists of alternating teal and white squares forming a repeating pattern. Four large white diamonds occupy each corner, each bordered by teal pixels. A central teal square contains four smaller white squares arranged in a 2x2 grid. Teal triangles fill the spaces between the diamond shapes and the center square. All elements are rendered with hard edges typical of early digital pixel art.\",\"wordwall\":[\"16x16 pixel grid\",\"teal and white color scheme\",\"symmetrical pattern\",\"diamond shapes at corners\",\"central 2x2 square cutouts\",\"hard-edged pixels\"],\"visibleText\":[],\"uncertainText\":[],\"subjects\":[],\"actions\":[],\"objects\":[\"diamond shapes\",\"square cutouts\",\"triangles\"],\"colors\":[\"teal\",\"white\"],\"style\":[\"pixel art\",\"geometric pattern\",\"symmetrical design\"],\"composition\":[\"central square with 2x2 cutouts\",\"corner diamonds\",\"repeating background squares\"],\"mood\":[],\"animation\":[],\"preprocessingNotes\":[],\"sourceMetadataInterpretation\":[],\"metadataSupportedByImage\":[],\"metadataNotConfirmedByImage\":[\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"metadataContradictedByImage\":[],\"visuallySupportedEntities\":[],\"metadataOnlyEntities\":[\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"identityHypotheses\":[],\"namedEntities\":[],\"fandoms\":[],\"animationSummary\":\"\",\"nonRedundantSearchPhrases\":[\"teal white pixel art geometric pattern\",\"16x16 symmetrical diamond square cutout\"],\"uncertainty\":[],\"aestheticStrengths\":[],\"aestheticWeaknesses\":[],\"tags\":[{\"tag\":\"diamond shapes\",\"category\":\"object\",\"confidence\":0.8,\"evidence\":\"visible: diamond shapes\"},{\"tag\":\"square cutouts\",\"category\":\"object\",\"confidence\":0.8,\"evidence\":\"visible: square cutouts\"},{\"tag\":\"triangles\",\"category\":\"object\",\"confidence\":0.8,\"evidence\":\"visible: triangles\"},{\"tag\":\"pixel art\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: pixel art\"},{\"tag\":\"geometric pattern\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: geometric pattern\"},{\"tag\":\"symmetrical design\",\"category\":\"style\",\"confidence\":0.8,\"evidence\":\"visible: symmetrical design\"},{\"tag\":\"teal\",\"category\":\"color\",\"confidence\":0.8,\"evidence\":\"visible: teal\"},{\"tag\":\"white\",\"category\":\"color\",\"confidence\":0.8,\"evidence\":\"visible: white\"}],\"rawModelResponse\":{\"icons\":[{\"inputIndex\":0,\"sha256\":\"b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9\",\"description\":\"A static pixel art pattern featuring a symmetrical teal and white geometric design with diamond shapes at corners and square cutouts in the center.\",\"denseCaption\":\"The image is a 16x16 pixel grid. The background consists of alternating teal and white squares forming a repeating pattern. Four large white diamonds occupy each corner, each bordered by teal pixels. A central teal square contains four smaller white squares arranged in a 2x2 grid. Teal triangles fill the spaces between the diamond shapes and the center square. All elements are rendered with hard edges typical of early digital pixel art.\",\"wordwall\":[\"16x16 pixel grid\",\"teal and white color scheme\",\"symmetrical pattern\",\"diamond shapes at corners\",\"central 2x2 square cutouts\",\"hard-edged pixels\"],\"visibleText\":[],\"uncertainText\":[],\"subjects\":[],\"actions\":[],\"objects\":[\"diamond shapes\",\"square cutouts\",\"triangles\"],\"colors\":[\"teal\",\"white\"],\"style\":[\"pixel art\",\"geometric pattern\",\"symmetrical design\"],\"composition\":[\"central square with 2x2 cutouts\",\"corner diamonds\",\"repeating background squares\"],\"mood\":[],\"animation\":[],\"preprocessingNotes\":[],\"sourceMetadataInterpretation\":[],\"metadataSupportedByImage\":[],\"metadataNotConfirmedByImage\":[\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"metadataContradictedByImage\":[],\"visuallySupportedEntities\":[],\"metadataOnlyEntities\":[\"provenance source-name: Prospect live gallery stackoverflow.com\",\"provenance source-type: prospect-queue\"],\"identityHypotheses\":[],\"namedEntities\":[],\"fandoms\":[],\"animationSummary\":\"\",\"nonRedundantSearchPhrases\":[\"teal white pixel art geometric pattern\",\"16x16 symmetrical diamond square cutout\"],\"tags\":[]}]}}","requestId":"9aeb984c7f1d4ff1adaf35a76eed0f81","promptTokens":1983,"responseTokens":512,"totalDurationNanoseconds":2923754400,"elapsedMilliseconds":5729,"reviewedUtc":"2026-08-20T14:14:57.0479261+00:00","tags":[{"tag":"teal","category":"color","confidence":0.8,"evidence":"visible: teal"},{"tag":"white","category":"color","confidence":0.8,"evidence":"visible: white"},{"tag":"diamond shapes","category":"object","confidence":0.8,"evidence":"visible: diamond shapes"},{"tag":"square cutouts","category":"object","confidence":0.8,"evidence":"visible: square cutouts"},{"tag":"triangles","category":"object","confidence":0.8,"evidence":"visible: triangles"},{"tag":"geometric pattern","category":"style","confidence":0.8,"evidence":"visible: geometric pattern"},{"tag":"pixel art","category":"style","confidence":0.8,"evidence":"visible: pixel art"},{"tag":"symmetrical design","category":"style","confidence":0.8,"evidence":"visible: symmetrical design"}],"facts":{"colors":["teal","white"],"composition":["central square with 2x2 cutouts","corner diamonds","repeating background squares"],"denseCaption":["The image is a 16x16 pixel grid. The background consists of alternating teal and white squares forming a repeating pattern. Four large white diamonds occupy each corner, each bordered by teal pixels. A central teal square contains four smaller white squares arranged in a 2x2 grid. Teal triangles fill the spaces between the diamond shapes and the center square. All elements are rendered with hard edges typical of early digital pixel art."],"description":["A static pixel art pattern featuring a symmetrical teal and white geometric design with diamond shapes at corners and square cutouts in the center."],"metadataNotConfirmedByImage":["provenance source-name: Prospect live gallery stackoverflow.com","provenance source-type: prospect-queue"],"metadataOnlyEntities":["provenance source-name: Prospect live gallery stackoverflow.com","provenance source-type: prospect-queue"],"nonRedundantSearchPhrases":["teal white pixel art geometric pattern","16x16 symmetrical diamond square cutout"],"objects":["diamond shapes","square cutouts","triangles"],"style":["pixel art","geometric pattern","symmetrical design"],"wordwall":["16x16 pixel grid","teal and white color scheme","symmetrical pattern","diamond shapes at corners","central 2x2 square cutouts","hard-edged pixels"]}}],"duplicateCluster":{"groupId":1690875,"canonicalSha256":"b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9","duplicateBasis":"singleton","members":[{"sha256":"b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9","relativePath":"icons/b7/b7cfc1b4d39374f53823e3d2ea69bf33ac3d97fa6f253c2fe675490a9aed25f9.img","extension":"img","mediaType":"image/png","width":48,"height":48,"byteLength":806,"frameCount":1,"isAnimated":false,"firstSeenUtc":"2026-07-27T12:49:56.2303927+00:00","matchBasis":"canonical","matchDistance":0,"qualityScore":84.163997,"isCanonical":true}]},"canonicalPath":"/icon/python-how-to-get-only-files-in-directory-stack-overflow--b7cfc1b4d39374f5","tagCounts":{},"typedEvidence":[{"sourceId":"horizon-live-stackoverflow-com-96589e5f7a71","observationId":997056,"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":997056,"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":997056,"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":997056,"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":997056,"value":"34c873a9c6246ce878ed8d11622be884","normalizedValue":"34c873a9c6246ce878ed8d11622be884","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":997056,"value":"34c873a9c6246ce878ed8d11622be884","normalizedValue":"34c873a9c6246ce878ed8d11622be884","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":997056,"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":707865,"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.08891712129116058,"overallLabel":"sfw","assessedUtc":"2026-07-27T12:49:56.7497047+00:00","scores":[{"category":"onnx/sfw","score":0.9110828638076782,"appliedInputTypes":["image"]},{"category":"onnx/unsafe","score":0.08891712129116058,"appliedInputTypes":["image"]},{"category":"onnx/nsfw","score":0.0548543818295002,"appliedInputTypes":["image"]},{"category":"onnx/nsfl","score":0.03406273573637009,"appliedInputTypes":["image"]}]}],"publicTags":[{"namespace":"depicts","value":"diamond shapes","namespaceLabel":"Depicts","qualifiedValue":"Depicts: diamond shapes","countKey":"Depicts: diamond shapes","searchPath":"/#tag=diamond%20shapes&facet=depicts"},{"namespace":"depicts","value":"square cutouts","namespaceLabel":"Depicts","qualifiedValue":"Depicts: square cutouts","countKey":"Depicts: square cutouts","searchPath":"/#tag=square%20cutouts&facet=depicts"},{"namespace":"depicts","value":"triangles","namespaceLabel":"Depicts","qualifiedValue":"Depicts: triangles","countKey":"Depicts: triangles","searchPath":"/#tag=triangles&facet=depicts"},{"namespace":"style","value":"geometric pattern","namespaceLabel":"Style","qualifiedValue":"Style: geometric pattern","countKey":"Style: geometric pattern","searchPath":"/#tag=geometric%20pattern&facet=style"},{"namespace":"style","value":"pixel art","namespaceLabel":"Style","qualifiedValue":"Style: pixel art","countKey":"Style: pixel art","searchPath":"/#tag=pixel%20art&facet=style"},{"namespace":"style","value":"symmetrical design","namespaceLabel":"Style","qualifiedValue":"Style: symmetrical design","countKey":"Style: symmetrical design","searchPath":"/#tag=symmetrical%20design&facet=style"},{"namespace":"color","value":"teal","namespaceLabel":"Color","qualifiedValue":"Color: teal","countKey":"Color: teal","searchPath":"/#tag=teal&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":{"diamond shapes":"/tags/diamond-shapes","triangles":"/tags/triangles","geometric pattern":"/tags/geometric-pattern","pixel art":"/tags/pixel-art","symmetrical design":"/tags/symmetrical-design","teal":"/tags/teal","white":"/tags/white"}}