[Tutor] Replacing characters

2007-05-25 Thread Per Jr. Greisen
Hi, I am replacing 4 characters with a number and I would like to make the whitespace dynamic so for fx. 1 it uses 3 whitespace and for 10 two and for 100 one etc. I am using the replace() method. Any help or advice appreciated Thanks in advance ___ T

[Tutor] Convert bmp to mpeg

2007-08-21 Thread Per Jr. Greisen
Hi, I would like to make a method where I give a number of bmp-file as argument and than create a mpeg format from these - is that possible with python and which packages should I use? Thanks in advance -- Best regards Per Jr. Greisen ___ Tutor

[Tutor] Rounding off

2007-03-18 Thread Per Jr. Greisen
Hi, Is there an easy way - a module or method for which you can round off number such as 2.1345 to 2.135 Any help or advice appreciated? -- Best regards Per Jr. Greisen ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo

[Tutor] Rounding number

2007-03-18 Thread Per Jr. Greisen
Jr. Greisen ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Making table

2007-03-19 Thread Per Jr. Greisen
Hi, I need to generate a table with different x,y,z values and write them to a file: 10.171 -15.243 -2.558 9.837 -14.511 -1.923 -23.451 -13.870 51.507 I would like to write to the files as columns 10.171 -15.243 -2.558 9.837 -14.511 -1.923 -23.451 -13.870 51.507 0.233 0.453