Re: Checking if a text file is blank

2008-04-20 Thread prashanth
f = file("friends.txt", "w") > if f.read() is True: > """do stuff""" > else: > """do other stuff""" > f.close()

Re: python

2014-02-26 Thread prashanth B.G
packet time-stamp and data ID string, and a third thread to > match the out/in packets for latency -- and reporting any missing packets], > and CSV library. Oh, and development of algorithms to do that processing. > > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ > > -- > https://mail.python.org/mailman/listinfo/python-list > -- *HAVE A NICE DAY * Prashanth -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE for python

2014-05-28 Thread prashanth B.G
I use eclipse. > > But first time I am trying python. I was trying some UI with python. I > have installed wingide. But i didn't liked it because for licenses messages > even in trial version. > > I was searching for spyder, but didn't got any helpful installable. > -

Re: can someone explain the concept of "strings (or whatever) being immutable"

2014-06-02 Thread prashanth B.G
ss? > """ > That was just the first question. What does immutable really mean if you > can add items to a list? and concatenate strings? I don't understand > enough to even ask a comprehensible question, I guess. > > > Thanks in advance, > Deb in WA, USA > > > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > > -- > https://mail.python.org/mailman/listinfo/python-list > -- *HAVE A NICE DAY * Prashanth -- https://mail.python.org/mailman/listinfo/python-list

Re: Beginner's guide to Python

2013-09-04 Thread prashanth B.G
ll stop org full stop > uk > -- > https://mail.python.org/mailman/listinfo/python-list > -- *HAVE A NICE DAY * Prashanth -- https://mail.python.org/mailman/listinfo/python-list

Xml writing in Python and verifying using XSD

2005-05-27 Thread Prashanth Ellina
include xml validation using the xsd while writing. Any ideas? Thanks in advance, Prashanth Ellina -- http://mail.python.org/mailman/listinfo/python-list

Re: Xml writing in Python and verifying using XSD

2005-05-29 Thread Prashanth Ellina
Diez B. Roggisch wrote: > Use StringIO to capture the output of your writings, and use a > xsd-validating parser (not sure which one, but google should help) to > reread that. Or a temporary file. Thank you very much. I'll try that. -- http://mail.python.org/mailman/listinfo/python-list

How do I know when a thread quits?

2005-06-07 Thread Prashanth Ellina
child thread tries to access something in the sys module which has already been GC'ed. I want a reliable way of knowing when the child thread finished execution so that I can make the main thread wait till then. Any ideas? TIA, Prashanth Ellina -- http://mail.python.org/mailman/lis

Re: Another solution to How do I know when a thread quits?

2005-06-09 Thread Prashanth Ellina
Hi, Thanks for the code sample. I will try it out. I guess there is no reliable way to get away with just the "threads" module. Thanks, Prashanth Ellina -- http://mail.python.org/mailman/listinfo/python-list