Python Forum
unable to list files in a directory
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to list files in a directory
#1
Hi,

I'm unable to read/list the files in a directory (in windows OS), as the directory contains more than 1 lakhs files (almost 1,56,000 files).

Can anyone suggest a way to do this?

Thanks,
Christober
Reply
#2
Permission Error?

Post your code and the error message.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
1,56,000 files?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  unable to remove all elements from list based on a condition sg_python 4 2,581 Apr-11-2026, 05:22 AM
Last Post: logansummers
  deleting files in program files directory RRADC 6 6,649 Aug-21-2024, 06:11 PM
Last Post: snippsat
  Filer and sort files by modification time in a directory tester_V 5 4,100 May-02-2024, 05:39 PM
Last Post: tester_V
  Loop through all files in a directory? Winfried 10 8,670 Apr-23-2024, 07:38 PM
Last Post: FortuneCoins
  uploading files from a ubuntu local directory to Minio storage container dchilambo 0 2,074 Dec-22-2023, 07:17 AM
Last Post: dchilambo
Question mypy unable to analyse types of tuple elements in a list comprehension tomciodev 1 2,815 Oct-17-2023, 09:46 AM
Last Post: tomciodev
  change directory of save of python files akbarza 3 6,333 Jul-23-2023, 08:30 AM
Last Post: Gribouillis
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 11,603 Jun-27-2023, 01:17 PM
Last Post: diver999
  Monitoring a Directory for new mkv and mp4 Files lastyle 3 3,560 May-07-2023, 12:33 PM
Last Post: deanhystad
  list the files using query in python arjunaram 0 1,474 Mar-28-2023, 02:39 PM
Last Post: arjunaram

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020