Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

src/f/r/fragit-main-HEAD/src/gamessfmo.py   fragit-main(Download)
from util import WriteStringToFile
 
from util import file_extension,is_list,listTo2D,join2D,is_int
from util import listToRanges,listOfRangesToString,Uniqify,ravel2D
from util import deepLength
	def _formatCharges(self):
		list2D = listTo2D(self._fragmentation.getFragmentCharges(), 10, '%3i')
		return join2D(list2D, ',', ",\n                 ")
 
	def _getFMOFrgnam(self):
			s = "%5s%03i" % (names[i-1], i)
			fragnames.append(s)
		return join2D(listTo2D(fragnames, 5), ', ', ",\n                 ")
 
	def _getFMOMplevl(self):
		return "      MPLEVL(1)=%s" % (join2D(listTo2D([0 for i in range(self._nlayers)],10,'%i'),',',",\n"))
	def _getFMOActfg(self):
		if self._nlayers == 1: return ""
		if len(self._active_fragments) == 0: return ""
		return "      MODFD=1\n      IACTFG(1)=%s" % (join2D(listTo2D([i+1 for i in self._active_fragments],5,'%i'),',',',\n       '))
 

src/f/r/fragit-main-HEAD/src/xyzmfcc.py   fragit-main(Download)
from util import WriteStringToFile
 
from util import file_extension,is_list,listTo2D,join2D,is_int
from util import listToRanges,listOfRangesToString,Uniqify,ravel2D
from util import deepLength,listDiff,intlistToString

src/f/r/fragit-main-HEAD/src/xyz.py   fragit-main(Download)
from util import WriteStringToFile
 
from util import file_extension,is_list,listTo2D,join2D,is_int
from util import listToRanges,listOfRangesToString,Uniqify,ravel2D
from util import deepLength,listDiff,intlistToString