Skip to main content

Unofficial port of Karel the Robot to Python

Project description

Please click here for documentation!

Alternatively, the raw HTML file can be found in /karel_the_robot/docs/karel_the_robot-doc.html.

Installing and Importing

Karel the Robot is now on PyPi!!!

To install, run:

pip install karel_the_robot

Some IDEs (such as PyCharm) might be able to automatically run this command if you type the import sequence.

Additionally, when using, you may have to import manually. To do so, follow these steps within your repl:

  • Click the "Packages" tab
  • Search for and select "karel-the-robot" (dashes instead of underscores)
  • Press the plus (+) symbol by the package name

Once installed, the recommended way to import is:

from karel_the_robot import World, Robot

Of course, there are numerous other ways to import.

All credit to the concept and ideas belong to the original Karel team (made in Java). This is a PORT, not an original creation by any means.

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

karel_the_robot-1.1.1.tar.gz (12.2 kB view hashes)

Uploaded source

Built Distribution

karel_the_robot-1.1.1-py3-none-any.whl (11.5 kB view hashes)

Uploaded py3

Supported by

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