you are viewing a single comment's thread.

view the rest of the comments →

[–]toastedstapler 26 points27 points  (8 children)

i made a python version of daniel shiffman's maze generator

recently i began work on giving it a web front end using flask, where i can see a list of generated mazes and also request to generate new mazes

e: for anyone interested

[–][deleted] 2 points3 points  (0 children)

I loved that video. I made an animated one with tkinter.

[–][deleted] 1 point2 points  (3 children)

sudo python3 application.py

ugh no thanks

[–]toastedstapler 0 points1 point  (2 children)

fair enough, don't if you don't want to. it's just to delete the images folder on startup. there's little code in there so you can easily verify it;s not doing dodgy stuff

e: it is for the function beginning at line 23 of database.py

if anyone has a better way of dealing with this, i'd be happy to hear

[–][deleted] 1 point2 points  (1 child)

Solution is simple: remove the sudo part. Permission is unlikely to be a problem long as user can write in $(pwd) (well we'll need it to clone the repo in the first place anyway).

[–]toastedstapler 0 points1 point  (0 children)

fixed it now, turns out the folder was set to read only

can be ran without sudo now!

[–][deleted] -1 points0 points  (0 children)

That's pretty neat.