You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the function listdir() to get file list, if there is a path in url, the method will return an extra path name.
There is a test directory in my root path:
My code attempts to obtain a list of files in the test directory:
When I execute the function
listdir()
to get file list, if there is a path in url, the method will return an extra path name.There is a test directory in my root path:
My code attempts to obtain a list of files in the test directory:
I expected to only get 'c.txt' and 'd. txt', but now I will get an extra 'test':
The text was updated successfully, but these errors were encountered: