Syntax error

Joined
Nov 14, 2024
Messages
2
Reaction score
0
I am using notebook as my editor. When I copy "any two statements" like

a=5

print (a)

to the interpreter and run it, I get the message SyntaxError: multiple statements found while compiling a single statement.

If I enter the same satements directly into the interpreter, it is accepted

PLEASE HELP !!!
 
Joined
Mar 29, 2025
Messages
48
Reaction score
0
Carousel:
orientation: 'horizontal'
BoxLayout:
size_hint: None, None
size: self.size
# Loop through image paths in Python file, not KV
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,342
Messages
2,571,406
Members
48,796
Latest member
katerack

Latest Threads

Top