You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a piece of tabbed code is sent to terminal with Python then it runs OK, but when exactly the same code is sent to terminal with IPython, then Geany adds extra indentation to each line.
Example: code in Terminal with Python:
def my_function(x):
#bla-bla-bla
y = x + x
return x
while the same code sent in Terminal with IPython appears as
def my_function(x):
#bla-bla-bla
y = x + x
return y
which results in IndentationError: unexpected indent
The text was updated successfully, but these errors were encountered:
When a piece of tabbed code is sent to terminal with Python then it runs OK, but when exactly the same code is sent to terminal with IPython, then Geany adds extra indentation to each line.
Example: code in Terminal with Python:
while the same code sent in Terminal with IPython appears as
which results in
IndentationError: unexpected indent
The text was updated successfully, but these errors were encountered: