[Tutor] Feedparser and Google News feeds

2010-03-10 Thread David Kim
I have been working through some of the examples in the Programming Collective Intelligence book by Toby Segaran. I highly recommend it, btw. Anyway, some of the exercises use feedparser to pull in RSS/Atom feeds from different sources (before doing more interesting things). The algorithm stuff I

[Tutor] Feedparser and google news/google reader

2010-03-10 Thread David Kim
I have been working through some of the examples in the Programming Collective Intelligence book by Toby Segaran. I highly recommend it, btw. Anyway, one of the simple exercises required is using feedparser to pull in RSS/Atom feeds from different sources (before doing more interesting things).

Re: [Tutor] Parsing html tables and using numpy for subsequent processing

2009-09-17 Thread David Kim
traveling at the moment). Cheers, -- David Kim I hear and I forget. I see and I remember. I do and I understand. -- Confucius morenotestoself.wordpress.com financialpython.wordpress.com ___ Tutor maillist - Tutor@python.org To unsubscribe

[Tutor] Parsing html tables and using numpy for subsequent processing

2009-09-15 Thread David Kim
Hello all, I've finally gotten around to my 'learn how to parse html' project. For those of you looking for examples (like me!), hopefully it will show you one potentially thickheaded way to do it. For those of you with powerful python-fu, I would appreciate any feedback regarding the direction

Re: [Tutor] Help deciding between python and ruby

2009-09-04 Thread David Kim
On Fri, 2009-09-04 at 06:18 -0700, dan06 wrote: I'd like to learn a programming language - and I need help deciding between python and ruby. I'm interesting in learning what are the difference, both objective and subjective, between the two languages. I know this is a python mailing list, so

Re: [Tutor] python's database

2009-08-16 Thread David Kim
I don't know how much it's in use, but I thought gadfly ( http://gadfly.sourceforge.net/) was the db that's implemented in python. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Automating creation of presentation slides?

2009-08-12 Thread David Kim
Hi everyone, I'm wondering what people consider the most efficient and brain-damage free way to automate the creation of presentation slides with Python. Scripting Powerpoint via COM? Generating a Keynote XML file? Something else that's easier (hopefully)? I'm imagining a case where one does

Re: [Tutor] Automating creation of presentation slides?

2009-08-12 Thread David Kim
Thanks for the suggestion Kent, I was not familiar with reStructuredText. Looks very interesting and more practical than than scripting Powerpoint or recreating Apple's Keynote XML format. This nugget also led me to rst2pdfhttp://code.google.com/p/rst2pdf/, for those who care. Cheers, DK On

Re: [Tutor] building database with sqlite3 and matplotlib

2009-08-08 Thread David Kim
Thanks so much for the comments! I appreciate the look. It's hard to know what the best practices are (or if they even exist). On Sat, Aug 8, 2009 at 2:28 PM, Kent Johnson ken...@tds.net wrote: You don't seem to actually have a main(). Are you running this by importing it? I would make a

[Tutor] building database with sqlite3 and matplotlib

2009-08-07 Thread David Kim
Hello everyone, I've been learning python in a vacuum for the past few months and I was wondering whether anyone would be willing to take a look at some code? I've been messing around with sqlite and matplotlib, but I couldn't get all the string substitution (using ?s). I ended up getting the

Re: [Tutor] Urllib, mechanize, beautifulsoup, lxml do not compute (for me)!

2009-07-07 Thread David Kim
Thanks Kent, perhaps I'll cool the Python jets and move on to HTTP and HTML. I was hoping it would be something I could just pick up along the way, looks like I was wrong. dk On Tue, Jul 7, 2009 at 1:56 PM, Kent Johnsonken...@tds.net wrote: On Tue, Jul 7, 2009 at 1:20 PM, David

[Tutor] Urllib, mechanize, beautifulsoup, lxml do not compute (for me)!

2009-07-06 Thread David Kim
Hello all, I have two questions I'm hoping someone will have the patience to answer as an act of mercy. I. How to get past a Terms of Service page? I've just started learning python (have never done any programming prior) and am trying to figure out how to open or download a website to scrape