Computer Science Canada

turing to python

Author:  Notthebbq [ Tue May 03, 2011 7:48 am ]
Post subject:  turing to python

so my group is getting through the project pretty ok but we don't know how to do some things still. in the turing link you have here a lot of people have good games that use features like save and laod and other nice stuff that i can't think of off the top of my head. anyway, is there an easy way to translate turing code into python and i don't mean like a translator program or anything but similar things ie: put = print. if we had a way to do that it would make figuring out things in our project much easier.

Author:  apython1992 [ Tue May 03, 2011 7:16 pm ]
Post subject:  RE:turing to python

I'm not sure if anything like this would be worthwhile if it's only about syntax. But if it's say something like "I can do file I/O in Turing with this code...what is the Python equivalent?" you will get a lot of answers, which is good. If you're specific about what exactly you would like to know how to do in Python, you will get help. But I don't know that you will find anyone that's written up a bunch of things in Turing, and then followed up with Python equivalents.

I should note that looking for equivalents is good for learning, but beyond that you aren't exploiting a language for what it's really good for. If you go about learning Python thinking that it's just a different syntax from Turing, you won't get very far, and you won't ever understand why Python is better than Turing.


: