2 This page is in the table of contents.
3 Polyfile is a script to choose whether the skeinforge toolchain will operate on one file or all the files in a directory.
7 Default is 'Execute File',
10 When selected, the toolchain will operate on only the chosen file.
12 ====Execute All Unmodified Files in a Directory'====
13 When selected, the toolchain will operate on all the unmodifed files in the directory that the chosen file is in.
16 Example of using polyfile follows below.
19 This brings up the polyfile dialog.
23 from __future__ import absolute_import
24 #Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
27 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
30 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
31 __date__ = '$Date: 2008/21/04 $'
32 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
35 def getNewRepository():
37 return skeinforge_polyfile.PolyfileRepository()
41 "Display the file or directory dialog."
42 settings.startMainLoopFromConstructor(getNewRepository())
44 if __name__ == "__main__":