[Tutor] manipulating data to delete blank spaces

2012-05-28 Thread Brendan Dornan
Hi, I'd like to eliminate the no data fields in this XML file, since Tableau, the graphing software doesn't allow this. What would be the easiest way to approach this? I'm a complete neophyte, having gone through the first 15 chapters of the "Think Like a Computer Scientist." Long ways to go and a

Re: [Tutor] Obtaining various combinations of a given word

2008-07-29 Thread Brendan
to do this for word containing 5 letters,i,e.,120 combinations > Is there a better way?Please help.-- cheers!!! Found the following link while googleing. It looks pretty nice and makes good use of Python's generators. http://www.daniweb.com

Re: [Tutor] help, thanks very much.

2008-01-15 Thread Brendan Rankin
bill.wu gmail.com> writes: > > > > i am new guy. > i ask a easy question. > > why the first one have"x",the second one doesn't have "x". what > is different? when write "x",when don't write "x". > > in my point,the second one don't def variable. > > Variable scope. By declaring the

Re: [Tutor] locating python scripts

2008-01-06 Thread Brendan Rankin
_ > Tutor maillist - Tutor python.org > http://mail.python.org/mailman/listinfo/tutor > > I've always just added paths to the PYTHONPATH environment variable. It's value is now: /home/brendan/scripts/Python:/home/brendan/lib/python:. This is on Linux, but I don&#

[Tutor] Enumeration and constant

2006-05-28 Thread Brendan Cheng
Hi,   I wander how to setup the enumeration type  and constant in Python, which I couldn't find the topic in the help file. I'm using python 2.4.3   please give me an example of it as well     Thanks,     Brendan ___ Tutor maillist

[Tutor] Enumeration and Constant

2006-05-28 Thread Brendan Cheng
Hi,   I wander how to setup the enumeration type  and constant in Python, which I couldn't find the topic in the help file. I'm using python 2.4.3   please give me an example of it as well     Thanks,   Brendan ___ Tutor maillist - Tutor@