Hi everyone!
I just began learning about python and utilizing sublime text (ST) so thank you in advanced for your patience.
The context of this request is that I’m trying to run a simple code in ST - print(‘hello world’).
However, when I try to save it as a python file on my desktop (by scrolling on the file type after save-file-as, and manually clicking it), it doesn’t save it as a .py file. The syntax highlighting doesn’t come up and when I try to run the program in CMD, it doesn’t work.
When I manually save it as a .py file by typing in .py at the end of the file name, then ST recognizes it as a python file. I can then run the program in CMD.
Is this something I need to be worried about?
I “think” this is because I’m on my work laptop, and they made our desktops all virtual (OneDrive).
I just switched work laptops and on my old one, I was able to locate the local desktop directory but for the new laptop, I can’t seem to find it and have confirmed with my IT that they prohibited users from accessing it.
To summarize, my questions are:
- Can I designate a different folder so that ST saves files as PY when I scroll down to select the file type?
- Is there a way to locate the local desktop directory?
- Should I just continue to manually type in .py at the end of every file?