"Learning Curves" sounds like the title of the O'Reilly beginner's guide to soft porn, but that's not what this is about. I'm writing my first Python program. It is quite the adventure, and I'm learning a lot about learning (always good).
Things I have learned include, in no particular order:
f = StringIO()
won't work. You need to use StringIO.StringIO() or you get a message about not being able to call a class as function. Twitch, twitch. Fortunately, the nice people on #python were able to set me straight.
It's been fun to do something new, though I'd have found it quicker to just port the library I wanted (the Universal Feed Parser) to Perl than to learn the Python I need around that library. That's okay, I'm doing this to learn another language and not to get the job done in the shortest possible time.
--Nat
omg (Score:2)
Re:omg (Score:2)
Talking about pythons indeed. (Score:1)
Re:Talking about pythons indeed. (Score:2)
What book would Learning Curves be? (Score:1)
Re the question
So does this mean ORA isn't doing an into to soft pr0n?
the covers are getting racier since they branched out. http://www.oreilly.com/catalog/jds/index.html [oreilly.com] http://www.oreilly.com/catalog/linuxckbk/index.html [oreilly.com] http://www.oreilly.com/catalog/1933097043/index.html [oreilly.com]
I'm just surprised the SELinux books don't have a Bondage & Discipline cover theme.
Bill
# I had a sig when sigs were cool
use Sig;
Re:What book would Learning Curves be? (Score:2)
Hoop skirts are racy? Wow, my first Amish Perl coder! (other than Ziggy [python.org], of course)
--Nat
Re:What book would Learning Curves be? (Score:2)
Re:What book would Learning Curves be? (Score:2)
Re:What book would Learning Curves be? (Score:2)
Beards and racy (Score:1)
No, merely ironic.
But one of the three links wasn't Prairie folk ... one had decolletage!
Some locals might think your comment prescient, as the latest adjustment to my beard [pm.org] does evoke some Amish comments (especially with a summer straw hat) from those who don't know what Amish beards really look like (ear-to-ear jaw-fringe). It's really more old Yankee (chin cover); consider the linked picture (which matches what you probably don't remember seeing a
Bill
# I had a sig when sigs were cool
use Sig;
Python *shudder* (Score:1)
There are a couple of real issues with indentation, but mostly in Python's favor.
Indentation without line noise is a major convenience for those typing with their voice or quite possibly other adaptive technologies.
Indentation without line-noise lacks the redundancy that braces and a "tidy" reformatter can provide, but gets a similar effect directly. Editors that have been trained to match brackets may have a harder time skipping back to
Bill
# I had a sig when sigs were cool
use Sig;
Re:Python *shudder* (Score:2)
Not these eyes, alas. It was messing me up bigtime when I closed a bunch of blocks at once (if in a loop in a loop). No doubt I'll get used to it, but don't make the mistake of confusing familiar for intuitive. Nothing about these infernal machines is actually intuitive, and eyes can no doubt learn to see the invisible indents the same way that fingers can learn to hit the match-curly key sequence.
Most tellingly, the Ubuntu team feels the simpler visually obv
Re:Python *shudder* (Score:1)
As a new programmer I revelled in QBasic, but it doesn't meant that was a good language. Programming is fun, people can enjoy it in nearly any language. Maybe not COBOL... submitting batch jobs isn't satisfying. But all languages that aren't soul-eating are fun.
But new users aren't all equally successful in what they are trying to do. Moreso, they don't even know how to judge their success; they don't have
CPAN? (Score:1)
Right now, I'm using a bunch of modules from CPAN but they don't match the breadth of stuff that universal parser catches.
Thanks,
life is short
Re:CPAN? (Score:2)
Couple of tips (Score:1)
Python does have a CPAN, actually (Score:1)
http://cheeseshop.python.org/ [python.org] - a repository of links and downloads for Python projects
http://peak.telecommunity.com/DevCenter/EasyInstall [telecommunity.com] - a simple package manager for automatic find/download/build/dependency resolution. For example, running "easy_install SQLObject" will search the Cheese Shop for the "SQLObject" object-relational mapping package, then download and build it for you, along with any dependencies it needs.
Both the Cheese Shop and EasyInstall are fairl
PLEAC (Score:1)