issues simply parsing a whitespace-delimited textfile in python script

2008-05-21 Thread Damon Getsman
s: ---- dgetsman pts/3:0.0 Wed May 21 10:21 still logged in dgetsman pts/2:0.0 Wed May 21 09:04 still logged in dgetsman pts/1:0.0 Wed May 21 08:56 - 10:21 (01:24) dgetsman pts/0:0.0 Wed May 21 08:56 still logged in I would really appreciate any pointers or suggestions you can give. http://www.zoominfo.com/people/Getsman_Damon_-214241.aspx";> *Damon Getsman Linux/Solaris System Administrator -- http://mail.python.org/mailman/listinfo/python-list

Re: issues simply parsing a whitespace-delimited textfile in python script

2008-05-21 Thread Damon Getsman
Okay, so I manged to kludge around the issue by not using the .readline() in my 'for' statement. Instead, I'm slurping the whole file into a new list that I put in for that purpose, and everything seems to be working just fine. However, I don't know WHY the other method failed and I'm at a loss f

Re: issues simply parsing a whitespace-delimited textfile in python script

2008-05-21 Thread Damon Getsman
On May 21, 11:15 am, Paul McGuire <[EMAIL PROTECTED]> wrote: > > > for cur_rec in Lastdump.readline(): > > is the problem. readline() returns a string containing the next > line's worth of text, NOT an iterator over all the subsequent lines in > the file. So your code is really saying: > >

Re: php vs python

2008-05-21 Thread Damon Getsman
In my opinion, with the previous experience that you have in coding that you've mentioned, you're probably better off if you minimize the amount of new syntaxes you'll have to pick up. Standard technique for what you're trying to accomplish is more often than not Apache with the PHP and MySQL supp

python library for passwd suitable blowfish hash generation

2008-06-04 Thread Damon Getsman
#x27;ve seen a few of the libraries so far and I'm not sure if I want to use them or not; documentation was rather lacking. I'd appreciate any input you all might be able to give on this. Thanks for your time. -Damon Getsman -- http://mail.python.org/mailman/listinfo/python-list

Re: what is meaning of "@" in pyhon program.

2008-06-27 Thread Damon Getsman
g the script defined a function instead of the standard conditional and loop? I can't imagine that would be the case because, as I said, this was very beginning level documentation. -Damon Getsman -- http://mail.python.org/mailman/listinfo/python-list

Re: what is meaning of "@" in pyhon program.

2008-06-27 Thread Damon Getsman
an example containing '@if' and '@for'. I don't remember what exactly I used to turn it up before, though, and the link isn't in my history, it was probably a month ago that I saw it. Sorry, I tried. On Jun 27, 10:44 am, Bruno Desthuilliers wrote: > Damon Gets