Apr-03-2020, 09:34 AM
Hello everyone,
I am using Python3.6.3 on a Windows OS
what i would like know after searching and not finding the right answer on google, how to make the directory in any folder? to explain more:
I usually start the cmd then type cd C:\Python3.6.3 and enter to load python
but if i try to save any file using python code, this file will be saved in "C:\Python3.6.3" ! I don't want that ! what i want for example to save the file on desktop in a folder let's say called "pythonProjects"
so how can i do that when my python is installed in the C:\Python3.6.3 folder ?
Thanks in advance :)
I am using Python3.6.3 on a Windows OS
what i would like know after searching and not finding the right answer on google, how to make the directory in any folder? to explain more:
I usually start the cmd then type cd C:\Python3.6.3 and enter to load python
but if i try to save any file using python code, this file will be saved in "C:\Python3.6.3" ! I don't want that ! what i want for example to save the file on desktop in a folder let's say called "pythonProjects"
so how can i do that when my python is installed in the C:\Python3.6.3 folder ?
Thanks in advance :)