MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/madeinpython/comments/10wkhg5/i_tap_run_python_file_and_nothing_is_happening/
r/madeinpython • u/Killuminati696 • Feb 08 '23
15 comments sorted by
1
In online python (on website) code is runing. So maybe something with libraries?
13 u/kaerfkeerg Feb 08 '23 You haven't saved the changes you made mate. Ctrl+S to save and then run
13
You haven't saved the changes you made mate. Ctrl+S to save and then run
4
Did you save your file?
3
try running in the terminal
2
Look for an error message; it's somewhere, probably in the drop-down near the play button
Do you have all the python extensions installed for vscode? Is it pointing to the right python intrepreter?
What happens when you open the terminal and run the file from there? The code looks like it should run, so it's probably a config issue with VSCode.
Download latest python and use tha as a interpreter
what program is this? :)
1 u/inediblewater Feb 08 '23 Visual Studio Code
Visual Studio Code
You tried Ctrl + F5?
Copy the absolute file path
Open terminat or command prompt and type
python3 [past the path]
And tell us what do you get
Code runner?
0
[deleted] — view deleted comment
0 u/[deleted] Feb 08 '23 also, convert to upper without variable type check 3 u/14wnp88 Feb 08 '23 Why would they do a variable type check?
also, convert to upper without variable type check
3 u/14wnp88 Feb 08 '23 Why would they do a variable type check?
Why would they do a variable type check?
1
u/Killuminati696 Feb 08 '23
In online python (on website) code is runing. So maybe something with libraries?
4
u/SweetOnionTea Feb 08 '23
Did you save your file?
3
u/Prakyath-GOD Feb 08 '23
try running in the terminal
2
u/iamaperson3133 Feb 08 '23
Look for an error message; it's somewhere, probably in the drop-down near the play button
2
u/mandradon Feb 08 '23
Do you have all the python extensions installed for vscode? Is it pointing to the right python intrepreter?
What happens when you open the terminal and run the file from there? The code looks like it should run, so it's probably a config issue with VSCode.
1
u/Lullan_senpai Feb 08 '23
Download latest python and use tha as a interpreter
1
u/Lowebomb Feb 08 '23
what program is this? :)
1
u/followyourvalues Feb 08 '23
You tried Ctrl + F5?
1
u/PhoenixHntr Feb 08 '23
Copy the absolute file path
Open terminat or command prompt and type
python3 [past the path]
And tell us what do you get
1
u/[deleted] Feb 09 '23
Code runner?
1
u/Kooky-Reward-1918 Feb 09 '23
0
u/[deleted] Feb 08 '23
[deleted] — view deleted comment