Python 2.7 was released on 3rd July 2010 and surprisingly there is still almost no support for it in major projects; I am constantly surprised. One of the problems (IMO) with Python is that a supporting Python module needs to be specially compiled against the end main version of Python. In other words modules like, LXML for Python 2.6 is incompatible with Python 2.7 so it just won’t work. PyPy is a project set up to address this. PyPy is basically Python written in Python - yeh, I know!
I started learning Python recently and I had to make a choice. do I go for:
- Python 2.6 which is well established had loads of supporting modules but has been superseded by Python 2.7,
- Python 2.7 which has been out for 6 months, has less supporting modules, but has newer language built-in modules or
- Python 3.1.2 which has even less support than Python 2.7 and has slightly different language semantics.
Normally, I’d go for the latest and greatest, but all my Python buddies told me to avoid it at all costs, mainly due to poor support for everything. The company I’m currently working at is a 2.x shop so I chose the latest version of that which is Python 2.7.
Working on various projects I needed various support modules but couldn’t find them so I had to compile them up myself. So in true open source fashion I have publish them here for others. In each case I’ve tried to give them to the project owner but blar, blar, blar.
The Console Module 1.1a1
The Console module provides a simple console interface, which provides cursor-addressable text output, plus support for keyboard and mouse input.
[ Documentation | console-1.1a1-20011229.win32-py2.7.exe.zip ]
LXML 2.2.8
lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language.
[ Documentation | lxml-2.2.8.win32-py2.7.exe.zip ]
omniORBpy 3.5
omniORB is a CORBA library and omniORBpy are the Python bindings for it.
[ (My) Documentation | Documentation | omniorbpy-3.5.win32-py2.7.zip ]
Found a pretty good repository for Python extensions at: http://www.lfd.uci.edu/~gohlke/pythonlibs/
- Login to the web interface.
- Click the Settings link at the top right of the screen.
- On the Settings page click the Filters tab.
- Click the Create a new filter link at the bottom of the page.
- Enter the email address of your friend in the From field.
- Click the Next Step button.
- Check the Never send it to Spam box.
- If you want to pull all the previously spammed emails out of the spam folder you can check the Also apply filter to [x] conversations below (where [x] is some number).
- Click the Create filter button.
- Log into the calendar application at: http://calendar.example.com.
- On the left of the screen in the My calendars section click Add.
- You will be presented with a form on the Create New Calendar screen. So fill in the name as HQ Office you can choose what ever makes sense to you.
- Fill in the Description. This is free text so it could be something like “Calendar for all the people at HQ”
- Fill in the Location to your geographical location. This is free text so it could be London or Floor 6
- Next there is a space for time zones which will pick up the default that your administrator has set already.
- Finally we must set the access permissions. There are 4 options:
- Not shared: This will be a calendar that only you can see.
- Company only: Anyone in the company can see this calender.
- Public: Anyone in the world can see this calendar.
- Named: Only listed people can see this calendar.
- Finally click the Create Calendar button.
- Next to the Add link there is a Settings link, click this.
- Click the name of the broken calendar which will be something like example_com_random_letters@group.calendar.google.com.
- Change the Calendar Name back to what it was supposed to be e.g. Sales
- Click the Save button and everything should look normal.
- Clicking Back to calendar will take you back to the calendar screen.
- Log into the calendar application at: http://calendar.example.com.
- In the My calendar section (on the left) click the Settings link.
- Click the calendar’s name link.
- At the bottom of the page in the section entitled Calendar Address the Calendar ID is listed. This is the global address of your calendar.
- Cut and Paste it into an email.
- Do the same for the other company wide calendars e.g. sales.
- Email the references to everyone in your company.
- Log into the calendar application at: http://calendar.example.com.
- On the left-hand side in the section Other calendars cut and paste the calendar reference from the email into the text box and press return.
- Creating a department wide calender: on the Create New Calendar screen, just include the list of department members in the section Share with specific people when creating the calendar.
- Creating a public calendar: If you organise events for the public you might want to allow anyone to see your calendar so when creating the calendar set the Share this calendar with others to Make this calendar public.