Couple of quick python tips Source

1---
2title: 'Couple of quick python tips'
3date: '2013-07-11'
4published_at: '2013-07-11T15:56:00.001+10:00'
5tags: ['handbrake', 'iPython', 'makemkv', 'python', 'raspberry pi', 'unicode', 'xbmc']
6author: 'Gavin Jackson'
7excerpt: 'Well, it''s been a while since my last blog posting - here are some quick links you may find of interest (completely random of course;). Please feel free to share your favourite python modules/raspber...'
8updated_at: '2013-07-11T15:56:36.611+10:00'
9legacy_url: 'http://www.gavinj.net/2013/07/couple-of-quick-python-tips.html'
10---
11
12[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1YF0PbXu-fQR5Ghx32B6gke3vjmaLvV5bn2s4T5wiFwMkOcFGJcDB5eXpRRlKEhl9TbcO-bKVOyfXMAKafqRi1It9qRKANZ6mpBOmSCR9YjEJmQKVn0uH8Q-z4aFIuP5emy40gipt5ko/s1600/raspberry-pi-python-1-580x358.jpg)](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1YF0PbXu-fQR5Ghx32B6gke3vjmaLvV5bn2s4T5wiFwMkOcFGJcDB5eXpRRlKEhl9TbcO-bKVOyfXMAKafqRi1It9qRKANZ6mpBOmSCR9YjEJmQKVn0uH8Q-z4aFIuP5emy40gipt5ko/s1600/raspberry-pi-python-1-580x358.jpg)
13
14Well, it's been a while since my last blog posting - here are some quick links you may find of interest (completely random of course;).** **Please feel free to share your favourite python modules/raspberry pi hacks in the comments section below!
15
16###  **autoenv**
17
18autoenv is a simple tool for automatically executing shell scripts (or activating specific virtualenvs) when switching directories.
19
20[https://github.com/kennethreitz/autoenv](https://github.com/kennethreitz/autoenv)
21
22###
23
24###  **q**
25
26q is a really simple quick and dirty debugging tool, basically logs to /tmp/q, a function decorator called @q can be used to show what parameters a function is called with. This can be handy when you don't have control of standard output or conventional logging mechanisms.
27
28[https://pypi.python.org/pypi/q](https://pypi.python.org/pypi/q)
29
30###  **makemkv/handbrake**
31
32makemkv/handbrake - two free tools that make ripping DVDs quite easy.
33
34[http://www.makemkv.com/](http://www.makemkv.com/)
35[http://http://handbrake.fr/](http://http//handbrake.fr/)
36
37###  **Unicode in Python**
38
39Wow - who knew it was this bad I have been doing the encode/decode waltz for a while now, but this video makes it all crystal clear (I watched it twice):
40
41[http://nedbatchelder.com/text/unipain.html](http://nedbatchelder.com/text/unipain.html)
42
43###  **iPython Notebook**
44
45At pycon, I saw plenty on talks that discussed the iPython notebook, a web based iPython interface that blends documentation and executable python code.
46
47The notebooks can also be shared and hosted on third party servers (there are also several plugins that produce PDF output, there is also a plugin that generates reveal.js presentations!
48
49[http://ipython.org/notebook.html](http://ipython.org/notebook.html)
50
51###  **Raspberry Pi - XBMC edition**
52
53A few months ago I jumped on the Raspberry Pi bandwagon, I'm currently running the XBMC release as a home media server. Well worth checking out if you are after a low cost, low power, hdmi video/music streamer.
54
55[http://www.raspberrypi.org/](http://www.raspberrypi.org/)
56[http://wiki.xbmc.org/?title=Raspberry_Pi](http://wiki.xbmc.org/?title=Raspberry_Pi)
57
58
59