The Python Imaging Library is the go-to when you need to deal with images in Python. But sometimes it falls short. Some formats (PDF) are write-only. Some implementations (TIFF reading) are slow, or limited (TIFF writing). And what do you do about video data? This talk explores some alternative options, looking at strategies for using GraphicsMagick, ImageMagick, and ffmpeg from Python.
There are literally thousands of CMS options out there, so why not choose one that’s built with Python and on the amazing Django web framework. In this talk we’ll discuss the basics of django-cms and how to use it to build a great CMS solution for your clients. We’ll go over templates, menus, settings, user permissions, asset management, plugins and extending the CMS with your own Django apps.
Django is a popular, powerful web framework for Python. It has lots of "batteries" included, and makes it easy to get up and going. But all of the power means you can write low quality code that still seems to work. Effective Django development means building applications that are testable, maintainable, and scalable. This talk-torial will cover the skills needed to effective use Django.
Python is an interpreted language, right? Wrong! In this talk, dive deep into Python bytecode, and learn what actually happens in everyone's favorite Python program, 'print "Hello world"'. Learn to use the compile() and exec statement, understand what your Python code is doing with the dis and compiler modules, and discover new ways to explore and enjoy Python at a low level.
This talk is a "how I did it" talk about how I took an idea, a web cam, Python, Django, and the Python Imaging Library and created art, explored science, and illustrated concepts that our ancestors knew by watching the sky but we have lost.
The Python community has learned a lot about how to use our language since we started back in the 1990s, and this talk will use simple one-slide programs to illustrate the crucial refactorings that can help make a large real-life application far more testable and maintainable while making its code easier to re-use. This will not be a re-hash of Gang-of-Four refactorings, but specific to Python.
- Why Python is a good first language for teaching.
- How Python is readily adaptable to project based learning. Demonstration of some simple programs to motivate students in a programming language program (1) simple chatbot, (2) simple web search engine, (3) using Python with Finch robot.
- How Python is readily extensible, for example creating games with Python
Unfortunately, solving simple problems with Python isn't always 'import antigravity'. Best practices are sometimes far from obvious. This talk will analyze the high barriers of entry that clutter the Python landscape. We'll discuss ways to make Python more accessible for newcomers and less of a headache for seasoned veterans.
The Zope Object Database is an object database that allows you to store and retrieve your Python objects directly, without an intermediary layer. It's fully ACID-compliant and features multiple backends. This talk will familiarize the audience with ZODB programming and it's use cases.
The Python standard library provides a cross-platform toolkit for building graphical user interfaces using Tcl/Tk. This toolkit, however, is often avoided to being somewhat ugly on many popular platforms. This talk will provide an introduction to working with modern Tkinter on Python 2.7 and 3.x, focusing on building not-so-ugly, cross-platform desktop applications using the toolkit.
Programming is hard, let's keep it simple. This is a reminder of some common sense things we can do better, as well as observations and examples of where we can improve our code for the next guy, even if the next guy is you.
In the brief amount of time available, this tutorial will take a simple game concept and implement a multi-player game. Game development with Panda3D will consist of writing a Python program that controls the Panda3D library. Computer lab projects will provide hands-on experience investigating the various components of a network game.
Communication and a few engineering techniques can help greatly to ease the burden on an operations team and make applications easier to deploy, maintain and scale. Given from a developer's perspective this talk focuses on some engineering techniques that will help to make applications more robust and more operations friendly.
In this talk we will understand async, evented, non-blocking style of programming. We will look some of the popular libraries and web frameworks that are built around this style.
What you need to know about datetimes: time, datetime, and calendar from the standard library are a bit messy. Find out what to use where and how (particularly when you have users in many timezones), and what extra modules you might want to look into.
Log analysis for web applications: Use iPython, matplotlib, and some custom functions to slice, dice, and visualise your app through its logs.
Leo is a pure python, open source outliner, often used as an IDE. As a project manager, it handles all your files, no matter what language(s) you're using. Uniquely, it lets you to organize your projects below the file level, (elsewhere only doable informally with section comments). Using outlines supports thinking & organizing, allowing big/little picture focus shifts. Its great for code study.
Are you completely new to Python? Have you been wanting to learn Python but haven't had the time? Well give you a crash course on the basics of Python. We'll start off with why Python is unique compared to other languages and then quickly start into basic syntax, data types, and the Python philosophy for coding.
Really good logging means when something goes wrong in the middle of the night, you know about it, and you have enough information to fix it even if the problem never repeats. At the same time, really good logging doesn't raise false alarms and doesn't require finding needles in a haystack. Logging is important, but we usually do it wrong. Let's stop doing that.
Everyone starts hacking on their little Python library or application, with one goal in mind: Hacking Code! However, you need to do a little work to prepare your project for success. We'll discuss project layout, automation with Make, and 3rd party services to help your project appear more organized, accessible, and dare I say, professional!
Major production houses sometimes work with digital video not in non-linear editor format, but as large collections of image sequences in folders. Using Python to produce video this way can be very simple and natural once you starting thinking in image sequences. Using a series of small scripts, I'll demonstrate using PyCairo or PySVG as well as ImageMagick and FFMPEG to make 1080P HD video.
Taking a break from his usual web development, James will give an overview of some of the more unusual things he's done with Python: from implementing other programming languages to analyzing piano performances; from emulating an Apple ][ to the beginnings of an operating system written in Python.