Re: change some lines from a read file

2009-05-05 Thread utab
On May 4, 10:06 pm, Anthra Norell wrote: > utab wrote: > > Dear all, > > > I have to change some lines from a template file, which is rather long > > to paste here, but I would like to make some parts of some lines > > optional with my command line arguments but I c

change some lines from a read file

2009-05-04 Thread utab
Dear all, I have to change some lines from a template file, which is rather long to paste here, but I would like to make some parts of some lines optional with my command line arguments but I could not see this directly, I can count the line numbers and decide on this basis to decide the lines to

Python Input from keyboard

2006-09-22 Thread utab
hi, I could not understand why python stdin and stdout are not explained in any of the tutorials on the net, I want to read some input continuously from keyboard and then I would like to process these input. I have a code like this but getting errors, I would like to terminate when there is an e

Python Graphics Library

2006-05-08 Thread utab
Dear all, Could you please recommend me a graphics library for python. I saw PYX which has nice screenshots on the webpage. My first ambition is to be able to draw 2D or 3D graphs for my mathematical results. Maybe later, I can handle other types of graphical operations. Regards. -- http://mai

Numeric Python

2006-05-03 Thread utab
Dear all, I am new to python however not new to programming world, I have got the Numeric package I think because the output seems OK >>> from Numeric import * >>> seems OK but when I try to view a picture file which is supplied in the install and test documentation of numpy it fails >>>view(gr