Jump to content

Recommended Posts

Acum 38 minute, bumxd a spus:

Hello, after last update packets windows 10, the function python is os.listdir don't work, give error what can't find directory.. but on other version windows all perfect works. So for which function can change os.listdir? 

P.s I want does white list all files from client, and  check files in client folder, if have file which don't have in white list then delete this file. And without function os.listdir I don't know how does this.. have anybody idea?

Python developers no longer support python2.7
Most likely, this is a bug that will never be solved because it no longer creates patches for bug fixes.

 

http://bfy.tw/Iylm

https://www.saltycrane.com/blog/2010/04/options-listing-files-directory-python/

 

  • Love 1
Link to comment
Share on other sites

  • Bot
21 minutes ago, bumxd said:

on which version?

Well, you can try to update on version 2.7.15 which is one of the stable versions and there are not that much changes like in 3.7.0.
If that won't help, you would try 3.7.0, but be aware of there are a lot changes, here is a previous topic where we've been discussing about thing related.

 

english_banner.gif

Link to comment
Share on other sites

 

On 7/11/2018 at 8:29 PM, Chyu ^^ said:

Well, you can try to update on version 2.7.15 which is one of the stable versions and there are not that much changes like in 3.7.0
If that won't help, you would try 3.7.0, but be aware of there are a lot changes, here is a previous topic where we've been discussing about thing related.

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.