May-13-2020, 03:19 PM
(May-13-2020, 06:12 AM)mds Wrote: the UNC error persists.That's has more to do with that with cmd support for UNC paths,and not VS Code.
Also UNC path are network paths,so that's a path you point to.
\\ad.monash.edu\home\User094\symonds\Documents\Python-Exercises\Exercise FilesA local path has a drive letter is the more normal way to store Exercise Files python files.
Example:
C:\Python-Exercises\Exercise FilesUNC path may work or not deepening on setup network ect...
It work for me on my local setup at home,now do i use cmder but also work in cmd for me.
C:\code λ python "\\Tom-pc1\e\div_code\humansize.py" 1.0 TB 931.3 GiBOr in VS Code with
"python": "$pythonPath $fullFileName",
Output:[Running] C:\python37\python.exe "\\Tom-pc1\e\div_code\humansize.py"
1.0 TB
931.3 GiB
[Done] exited with code=0 in 0.366 seconds
With "code-runner.showExecutionMessage": false,
Output:1.0 TB
931.3 GiB