by Vincent Noel
This training session will introduce the Python scientific stack to Engineers who use matlab in their day-to-day job and want to switch to an open solution or explore other alternatives. The basics of Python will first be presented: syntax, variable types and data structures, functions and flow control, exceptions. Python modules and tools required for matlab-like programmation in Python will be presented: ipython, numpy and matplotlib. Several Python applications typical of engineering problems will be presented and compared with their matlab version, as time will allow: plotting (time series, histograms, pseudocolor plots, etc.), basic I/O (e.g. ASCII, CSV, matlab MAT files), signal processing, mapping, etc. The creation of user interfaces with PyQt will be briefly introduced. Differences between Interactive and non-interactive programming will be described. Along the session, key differences with matlab will be underlined and discussed. Sources of information and documentation, online and offline, will be presented.
These concepts will be introduced as coding exercises using the Python programming environment provided by the Python(x,y) distribution, which is freely downloadable and includes recent versions of Python, numpy and matplotlib. This session will also focus on using Python(x,y) efficiently for Python programmation. Attendees should bring their own laptop running Windows. It is also recommended that they download and install the pythonxy distribution from http://www.pythonxy.com/.
Although no knowledge of Python is required to attend this session, a basic knowledge of matlab and of its typical programming usage is needed.
PythonCAD is a CAD package written, surprisingly enough, in Python using the PyQt interface. The PythonCAD project aims to produce a scriptable, open-source, easy to use CAD package for Linux (Cross Platforms).
I start developing PythonCAD in my spare time and now python is the programming language that I mostly use.
I think that will be very interesting to tell my story and how I learn python pyqt ,sqlite, sympy... and how python and pycon and OpenERP change my job.
The goal will be to tell at the new python programmer how easy to use is python even for complex problem.
I can explain why I chose pyqt .. what kind of trouble I have found and how I solve it.
Starting from python going to pyqt and at the end how to deploy a python application with pyInstaller ...
I also explain my actual project OpenPLM an OpenERP module to manage PLM data into OpenERP
see you soon
Camelot is a Python framework that leverages SQLAlchemy and QT to build rich desktop applications. The model - view definition used was inspired by the Django Admin interface. Some see it as a replacement for MS Access, but it's underlying libraries allow much more advanced features.
In this talk we will focus on the changes and new features that were introduced in Camelot and more importantly, how they can be used in your applications. Those features range from Matplotlib chart integration and new types of actions to displaying custom SQLAlchemy queries in a table view.
We will share our experiences with large scale deployment of Python and Camelot applications to the desktop of the user. In a number of case studies we will point out the mistakes we made and how they were corrected.
by Lorenzo Mancini and Matteo Bertozzi
Teaser for http://lanyrd.com/2011/europytho...
by Matteo Bertozzi and Lorenzo Mancini
(Presented with Matteo Bertozzi)
Python's high development speed and Qt's gargantuan feature set allow for comfortable development of complex desktop applications. Still, what does one need to do to best leverage this awesome combination? And more importantly, what crucial advantages exist to decide its adoption in favour of more traditional tecniques?
During this training, we'll start from a white canvas and show how to develop a desktop application using the best tools Qt offers. You'll learn how to compose complex GUIs from basic building blocks, and how to use QPainter, one of the most advanced 2D painting systems in the open source world. Qt's Webkit integration will be discussed, along with the recent Qt Quick technology, which allows one to create smooth and fluid user interfaces. Qt's solution to common deployment problems, like handling a serious translation workflow, will be presented. At the end, we'll package our PyQt application so it's ready to be distributed for download.
Walk away with a sound understanding of why you should choose PyQt for your next desktop project.
20th–26th June 2011