#๐ First time using Python
26 messages ยท Page 1 of 1 (latest)
@bronze sonnet
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.
did you make a program that prints hello world
no. i dont even know how to do that
write a program that causes the text "Hello, world!" to display on the console.
If you do not do this first, the gods will prevent you from learning programming.
ok, well if I don't know how to do that where can I go? There is a "IDLE" and just "Python" on my desktop, which one do i open?
I would assume python, but again I don't know what I'm doing
IDLE is a code editor. so that one.
thanks!
if you try to run "Python" by itself, it will wonder which .py file you're asking it to execute.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
try following one of the beginner books on here.
well i figured out how to do this kind of, i got the code down but its not letting me run it, i saved the file and when i click on it it just comes up with a black screen and immediately closes
what OS are you on?
windows
I recommend downloading this and using it as your shell https://cmder.app/
cmder is software package that provides great console experience even on Windows
whats a shell?
the shell of the operating system
it's what you use to run commands. like commands that run python programs.
but if windows already has a shell, why can't I use that?
its called powershell right?
powershell has a windows-specific shell language, so it's easier as a beginner to use a bash shell, which is universal.
oh ok, i'm getting it now, thank you!
some very basic commands are the same in both powershell and bash. and then there are others that are different for seemingly no reason.
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.
๐ First time using Python