Piet programming (python programming language )

18 replies · 6K views · last reply
Steven Ellet
Messages
85
Reaction score
3
Where or how can I get Piet programming to to work on windows 10 I don't care how, only that I can program in Piet offline and NOT a trial. I have gone around the block and come so close to getting it, and then, something doesn't add up. The closest I have come to getting it to work is here: http://pastebin.com/zxc9V3UX
I used Microsoft Visual Studio Version Selector and https://www.python.org/downloads/ and I'm still stuck.
Error occurs on line 59: filename = raw_input()
Here is one example of Piet: http://www.rapapaing.com/blog/?page_id=6
Piet Programming language Tutorial:
 
I typed "piet interpreter" into google, and the first hit has a win32 download.

http://www.bertnase.de/npiet/

Or did i misunderstand your question?

P.S. I never heard of piet before. Damn that's weird! Cool!
 
@pilofrogs You did not misunderstand the question. However I have already tried the obviously google searches.
 
Did you try npiet for win32? If it doesn't work for you, what's not working? What others have you tried?
 
pilofrogs said:
Did you try npiet for win32? If it doesn't work for you, what's not working? What others have you tried?
I have tried over a dozen with no luck. With "npiet for win32", as with many, I do not have any way to handle the file types:
FOO
OUT
file
shell script
in file
c source
Y file
all of these I can not handle and even if I could how would they interact with each other?
PS all of these came from " npiet for win32"
 
Hmm... those don't sound like file types that npiet would want. It wants image files, like png or gif. Where does your list of file types come from? Are you running npiet from the command line? If not, please try it that way. Did you try the debug option?
 
pilofrogs said:
Hmm... those don't sound like file types that npiet would want. It wants image files, like png or gif. Where does your list of file types come from? Are you running npiet from the command line? If not, please try it that way. Did you try the debug option?
I download the file and opened it and looked at file exporter and that was some of what I found. In addition, NO executable files.
 
pilofrogs said:
I think you downloaded the wrong thing. I just downloaded http://www.bertnase.de/npiet/npiet-1.3a-win32.zip and it contains npiet.exe among others.
It seems I had the wrong thing so i dowloaded the right one, but when when run it (from windows explorer and cmd) all that happens is a flicker and then nothing
Windows Command Prompt window titled Administrator: C:\WINDOWS\system32\cmd.exe showing repeated attempts to run npiet-foogol from the npiet-1.3a-win32 folder, with no error output.
 
Why are you running npiet-foogol: do you have a foogol program you want to convert?

To run one of the examples type
Code:
npiet examples/loop.gif
 
pilofrogs said:
What about npiet.exe? Same thing?
there is also a npiet-start.bat but it has the same output
Windows Administrator Command Prompt showing the output of running npiet with no filename, listing its usage line and option flags such as -v, -q, -e, -t, -ub, -uu, -cs, -tpic and -tpf.
Windows Administrator Command Prompt showing the npiet 1.3 usage text: options for verbose, quiet, trace, unknown colours, codel size, trace picture, debug and related switches, followed by the prompt in the npiet-1.3a-win32 folder.
Windows Administrator Command Prompt showing the npiet v1.3 help output listing its command-line options such as -v, -q, -e, -t and -ub, after changing to the npiet-1.3a-win32 folder.
 
Type what I said at that prompt.
 
MrAnchovy said:
Why are you running npiet-foogol: do you have a foogol program you want to convert?

To run one of the examples type
Code:
npiet examples/loop.gif

npiet examples/loop.gif just outputs
10
9
8
7
6
5
4
3
2
1
 
That's the output of the program encoded in that image, what did you expect to see?
 
MrAnchovy said:
That's the output of the program encoded in that image, what did you expect to see?
Perhaps you do not understand what I want. the following link will give you the option to download "Piet Mondrian Composer" which is a trial, otherwise it or a similar program is what I want.
http://piet-mondrian.en.softonic.com/
 
Steven Ellet said:
Perhaps you do not understand what I want. the following link will give you the option to download "Piet Mondrian Composer" which is a trial, otherwise it or a similar program is what I want.
http://piet-mondrian.en.softonic.com/
I don't think you understand what that program does: it is nothing to do with the Piet programming language. You do realize that that language is just an elaborate joke?