No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, I try to copy tree by shutil.copytree(). While the function run, I get some Exception "File name too long". The path+fike name are realy long, and the exception as I understand is from the OS not Python. Do you have any solution? * I can not change the directory … |
|
Re:
Hi I am trying to delete a folder but I get the error message: "Cannot delete file: Cannot read from the source file or disk." I also cannot move, copy or cut & paste it. I can, in the same location, create a folder with exactly the same name (strange!) … |
|
Re:
I have this to find the path: [CODE] System.IO.FileInfo path = new FileInfo(com.Substring(5)); string fullpath = path.FullName; [/CODE] But that returns the path of the console app + whatever i type. (e.g. C:\users\RILEY\Desktop\....\....\....\+(com.substring(5))) What I want to happen is when i enter: ./$ cat log.txt The console app writes what … |