In the past I’ve used Python 3.10 and I’m guessing those installations automatically came with Idle.
Today, on a new machine I’ve installed Python 3.13 – but as near as I can tell Idle has not been installed. The Python 3.13 shell operates in a non-convenient directory – the directory where the Python program was installed. C:Users<username>AppDataLocalProgramsPythonPython313
Simple directory commands (such as listing files & directories, and changing directories) in the Python 3.13 shell is either pain or gives error messages. I used import os and commands such as os.chdir(). There’s got to be a better way.
I’d rather store and run my *.py code from the normal Documents directory. I need help either setting up what I have to work in the Documents directory or help installing Idle which seems to be missing from this package.
Thoughts?
EDIT: Okay, here’s how I changed the directory.
import os
os.chdir(r”<path>”)
EDIT: I can’t run any py script. I’m in my Documents directory. ‘py’ is not defined. Every little thing with python is just broken.
submitted by /u/Sensitive_Row8679
[link] [comments]
r/learnpython In the past I’ve used Python 3.10 and I’m guessing those installations automatically came with Idle. Today, on a new machine I’ve installed Python 3.13 – but as near as I can tell Idle has not been installed. The Python 3.13 shell operates in a non-convenient directory – the directory where the Python program was installed. C:Users<username>AppDataLocalProgramsPythonPython313 Simple directory commands (such as listing files & directories, and changing directories) in the Python 3.13 shell is either pain or gives error messages. I used import os and commands such as os.chdir(). There’s got to be a better way. I’d rather store and run my *.py code from the normal Documents directory. I need help either setting up what I have to work in the Documents directory or help installing Idle which seems to be missing from this package. Thoughts? EDIT: Okay, here’s how I changed the directory. import os os.chdir(r”<path>”) EDIT: I can’t run any py script. I’m in my Documents directory. ‘py’ is not defined. Every little thing with python is just broken. submitted by /u/Sensitive_Row8679 [link] [comments]
In the past I’ve used Python 3.10 and I’m guessing those installations automatically came with Idle.
Today, on a new machine I’ve installed Python 3.13 – but as near as I can tell Idle has not been installed. The Python 3.13 shell operates in a non-convenient directory – the directory where the Python program was installed. C:Users<username>AppDataLocalProgramsPythonPython313
Simple directory commands (such as listing files & directories, and changing directories) in the Python 3.13 shell is either pain or gives error messages. I used import os and commands such as os.chdir(). There’s got to be a better way.
I’d rather store and run my *.py code from the normal Documents directory. I need help either setting up what I have to work in the Documents directory or help installing Idle which seems to be missing from this package.
Thoughts?
EDIT: Okay, here’s how I changed the directory.
import os
os.chdir(r”<path>”)
EDIT: I can’t run any py script. I’m in my Documents directory. ‘py’ is not defined. Every little thing with python is just broken.
submitted by /u/Sensitive_Row8679
[link] [comments]