Skip to content

Can't give input when user runs python script #6

@Moosems

Description

@Moosems

I was hoping to use this for a personal IDE made in tkinter but when I try to run a python script that has an input command it gives the error:
"Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/init.py", line 1892, in call
return self.func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tkterminal/ternimal.py", line 203, in _on_keypress
or ((insert_idx.column <= self._limit_backspace or False)
TypeError: '<=' not supported between instances of 'int' and 'NoneType'"

Not only this, but when I use the command "python" it also gives that error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions