bumxd 16 Posted July 10, 2018 Share Posted July 10, 2018 # Link to comment Share on other sites More sharing options...
ridetpro 116 Posted July 10, 2018 Share Posted July 10, 2018 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/ 1 Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 11, 2018 Author Share Posted July 11, 2018 On 7/11/2018 at 12:13 AM, ridetpro said: Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted July 11, 2018 Active Member Share Posted July 11, 2018 Do it yourself via C++ API; https://stackoverflow.com/questions/612097/how-can-i-get-the-list-of-files-in-a-directory-using-c-or-c Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 11, 2018 Author Share Posted July 11, 2018 49 minutes ago, Koray said: Do it yourself via C++ API; https://stackoverflow.com/questions/612097/how-can-i-get-the-list-of-files-in-a-directory-using-c-or-c in answer your link - need know directory where client, but player can unpack client in any folder.. C:\ D:\ ... Link to comment Share on other sites More sharing options...
Endymion 319 Posted July 11, 2018 Share Posted July 11, 2018 1 hour ago, bumxd said: in answer your link - need know directory where client, but player can unpack client in any folder.. C:\ D:\ ... https://stackoverflow.com/questions/875249/how-to-get-current-directory Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 11, 2018 Author Share Posted July 11, 2018 On 7/11/2018 at 12:22 PM, Endymion said: Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4866 Posted July 11, 2018 Bot Share Posted July 11, 2018 Or just update your Python version? Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 11, 2018 Author Share Posted July 11, 2018 1 hour ago, Chyu ^^ said: Or just update your Python version? on which version? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4866 Posted July 11, 2018 Bot Share Posted July 11, 2018 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. Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 11, 2018 Author Share Posted July 11, 2018 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 More sharing options...
bumxd 16 Posted July 12, 2018 Author Share Posted July 12, 2018 # Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 13, 2018 Author Share Posted July 13, 2018 # Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now