converting textobject to name of other object.

2004-12-07 Thread Lars Tengnagel
I'm trying to use the matrix variable to collect a matrix in the file MatrixInfo which contains a lot of different matrices. Yhe commented line is the problem. HOW ??? import re import MatrixInfo class Diff: def __init__(self,filobj,matrix='pam250',begin=0,end='none'): self.fil

Re: sys.stdin.read question

2004-12-07 Thread Lars Tengnagel
Hej Caleb and others I've been strugling with the same problem where i try to use popen3 to run a program. If I use a piped commandline the program can read the file without problems but in the IDLE and with popen it comes with an error. I haven't been able to read the stdin either so the proble