Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(79)  |  Call(79)  |  Derive(0)  |  Import(0)

src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/skeinforge_utilities/settings.py   SkeinFox(Download)
def getFileTextGivenDirectoryFileName( directory, fileName ):
	"Get the entire text of a file with the given file name in the given directory."
	absoluteFilePath = os.path.join( directory, fileName )
	return gcodec.getFileText( absoluteFilePath )
 
def getReadRepository( repository ):
	"Read and return settings from a file."
	text = gcodec.getFileText( getProfilesDirectoryPath( repository.baseName ), 'r', False )
	if text == '':
		print( 'The default %s will be written in the .skeinforge folder in the home directory.' % repository.title.lower() )
		text = gcodec.getFileText( getProfilesDirectoryInAboveDirectory( repository.baseName ), 'r', False )

src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/fillet.py   SkeinFox(Download)
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being filleted into arc points.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being filleted into arc radiuses.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being arc segmented.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being beveled.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return

src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/fillet.py   SkeinFox(Download)
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being filleted into arc points.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being filleted into arc radiuses.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being arc segmented.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return
	preferences.readPreferences( filletPreferences )
	print( 'File ' + gcodec.getSummarizedFilename( fileName ) + ' is being beveled.' )
	gcodeText = gcodec.getFileText( fileName )
	if gcodeText == '':
		return

src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/import_plugins/stl.py   SkeinFox(Download)
			return None
		fileName = unmodified[ 0 ]
	stlData = gcodec.getFileText( fileName, 'rb' )
	if stlData == '':
		return None

src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/import_plugins/obj.py   SkeinFox(Download)
			return None
		fileName = unmodified[ 0 ]
	objText = gcodec.getFileText( fileName, 'rb' )
	if objText == '':
		return None

src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/import_plugins/obj.py   SkeinFox(Download)
			return None
		fileName = unmodified[ 0 ]
	objText = gcodec.getFileText( fileName, 'rb' )
	if objText == '':
		return None

src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/import_plugins/obj.py   SkeinFox(Download)
			return None
		fileName = unmodified[ 0 ]
	objText = gcodec.getFileText( fileName, 'rb' )
	if objText == '':
		return None

src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/analyze_plugins/statistic.py   SkeinFox(Download)
	statisticPreferences = StatisticPreferences()
	preferences.readPreferences( statisticPreferences )
	writeStatisticFileGivenText( fileName, gcodec.getFileText( fileName ), statisticPreferences )
 
def writeOutput( fileName, gcodeText = '' ):
	"Write statistics for a skeinforge gcode file, if 'Write Statistics File for Skeinforge Chain' is selected."
	statisticPreferences = StatisticPreferences()
	preferences.readPreferences( statisticPreferences )
	if gcodeText == '':
		gcodeText = gcodec.getFileText( fileName )

src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/analyze_plugins/statistic.py   SkeinFox(Download)
	statisticPreferences = StatisticPreferences()
	preferences.readPreferences( statisticPreferences )
	writeStatisticFileGivenText( fileName, gcodec.getFileText( fileName ), statisticPreferences )
 
def writeOutput( fileName, gcodeText = '' ):
	"Write statistics for a skeinforge gcode file, if 'Write Statistics File for Skeinforge Chain' is selected."
	statisticPreferences = StatisticPreferences()
	preferences.readPreferences( statisticPreferences )
	if gcodeText == '':
		gcodeText = gcodec.getFileText( fileName )

src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/import_plugins/stl.py   SkeinFox(Download)
			return None
		fileName = unmodified[ 0 ]
	stlData = gcodec.getFileText( fileName, 'rb' )
	if stlData == '':
		return None

  1 | 2 | 3 | 4 | 5 | 6  Next