#🔒 python guide for regular people
185 messages · Page 1 of 1 (latest)
@zealous swan
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.
Okay I will
!res try to go through these resources and see if they are good for you
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Are you new new or kinda new
Like you know basics or nah
I've never used python before
Use cs50 harvard courses (free) and automiseboringstuff (book also free)
are those videos?
Yep
I don't have a direct link to a video but there are full python courses on youtube which will help you learn the basics and then go through some other course / make your own projects, you'll learn a lot
and if you encounter any problems / you don't understand something ask here and a lot of people will help you
What does no such file/directory mean?
it means from the directory you are running the program you can't see the file you're trying to access, its like looking for an image that is in documents when you are in downloads
you have to move to that location or you have to move the file to your location
how do I do that?
write cd "directory where is your python file"
and then python yourfilename.py
"The system cannot find the path specified"
copy the whole path
I did
including the c: on the start or d: anything u have there
yep
and did you remove the filename?
bad: cd "c:\users\...\file.py"
good: cd "c:\users\...\"
I'm lost now
I don't know
Did you save your file ?
what file?
Python file
I have python installed
Your project
create a file:
test.py
write print("hello world") inside
and run it using python test.py
it will execute everything inside of test.py
How?
no
yes
off-topic question but can I still join jam?
nope, it has ended and the results are out, next jam will be in 6months to 1 year, watch the announcement channel
Thank you
Can you leave? I'm trying to get help here
I asked one question off topic
okay, you want to follow some tutorial on basic python, it will show you how to create and edit a python file
link?
then when you have it, it will show up in file explorer
then you can run it with console
search up python tutorial on youtube, any tutorial should show it
please slow down I have no idea what those words mean
sorry
what exactly do I search up?
start with zhis
how to make a file with python?
!res
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Download vscode
you can search how to make hello world in python and it should tell you easy steps
wtf is hello world?
Words
can we please stick to one thing at a time?
its the first program you are going to run
you are going to make a program that says hello world!
Also kiddo you're not being helpful so please stop replying
Can u provide link for this free course
zenon, ima respond every minute or two cause I have a lesson if you don't mind
You can find it by yourself
you're the only one actually helping so I don't mind
alr, gimme a minute
thank you
@misty gate bro I am tryed that but it's paid so I feel u okay , if u want to do help then do okay ?
okay so what you want to do first is install a text editor so you can write code
Automate the Boring Stuff is a really good book for complete beginners and it's free to read online: https://automatetheboringstuff.com/#toc
If you prefer to watch video tutorials Corey Schafer's playlist is also really good: https://www.youtube.com/playlist?list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7
I also recommend Harvard’s free online course, CS50P: Introduction to Programming with Python: https://pll.harvard.edu/course/cs50s-introduction-programming-python
This is an alternative online course with lots of integrated practice problems you can do directly in the browser: https://programming-25.mooc.fi/
I recommend installing visual studio code (VSCode)
tell me when you got it @zealous swan
It's installed
nice open it now
it's open
now, open file explorer, create a folder called python on desktop
and in the vscode you want to "open folder" and select that folder
this will be the place where you have your python projects
nice, right click on the left bar and create a file, name it file.py
if theres a popup to install recommended python extension, install it
nothing happens when I right click
see what?
I don't have an option to create a file
do this, I'll help from here
You see file on left up corner ?
In vscode
Idk why you said to right click I just went to file and made it
my bad, I create it using right click and new file
but now
Create now dawg
write
print("hello world!")
into the file and gimme a sec
Type thing like print(“hello world”)
done
save it with ctrl + s
the white dot on the top (next to the file name) should disappear
okay
turn on auto save
I never had a white dot
can you send a screenshot of what you see on the screen?
It’s much more easier
I can take a pic with my phone
Why you hate auto save
I don't hate it, it's a good habbit to save your files manually, and if you mess up you can revert more easily
this is perfect
How is this supposed to help me install?
do you see a triangle to run the file on the right top of the screen?
No
this is supposed to help you code
It’s like ➡️
I’m trying to install not code
wait what are you trying to install
A program
Bruh
why did you say you wanted a python guide ?
so I can install a program
every program has its own install process, you need to follow that
What program tho
python guide for regular people sounds like you wanted to learn how to code
you need to say how to install a programm
if you don't want to learn how to code you can uninstall the vscode
Mira
I still can’t understand what point of all this
He just wanted python ?
when I try to run the program it says no such file or directory found
install some program
when I try to install it says program already installed
okay, open the program location in file explorer
how?
what are you trying to install
I've got no context to work with here
if its a program you need to run python file.py
if its something else like an exe you need to double click it
when I run it says no file or directory
Just tell us what are you trying to download
could you give more info?
It will be so much easier if you do
yes because it doesn't exist, you need to run it inside the correct location
how?
- open file explorer
- navigate to where you installed it
- click the navigation bar so you can type there
- type cmd and press enter
- run python programname.py
I don't know where it was installed
program
😭 what is the name of the program
This help channel has been closed. 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.
