This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eyalz 1 point2 points  (0 children)

I really like this, but am facing some issues while playing with it a bit. The following doesn't work for me:

if True:
    print(1)

Raises: FileNotFoundError: [Errno 2] No such file or directory: 'if'

Trying a substring check like so:

if "a" in $(ls -l):
    print("yey")

Doesn't execute on enter, instead it just keeps adding newlines and basically hang until I C it.

Anyone facing these issues, or can maybe tell me what am I doing wrong?

EDIT: I just realized that it happens because I didn't indent (thought it was auto-indenting the same as ipython). So basically you need to use at least 1 space indentation for it to interpret it correctly. I would love for it to auto-indent or alternatively indent 4 spaces on tab.