Introduction
Start your Data Science journey with Turtler. Written to make learning fun!
Getting Started
Turtler is built on top of turtle but makes drawing easy.
Import
from turtler import Turtler
Initialize
myTurtler = Turtler()
Move and Draw
myTurtler.go(DIRECTIONS)
myTurtler.draw(DIRECTIONS)
DIRECTIONS is a string consisting of:-
| Character | Direction |
|---|---|
| u | UP |
| d | DOWN |
| l | LEFT |
| r | RIGHT |
EXAMPLE:-
directions = "uldr"
myTurtler.go(directions)
End Drawing
myTurtler.done()
Other Methods
Set Animation Speed
myTurtler.setSpeed(YOUR_SPEED)
Options:
- fastest
- fast
- normal
- slow
- slowest
Set Step Size
myTurtler.setSpeed(YOUR_SIZE)
YOUR_SIZE is an int object
Release files for turtler 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| turtler-0.0.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| turtler-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / turtler-0.0.3.tar.gz
| Download URL | turtler-0.0.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71e835828270b86091eba2f4f276ce8f361b4e631203cbb78cc8261342d0a685
|
|
BLAKE2b-256 checksum How to use checksums |
6b1c72390173ca7fd7fa6fdc8751c4b7001f4e0f80c997a5bc0d280be6847a49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / turtler-0.0.3-py3-none-any.whl
| Download URL | turtler-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
476e782d2e7ccaa9517a2c27abefd3da4c26f0695182952fa10a43b6cf4af79d
|
|
BLAKE2b-256 checksum How to use checksums |
6bf06c74fbd08e337640219ed86baa0dc2bb788f43e6eef5f1f44d290371e181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|