Skip to main content

A fun way to get started with graphics and data science in python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turtler-0.0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turtler-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file turtler-0.0.3.tar.gz.

File metadata

  • Download URL: turtler-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for turtler-0.0.3.tar.gz
Algorithm Hash digest
SHA256 71e835828270b86091eba2f4f276ce8f361b4e631203cbb78cc8261342d0a685
MD5 08bdc1122167769a6e0b14c67a3adf05
BLAKE2b-256 6b1c72390173ca7fd7fa6fdc8751c4b7001f4e0f80c997a5bc0d280be6847a49

See more details on using hashes here.

File details

Details for the file turtler-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: turtler-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for turtler-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 476e782d2e7ccaa9517a2c27abefd3da4c26f0695182952fa10a43b6cf4af79d
MD5 ff2df1d1acb52fa710ebf9a86cd8dbb2
BLAKE2b-256 6bf06c74fbd08e337640219ed86baa0dc2bb788f43e6eef5f1f44d290371e181

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page