#๐ python3 vs python alias
27 messages ยท Page 1 of 1 (latest)
@karmic nymph
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
python3 was never for windows
you could probably do that custom, but why?
the best way on windows is actually to use py
i thought python3 was a default command maybe im schizophrenic
what OS is it for then
python3 was/is to avoid name conflict with the system python on Unix oses
just one for now
if you ever intend on having multiple installed, I can help you set yourself up for success
In almost all cases you should be using py on Windows
so py project.py uses the lastest version of python you have installed
py -3 project.py ensures you use python 3
py -3.12 project.py would ensure python 3.12
etc.
similarly, py -3.13 -m pip install library
adding python to PATH is usually not a good idea unless you have a good reason not to use virtual environments
(that's why the option is unchecked by default)
i see, thanks all!
if you do remove python from the path and use py, then also remove the App Execution Aliases for python and python3
otherwise it will prompt you to open the windows store when you run them
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.