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
Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license()" for more information. >>> from daedalus import Maze >>> maze = Maze(63, 63) >>> maze.create_perfect() >>> maze.resize(31, 61) >>> maze.create_perfect() >>> maze.save_bitmap('test.bmp') Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> maze.save_bitmap('test.bmp') File "daedalus/_maze.pyx", line 1626, in daedalus._maze.Maze.save_bitmap (daedalus/_maze.cpp:9643) TypeError: expected bytes, str found >>> maze.save_text('test.txt') Traceback (most recent call last): File "<pyshell#6>", line 1, in <module> maze.save_text('test.txt') File "daedalus/_maze.pyx", line 1646, in daedalus._maze.Maze.save_text (daedalus/_maze.cpp:9843) TypeError: expected bytes, str found >>>
The text was updated successfully, but these errors were encountered:
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
>>> from daedalus import Maze
>>> maze = Maze(63, 63)
>>> maze.create_perfect()
>>> maze.resize(31, 61)
>>> maze.create_perfect()
>>> maze.save_bitmap('test.bmp')
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
maze.save_bitmap('test.bmp')
File "daedalus/_maze.pyx", line 1626, in daedalus._maze.Maze.save_bitmap (daedalus/_maze.cpp:9643)
TypeError: expected bytes, str found
>>> maze.save_text('test.txt')
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
maze.save_text('test.txt')
File "daedalus/_maze.pyx", line 1646, in daedalus._maze.Maze.save_text (daedalus/_maze.cpp:9843)
TypeError: expected bytes, str found
>>>
The text was updated successfully, but these errors were encountered: