Re: compiled program input

2006-02-28 Thread mehmetmutigozel
:) yes it does. thank you very much fredrick. -- http://mail.python.org/mailman/listinfo/python-list

Re: compiled program input

2006-02-28 Thread mehmetmutigozel
i found something like import os os.system("c\\m.exe") but it gives An endfile record was detected in a READ statement (unit=40). Error occurs at or near line 51 of _MAIN__ 12 still don't have anything :( -- http://mail.python.org/mailman/listinfo/python-list

compiled program input

2006-02-28 Thread mehmetmutigozel
i have a compiled program named m.exe. when i execute it asks me to enter a parameter like "me.dat". the coder didn't manage the argv for this program and i only have the executable. is there a vay to call this executeable from python and give parameters to it? >m.exe >input1 ? me.dat > som

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-23 Thread mehmetmutigozel
Thanx. It just popped in my mind. in 3d programming there are transformation matrices like a=[[cos(x),sin(x),0],[-sin(x),cos(x),0],[0,0,1]] it is a 3x3 matrix. never changes during program. it can be defined like >>> def transmat(x): ... dummy=[[0,0,0],[0,0,0],[0,0,0]] ... d