When I upgraded from Xubuntu 12.10 to 13.04 today, all my existing Python virtualenvs broke! Fortunately, they're just virtualenvs and easy to replace (that's kind of the point). But don't panic if you start seeing these.
Traceback (most recent call last):
File "/home/catherine/ve/e2/bin/ipython", line 5, in
Have you responded yet to PyOhio's Call For Proposals (due date: June 1)? You should. Here's why.
Why you should speak at PyOhio We need you. We have a great group of people who contribute talks, but we don't ever want that group to become a stagnant pool - we (more...)
I was interested in how to do twitter streaming. I tried to find out on the internet and got many examples. I tested it with python code(tweepy
). I got data in JSON format. I thought it's a good idea, if I was able insert this data into mongodb
For my newest ipython-sql trick, I needed to compare some queries run across different databases. How hard would it be to get side-by-side results into tidy IPython Notebook output?
Not hard at all, it turns out, if you're willing to violate basic principles of human decency.
That's an itty-bitty image, (more...)
Dayton folks - are you coming to the Dayton Linux User Group's Installfest tomorrow?
The main point of our Installfests is to get everyone together for mutual help setting up and configuring computers and programs. But we like to throw in some educational talks, too, and I volunteered to give (more...)
After getting %sql magic for IPython working, my next big goal was to figure out how to get those results into Pandas.
Er, OK, not such a big goal. Even with zero Pandas experience, it took about five minutes of skimming the first page of documentation to figure out:
Inspired and informed by discussions with the IPython developers at PyCon 2013, I've released ipython-sql, a %sql magic for IPython.
With this, I really think the IPython Notebook will become the most amazing database tool ever. In fact, virtually every computing problem will become a lot more workable when (more...)
Incidentally, some people have been asking, "Wait a minute - PyCon-US in Canada? How does that work? Wouldn't it be more correct to call it PyCon-NA for North America?"
It might, if this were a case of nations cooperating to share PyCon. However, that is not the case. You (more...)
You might be sick of me saying after each PyCon, "That was the best PyCon ever!", but it's not my fault if it's true.
I hardly know where to start summing up the highlights...
- PyPGDay was a great addition! I've had virtually no exposure to the PostgreSQL community before, (more...)
The topic of Oracle 11g DRCP connection pooling in Python
cx_Oracle came up twice this week for me. DRCP is a database tier
connection pooling solution which is great for applications run in
multiple processes. There is a whitepaper on DRCP that covers a lot of background and talks
I posted the slideshow from my PyPGDay HTSQL lightning talk here. Thanks to everybody involved with PyPGDay, I loved it!
Announcing the first Dayton Python Workshop for women and their friends, April 5-6, 2013!
The Workshop is a free, friendly, hands-on, beginners' introduction to computer programming. In one short weekend (a Friday evening and a Saturday), participants get a real handle on programming for practical tasks, using the easy yet powerful Python language... while having a fun time with new friends!
The primary target audience is women of all ages and backgrounds, including those who have never programmed before. Men can participate as the guest of a female attendee - that's where the "women and their friends" part (more...)
The first Columbus Python Workshop for women and their friends was a success!
We had about 18 students from all sorts of backgrounds, plus TAs Alyssa and Ryan from the Central Ohio Python User Group. They dived in with a will and learned an amazing amount in a short time. We all had fun and I loved having them there... there's something uniquely wonderful about teaching to faces that are smiling at you. By the end, we had several nice variants on the Color Wall.
Food sponsorship by LeadingEdje kept us all nicely fed and caffeinated, and Pillar provided The (more...)
I was thinking about staying home from PyCon in 2013.
I know, that's a horrible idea. But financing the trip has gotten hard recently, and I want to spend weeks and weeks in Montreal for PyCon 2014, so I was thinking maybe I'd save up my travel money for a spectacular trip to Quebec in a year.
But now look what they've done. PyPgDay. Postgres and Python. They've got my number. Resistance is futile.
The CFP is out; I'll be thinking about what I can propose. Maybe this will lead to a spasm of EDD (embarrassment-driven development) on sqlpython and (more...)
The big improvement for 0.2 is that ipython_doctester now optionally reports test results to an instructor's webapp, http://ipython-docent.appspot.com. In a classroom setting, this helps a teacher see who needs more time or help.
To turn on reporting, at the beginning of the IPython Notebook session,
ipython_doctester.workshop_name = 'demo1'
ipython_doctester.student_name = 'Catherine'
from ipython_doctester import test
The instructor should run through the notebook first, executing all cells just to register each of the function names in order. Then she can check on the class's progress at http://ipython-docent.appspot.com/workshop_name.
You can also optionally set
On my morning commute today I realised that I am actually living in the future. I remember when I got involved in the PythonCard project 10 years ago one of the major questions on the mailing list was why we were building a GUI toolkit when the future was the web. It wasn’t true then but I think that it is now.
Why do I think we have moved now? It is in large part thanks to a book I have started reading called Python for Data Analysis. I have a copy of the book in ePub format and wanted (more...)
That IPython project I was kicking around has started to mature, and I've released it into PyPI:
I'm much happier with using it as a decorator, it stays out of the student's way that way:
I really enjoyed Southwest Ohio GiveCamp this year. There are lots of community events where I learn stuff and have fun, but it's especially nice when we can also look back on something good done for a good cause.
I was on a small team that redid URS Dayton's website into a WordPress site. (The new version isn't online yet, so don't go clicking today and saying, "Ew, you're proud of that?") I'll say this for WordPress: despite having no genuinely experienced WordPress users on the team, we made a very presentable site in just an evening and a (more...)
Happy Ada Lovelace Day!
Announcing the first
for women and their friends
Jan. 18-19, 2013
The Columbus Python Workshop for women and their friends is a free hands-on introduction to computer programming that's fun, accessible, and practical even to those who've never programmed at all before. We empower women of all ages and backgrounds to learn programming in a beginner-friendly environment.
Thanks to Pillar Technologies for hosting the workshop in their brand-new office in Columbus' Short North!
The workshop is the latest in a series based on the famous Boston Python Workshop; they've already introduced hundreds (more...)
Ruby developers are a pretty spoilt bunch these days. The community has overall done a great job of rolling many of the advances in modern development practice into the tools and conventions we unconsciously put to work every day.
Now I wonder what life is like in the Python community?
Like many Rubyists, I've played around with Python and Jython on and off. But nothing serious. And although you could get into a pedantic syntax war, I suspect for the most part the Python and Ruby communities don't overlap simply because once you dive into one camp, the only real (more...)