FANDOM


Intro-button
Using Python The Python Shell and IDLE10:40

Using Python The Python Shell and IDLE

You're encouraged to watch this video to get a basic understanding of Python
Video by David Ranum.

Python is the py in pywikipedia. It's a programming language that runs on many different platforms, and is at the heart of all the pywikipedia scripts. Python files are immediately obvious by their extension: .py.

Because all pywikipedia scripts are written in Python, the first word you must type in the command line to use a bot is "python". Hence:

python replace.py -fix:spell -start:!

This tells your computer to start Python, then call replace.py then execute the user-fix named "spell" at the very first article in the main namespace.

Although it is not at all necessary to know how to program in Python in order to effectively use pywikipedia scripts, it is necessary to understand the basics of using the so-called "python shell"

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.