Closed yonghuming closed 8 years ago
Traceback (most recent call last): File "D:\coding\pty\pty.py", line 19, in stream = pyte.Stream(screen) TypeError: init() takes exactly 1 argument (2 given) [Finished in 0.1s]
Try that:
stream = pyte.Stream() stream.attach(screen)
@demiurg906 thanks!
@yonghuming we've changed the API quite a bit in the master version. If you're using the latest stable version, please take a look at 0.5.2 examples and docs.
master
Traceback (most recent call last): File "D:\coding\pty\pty.py", line 19, in
stream = pyte.Stream(screen)
TypeError: init() takes exactly 1 argument (2 given)
[Finished in 0.1s]