Archives of #Python Tutorial

EuroSciPy Parallel Python tutorial now online

I taught Parallel Python at EuroSciPy 2012 last week in Brussels, I’ve uploaded all the necessary stuff. In the talk we covered: multiprocessing (built in) parallelpython (an easy shift from multiprocessing to do mult-machine and -core processing) gearman (cross-platform job server for heterogeneous job processing) picloud.com (was python only, now any infrastructure cloud-based processing using […]

EuroSciPy2012 Parallel Python tutorial requirements now online

My EuroSciPy 2012 Parallel Python tutorial requirements are online in this github repo. If you’re coming to my tutorial next Thursday please make sure everything is installed beforehand. The repo includes the slides (not quite yet finished) and a ‘solutions/’ directory which you shouldn’t peek at (that’s there in case we run behind in the […]

Parallel Computing with Python Tutorial at EuroSciPy (end of August)

I’ll be teaching Parallel Computing with Python (abstract to follow) at EuroSciPy on 23rd August 2012 in Brussels. Early bird tickets for the conference are available until July 22nd (even without the 50% discount the cost is still super-low). In my tutorial we’ll work through parallel processing examples on 1 machine with multiple cores and […]

High Performance Python tutorial v0.2 (from EuroPython 2011)

My updated High Performance Python tutorial is now available as a 55 page PDF. The goal is to take you on several journeys which show you different ways of making Python code run much faster (up to 75* on the CPU, faster with a GPU). UPDATE As of October 2014 I’ll be teaching High Performance […]

22,937* faster Python math using pyCUDA

I’ve just uploaded a new Mandelbrot.py demo for pyCUDA, it adds a new calculation routine that straddles the numpy (C based math) and the pure-CUDA implementations. In total there are 4 variants to choose from. The speed differences are huge! Update – this Reddit thread has more details including real-world timings for two client problems […]

pyCUDA on Windows and Mac for super-fast Python math using CUDA

I’ve just started to play with pyCUDA which lets you run parallel math operations on a CUDA-compliant NVidia graphics card through Python. Update – I’ve written a High Performance Python tutorial (July 2011, 55 pages) which covers pyCUDA and other technologies, you might find it useful. CUDA stands for Compute Unified Device Architecture – it […]