skeinforge_tools.polyfile ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/polyfile.py |
Polyfile is a script to choose whether the skeinforge toolchain will operate on one file or all the files in a directory.
Polyfile stores and lets the user change the preference of whether to operate on one file or all the files in a directory. The default
'Polyfile Choice' radio button group choice is 'Execute File'. With 'Execute File' chosen, the toolchain will operate on only the
chosen file. When the chosen choice is 'Execute All Unmodified Files in a Directory', the toolchain will operate on all the
unmodifed files in the directory that the chosen file is in. To use the dialog to change the polyfile
preferences, in a shell type:
> python polyfile.py
Polyfile examples follow below.
> python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import polyfile
>>> polyfile.main()
This brings up the polyfile preference dialog.
>>> polyfile.isDirectoryPreference()
This returns true if 'Execute All Unmodified Files in a Directory' is chosen and returns false if 'Execute File' is chosen.
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
|
Data | ||
__author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GPL 3.0' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384) |
Author | ||
Enrique Perez (perez_enrique@yahoo.com) |