Final reminder, we're in the last two weeks of open registration for PyCamp, Plone Boot Camp, and Advanced Plone Boot Camp: http://trizpug.org/boot-camp/2008/ ...
A colleague and I are in Portland at OScon. We're in an advanced wxPython session at the moment, and attended an intro session and a Django session yesterday....
Thanks for the suggestions. So far we've been to the White Eagle, a Rogue Brew Pub and last night at the Python / Django BOF session at Jax. Portland is a...
Dear Group, Thanks for letting me join the PhillyPug! I am writing a program which among other things scrapes a number from a Yahoo finance web page. I end up...
Chris, "".join(z[:-1]) This uses the join method of the string "" (empty), and uses the values from the variable z as the input. The square braces allow you to...
Dear Shawn, Wow, fast and simple! Thank you! C On 8/5/08 7:38 , "Shawn Milochik" <shawn.milo@...> wrote: Chris, "".join(z[:-1]) This uses the join method...
If the list contains text characters in varying places, you can do something like this to extract a float: x = ['2','5','.','3','5','M'] y = float(''.join([i...
Hi Kevin, Another helpful answer! Thank you. Chris On 8/5/08 8:18 , "Kevin Hill" <khill@...> wrote: If the list contains text characters in varying places,...
... Since he's looking for numeric things, it's probably safe to use the `in' operator y = float(''.join([i for i in x if i in '0123456789.-'])) However,...
Dear All, I am writing data to an Excel spreadsheet using the CSV module. Is it possible to write data, close the file, then later re-open the file and write...
If you want to append to a file, open it with mode "ab" instead of "wb". Using the "w" mode truncates the file. See the description of open() here: ...
Hi Kevin, Many thanks. I missed the append 'a' mode when reading the python docs. Problem solved. Chris On 8/23/08 7:00 AM, "Kevin Hill" <khill@...> wrote:...
Hello everyone! I am currently trying to teach myself Python and for the most part I am doing alright with it. However, I was trying to do an example from a...
Here is the key to all you seek: http://www.catb.org/~esr/faqs/smart-questions.html ... -- Turnabout is fair play... http://uath.org/english.php?news=26...
... Please do read the above, which is a great resource. The short answer to your question, however, is that you should cut and paste the section of code...
Hi, I have 350 stock tickers in a spreadsheet file (stocklist.csv). I am trying to generate a list of symbol and price per share using the yahoo API in yahoo...
You'll need to look at threads more carefully, and learn about the `join` method. You'll want to do something along the lines of: threads = [] for i in...
Hi Andrew, It helps a great deal. I had seen the join() method in other thread examples and misunderstood it. I thought it was a method from the string object...
Hi Andrew: The following checks 350 stock symbols in 4 seconds. Not bad considering the non-threaded program takes 33 seconds. It works very well now thanks to...
Hi, George. So, what are you looking for in a language? What language(s) have you used already? I think Python is a fantastic language, but there are a lot of...
Botonomy LLC is a small and growing Philadelphia-area IT consulting company founded in 2005 which specializes in Python-based solutions. PyGuys.com provides an...
Prentice Hall sent me a copy of Python Fundamentals (http:// www.informit.com/store/product.aspx?isbn=0137143419). It includes 7 hours of video training. Is...
Hey Andrew, I think I could benefit from the training. I am primarily a .net developer and have not been successful in getting python into my organization....
Greetings: I'd like to find out if there would be interest in a Fall 2009 conference/working group to examine the use of multithreaded approaches (and...
Great, I'll wait a few days to see how many people are interested. I can pick up a few people from computer or possible Neuro-Bio-Engineering students but the...