gtpax.blogg.se

Install py2exe windows how to
Install py2exe windows how to












install py2exe windows how to install py2exe windows how to

row for i in xrange ( 10 ): particle = 'Particle: %6d ' % i particle = i % 256 particle = ( i * 256 ) % ( 1 3 and 20 <= x < 50 ] print pressure h5file. createTable ( group, "readout", Particle, "Readout example" ) print h5file particle = table.

install py2exe windows how to

createGroup ( "/", "detector", "Detector information" ) table = h5file. From tables import * import numarray class Particle ( IsDescription ): name = StringCol ( 16 ) # 16-character String idnumber = Int64Col () # Signed 64-bit integer ADCcount = UInt16Col () # Unsigned short integer TDCcount = UInt8Col () # Unsigned byte grid_i = Int32Col () # Integer grid_j = IntCol () # Integer (equivalent to Int32Col) pressure = Float32Col () # Float (single-precision) energy = FloatCol () # Double (double-precision) h5file = openFile ( "tutorial.h5", mode = "w", title = "Test file" ) group = h5file.














Install py2exe windows how to