| | |
Difference between cTurtle and turtle
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2009
Posts: 110
Reputation:
Solved Threads: 13
•
•
•
•
please tell me that there is a difference because i've spent an entire week figuring out how to make cTurtle work. Now that I have succeeded, both modules appears to have the same functions.
Please tell me that there is a difference
Python Syntax (Toggle Plain Text)
try: import cTurtle as turtle except ImportError: import turtle
this will import cTurtle as turtle if cTurtle is installed, if its not it just imports turtle.
cTurtle.py has nothing to do with C. It is simply someones hack of the turtle.py with a few extra methods added. See the beginning of file cTurtle.py for details. You can also run it, as it has a built-in demo.
It comes in two versions, one for Python2 and another for Python3.
In similar fashion, there is also the module frog, here you can use a picture of a frog or anything you like, and it has even sound effects. Great for entertaining kids of any age! See:
http://www.daniweb.com/forums/post95...tml#post953952
It comes in two versions, one for Python2 and another for Python3.
In similar fashion, there is also the module frog, here you can use a picture of a frog or anything you like, and it has even sound effects. Great for entertaining kids of any age! See:
http://www.daniweb.com/forums/post95...tml#post953952
Last edited by Ene Uran; Sep 27th, 2009 at 6:21 pm.
drink her pretty
![]() |
Similar Threads
- Why can't i install cTurtle on my Ubuntu version of python? (Python)
- Python Turtle module, and math module problem. (Python)
- "difference patching" help (C)
- Turtle Beach or Creative Labs? (PCI and Add-In Cards)
- Whoa?! How can we not talk about these important things? (PCI and Add-In Cards)
Other Threads in the Python Forum
- Previous Thread: Bug in latest version of plot.py (wx version 2.8)...
- Next Thread: [Help] Koch snowflake from Python 2.5 [Turtle]
Views: 333 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Python
advanced anydbm app assignment bash beginner bits bluetooth calling chmod cmd code convert data decimals dictionary dynamic dynamically examples excel external file float format ftp function gnu gui homework http import input itunes jaunty java keycontrol leftmouse line linux list lists loan loop maintain millimeter module mouse newb number numbers output parsing path pointer port prime program programming projects push py-mailer py2exe pygame pyqt python random recursion recursive scrolledtext slicenotation smtp split ssh string strings table tennis terminal text thread threading time tkinter tlapse tricks tuple tutorial ubuntu unicode update urllib urllib2 variable variables ventrilo web webservice windows wxpython xlib






