MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1lwen3q/what_is_wrong_here/n2dtmrw/?context=9999
r/PythonLearning • u/secretsuperstar44 • Jul 10 '25
51 comments sorted by
View all comments
2
How are we supposed to know when you didn't show us anything else other than four lines of code?
What did the program do? Any errors? Wrong output?
2 u/secretsuperstar44 Jul 10 '25 Nothing, it saysSyntax Error, in file 'main' at line one, column 20And when I remove this : , it saysWarning: first_function is not a function, in file "main" at line 4, column 16 2 u/D3str0yTh1ngs Jul 10 '25 The syntax error is the same I get when it is set to microscript 2.0. If you pull out the divider between the code area and the file list it should show the active language 0 u/secretsuperstar44 Jul 10 '25 8 u/D3str0yTh1ngs Jul 10 '25 I have replicated your problem:Start in microscriptrun the programswitch to another fileswitch programming language to pythonswitch to main file and write codeerror since the interpreter sees change in running file and reruns it (as microscript since that is how it ran earlier)Solution: Restart button 4 u/secretsuperstar44 Jul 10 '25 AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
Nothing, it says
Syntax Error, in file 'main' at line one, column 20
And when I remove this : , it says
Warning: first_function is not a function, in file "main" at line 4, column 16
2 u/D3str0yTh1ngs Jul 10 '25 The syntax error is the same I get when it is set to microscript 2.0. If you pull out the divider between the code area and the file list it should show the active language 0 u/secretsuperstar44 Jul 10 '25 8 u/D3str0yTh1ngs Jul 10 '25 I have replicated your problem:Start in microscriptrun the programswitch to another fileswitch programming language to pythonswitch to main file and write codeerror since the interpreter sees change in running file and reruns it (as microscript since that is how it ran earlier)Solution: Restart button 4 u/secretsuperstar44 Jul 10 '25 AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
The syntax error is the same I get when it is set to microscript 2.0. If you pull out the divider between the code area and the file list it should show the active language
0 u/secretsuperstar44 Jul 10 '25 8 u/D3str0yTh1ngs Jul 10 '25 I have replicated your problem:Start in microscriptrun the programswitch to another fileswitch programming language to pythonswitch to main file and write codeerror since the interpreter sees change in running file and reruns it (as microscript since that is how it ran earlier)Solution: Restart button 4 u/secretsuperstar44 Jul 10 '25 AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
0
8 u/D3str0yTh1ngs Jul 10 '25 I have replicated your problem:Start in microscriptrun the programswitch to another fileswitch programming language to pythonswitch to main file and write codeerror since the interpreter sees change in running file and reruns it (as microscript since that is how it ran earlier)Solution: Restart button 4 u/secretsuperstar44 Jul 10 '25 AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
8
I have replicated your problem:
Start in microscript
run the program
switch to another file
switch programming language to python
switch to main file and write code
error since the interpreter sees change in running file and reruns it (as microscript since that is how it ran earlier)
Solution: Restart button
4 u/secretsuperstar44 Jul 10 '25 AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
4
AAHHHH IT WORKED THANK YOU SO MUCHH o((^▽^))o
2
u/Party_Trick_6903 Jul 10 '25
How are we supposed to know when you didn't show us anything else other than four lines of code?
What did the program do? Any errors? Wrong output?