Quozl

Joined 17 March 2010
904 bytes added ,  22:23, 9 March 2011
Line 90: Line 90:  
=== Existing Situation ===
 
=== Existing Situation ===
   −
Pippy provides example scripts written in Python, allows the learner to run them, edit them, and save them as a journal entry.
+
Pippy currently provides example ''script''s written in Python, allows the learner to run them, edit them, and save them as a journal entry. Pippy does not currently support creation of modules, or use of modules other than operating system- or Pippy-packaged modules.
See [http://docs.python.org/tutorial/modules.html definition of the term script and discussion of modules].
     −
[http://docs.python.org/distutils/introduction.html for definitions] ... module, pure python module, package.
+
=== Definitions ===
 +
 
 +
*[http://docs.python.org/tutorial/modules.html Script] ... "Therefore, if you want to write a somewhat longer program, you are better off using a text editor to prepare the input for the interpreter and running it with that file as input instead. This is known as creating a ''script''."
 +
 
 +
*[http://docs.python.org/distutils/introduction.html Module] ... "the basic unit of code reusability in Python: a block of code imported by some other code. Three types of modules concern us here: pure Python modules, ..., and packages."
 +
 
 +
*[http://docs.python.org/distutils/introduction.html pure Python module] ... "a module written in Python and contained in a single .py file ... Sometimes referred to as a “pure module.”
 +
 
 +
*[http://docs.python.org/distutils/introduction.html package] ... "a module that contains other modules; typically contained in a directory in the filesystem and distinguished from other directories by the presence of a file __init__.py."