#đź”’ Funny Problem
67 messages · Page 1 of 1 (latest)
@wraith pivot
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.
I just want to write any code and run it then it’s work
send what it says in the terminal (the whole thing, as text)
PS C:\Users\Admin\Ammar1.py> python -u "c:\Users\Admin\Ammar1.py\yaseer.py"
i just wrote print("hello") and thats what i got
PLZ HELP ME GUYS
if i type ANYTHING in vs code i got this message
.
Beep boop
what message do you get?
i'm asking since i don't see any output at all on the console other then that you get the prompt back
PS C:\Users\Admin\Ammar1.py> python -u "c:\Users\Admin\Ammar1.py\yaseer.py"
I change settings to automatically terminal not output
check the output tab instead then
it's strange that you neither get any output nor error message
did u saved the file?
I solve the problem but now I can’t run it until I press ctrl f5 if I use the run button it won’t work
How I can solve this one
simple, run it through the terminal
That’s I do
It won’t work until I press ctrl f5
If I use the button it won’t work
py file.py or
python file.py or
python3 file.py
When I change the code and press run button nothing happened but if I press ctrl f5 it work
Like I change the name from ammar to Omar and nothing happened
And it print the previous name
Not the new one
Until I press ctrl f5 it will run it with the name
you need to save your code before running it
ctrl + s
see this white dot by your file? this means its unsaved
Save it everytine before running?
Time*
Or it’s only 1 time?
Because I used to use vs 2 years ago it wasn’t like that
It works but I need to save it every time?
It wasn’t like that I think
There isn’t like auto save settings or something like that
every change u want to apply u need to save
auto save does exist, but many programmers, me included, dont advise using the auto saving feature, it causes problems every now and then
I believe 2 years ago when I used to use vs it was auto save
So any change I want to do it after I finished it I save it?
yes
i save the file after every line i write just out of habit, very good incase your computer or IDE decides to crash in the middle of coding
Yea I get it
But for me as a beginner auto save it better I think
But I want to ask you question
again, i advise against the usage of auto save
I wouldn’t say I am beginner cuz I used python for months 2 years ago
shoot
practice, practice, practice
gonna steal daggers response from another post since its very good
try to make a simple terminal based calculator to freshen up your memory, if you dont remember the syntax you can search it up
©️
Yea I think that is the best I can do
I appreciate your help guys @pliant sail @strange sorrel ❤️
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.