Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(27672) | Call(27672) | Derive(0) | Import(0)
L.append(object) -- append object to end
src/q/s/QSTK-0.2.7/Examples/FeatureSearch/functions.py QSTK(Download)
sys.stdout.write('lCorrCoef: ' + str(lCorrCoef) + '\n') retValue = nextBestFeature(naFeatTrain,naFeatTest,lSelectedFeatures,lRemainingFeatures,classLabelIndex) lSelectedFeatures.append(retValue['bestFeature']) lRemainingFeatures.remove(retValue['bestFeature']) lCorrCoef.append(retValue['bestFeatureCorrCoef'])
retValue = nextWorstFeature(naFeatTrain,naFeatTest,lSelectedFeatures,classLabelIndex) lSelectedFeatures.remove(retValue['worstFeature']) lCorrCoef.append(retValue['worstFeatureCorrCoef']) lRemovedFeatures.append(retValue['worstFeature'])
sys.stdout.write('lCorrCoef: ' + str(lCorrCoef) + '\n') retValue = nextBestFeature(naFeatTrain,naFeatTest,lSelectedFeatures,lRemainingFeatures,classLabelIndex) lSelectedFeatures.append(retValue['bestFeature']) lSeenStates.append(set(lSelectedFeatures)) lRemainingFeatures.remove(retValue['bestFeature'])
src/z/w/ZwoELF-HEAD/examples/indirectJmpWithMemoryData.py ZwoELF(Download)
for i in range(freeSpace-1): #dummyData.append("\x00") dummyData.append("\x41") manipulatedSegment, newDataOffset, newDataMemoryAddr \
entryPointData = list() for i in range(copiedBytesFromEntry): entryPointData.append(test.data[entryPointOffset + i]) testData = list() # store address of newDataMemoryAddr + 4 at newDataMemoryAddr # (for instruction "mov ecx, [newDataMemoryAddr]"") testData.append(chr(((newDataMemoryAddr+4) & 0xff)))
# (for instruction "mov ecx, [newDataMemoryAddr]"") testData.append(chr(((newDataMemoryAddr+4) & 0xff))) testData.append((chr(((newDataMemoryAddr+4) >> 8) & 0xff))) testData.append((chr(((newDataMemoryAddr+4) >> 16) & 0xff))) testData.append((chr(((newDataMemoryAddr+4) >> 24) & 0xff)))
src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/tableofcontents.py django-admin-report(Download)
def add(self,x): if x not in self: list.append(self,x) def drawPageNumbers(canvas, style, pages, availWidth, availHeight, dot=' . '):
self.textStyle = list(self.textStyle) prevstyle = self.getLevelStyle(n-1) self.textStyle.append(ParagraphStyle( name='%s-%d-indented' % (prevstyle.name, n), parent=prevstyle,
src/m/u/Muntjac-1.1.2/muntjac/demo/sampler/features/dragndrop/DragDropRearrangeComponentsExample.py Muntjac(Download)
label = Label('This is a long text block that will wrap.') label.setWidth('120px') components.append(label) image = Embedded('', ThemeResource('../runo/icons/64/document.png')) components.append(image)
e.setWidth('16px') documentLayout.addComponent(e) components.append(documentLayout) buttonLayout = VerticalLayout()
buttonLayout.addComponent(button) buttonLayout.setComponentAlignment(button, Alignment.MIDDLE_CENTER) components.append(buttonLayout) return components
src/m/u/muntjac-HEAD/muntjac/demo/sampler/features/dragndrop/DragDropRearrangeComponentsExample.py muntjac(Download)
label = Label('This is a long text block that will wrap.') label.setWidth('120px') components.append(label) image = Embedded('', ThemeResource('../runo/icons/64/document.png')) components.append(image)
e.setWidth('16px') documentLayout.addComponent(e) components.append(documentLayout) buttonLayout = VerticalLayout()
buttonLayout.addComponent(button) buttonLayout.setComponentAlignment(button, Alignment.MIDDLE_CENTER) components.append(buttonLayout) return components
src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_slideshow.py kamaelia(Download)
for fname in allfiles: if fname[-len(extn):]==extn: files.append(os.path.join(path,fname)) files.sort()
src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_shutdown.py kamaelia(Download)
for fname in allfiles: if fname[-len(extn):]==extn: files.append(os.path.join(path,fname)) files.sort()
src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/SimpleGraphicalApps/Slideshows/topology_slideshow.py kamaelia(Download)
for fname in allfiles: if fname[-len(extn):]==extn: files.append(os.path.join(path,fname)) files.sort()
src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/SimpleGraphicalApps/Slideshows/slideshow.py kamaelia(Download)
for fname in allfiles: if fname[-len(extn):]==extn: files.append(os.path.join(path,fname)) files.sort()
src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/PAR/par_slideshow.py kamaelia(Download)
for fname in allfiles: if fname[-len(extn):]==extn: files.append(os.path.join(path,fname)) files.sort()
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next