Python codeline

FacebookTwitter
Python graphics

QR code

Python ressources

Python Exercices

PyOpenCL est une interface entre Python et C OpenCL. Vous pouvez créer une maquette d'application en Python avec du code en C OpenCL. Lorsque que vous voudrez réécrire votre application en C/C++ ou Java, le code C OpenCL devra simplement être copié/collé. Ce qui fait de Python la meilleure façon de se lancer dans OpenCL. Je décris ici la méthode d'installation de PyOpenCL dans avec les driver NVidia. Un très bon article sur l'installation de PyOpenCL avec ATI Stream existe déjà : http://wiki.tiker.net/PyOpenCL/Installation/Linux/Ubuntu

OpenCL en Python | planquart.com

http://www.planquart.com/opencl-en-python
Python tutorials

Audio Podcasts from PyCon 2009 ShowMeDo's Learning Path Tutorials

Python Tutorials, more than 300, updated March 2, 2009 and carefully sorted by topic and category

http://www.awaretek.com/tutorials.html
Django

http://www.korokithakis.net/tutorials/python/ NOTE: If you would like some Python development done, my company, Stochastic Technologies , is available for consulting. This tutorial is available as a short ebook .

Tutorial - Learn Python in 10 minutes - Stavros' Stuff

Je vais bientôt être en stage et celui-ci va consister à réécrire un programme qui est en C++ en C puis à l'interfacer avec Python pour enfin proposer ce service sur Internet (simplicité quand tu nous tiens...). Tout ça pour dire qu'il faut que je me mette à Python car le reste c'est normalement de l'acquis (hum). J'ai donc suivi deux tutoriels : Dans un premier temps celui d'un de mes professeurs, Patrick Fuchs, qui propose un cours en ligne vraiment bien fait (en plus il est appliqué à la bio-informatique :) ). Par contre, c'est juste les bases (40 pages) mais ça motive pour passer à quelquechose de plus consistant ! https://larlet.fr/david/biologeek/archives/20050218-cours-pour-apprendre-python/

★ Cours pour apprendre Python

Python recurent subjects

Learn Python in 10 minutes | Stavros' Stuff

NOTE: If you would like some Python development done, my company, Stochastic Technologies , is available for consulting. http://www.korokithakis.net/tutorials/python

Python + Jquery: Open Browser and POST data

http://everydayscripting.blogspot.com/2009/09/python-jquery-open-browser-and-post.html A few entries ago I talked about how I used Python to run some tests on a web page that I was creating. Python has a ' webbrowser ' module that can open up your default web browser and point it to a specific URL. For the tests that I was running this worked well since the page expected a GET request - all parameters were passed in the URL, which I could change dynamically in my Python source. I didn't need to POST anything to the page with an HTML form. I wanted a way to open up pages in my web browser with Python, but perform a POST request, sending data along with it.
This is part 1 of a 3 part series. Check out part 2 and part 3 . Having a static, standards compliant, flat-file website isn't a bad thing. But sometimes it's nice to inject a little bit of life into a page or two. Not only can it help keep things interesting but it might substantially increase usability as well. http://ryanfunduk.com/web-dynamism-1

Web Dynamism w/Python+jQuery - Part 1

Python memory utilities

Change notes: 2/22/98, 3/2/98, 12/4/00: This version of this essay fixes several bugs in the code.

Patterns - Implementing Graphs

http://www.python.org/doc/essays/graphs.html
Python web

Python application

# Copyright (c) 2007-2008 Pedro Matiello <pmatiello@gmail.com> # License: MIT (see COPYING file) # Import graphviz import sys sys . path . append ( '..' ) sys . path . append ( '/usr/lib/graphviz/python/' ) sys . path . append ( '/usr/lib64/graphviz/python/' ) import gv # Import pygraph from pygraph . classes . graph import graph from pygraph . classes . digraph import digraph from pygraph . algorithms . searching import breadth_first_search from pygraph . readwrite . dot import write # Graph creation gr = graph ()

Example - python-graph - python-graph usage example. - A library for working with graphs in Python

http://code.google.com/p/python-graph/wiki/Example

2D and 3D Graphics in Python

http://vermeulen.ca/python-graphics.html advanced algorithm algorithms alpha appeared black body boids ch complex compression css demos described detection doc documents driven enthought environments events extension financial formats framework gmane gui introduces layer livejournal middle modern noise nov official pilot playback popular ran reached real rgb scripts searching somewhat stream students suitable tasks thegreenplace thermal title updated vs yes youtube z
by Leonard Richardson (leonardr@segfault.org) 这份文档也有中文版了 (This document is also available in Chinese translation) Этот документ также доступен в русском переводе.

Beautiful Soup documentation

When people think about web scraping in Python, they usually think BeautifulSoup .

lxml: an underappreciated web scraping library

Web is everywhere, we know. It is also used more and more to present information to a wide audience. Sadly, it is commonly the only way data is presented... That said, we need to get that info; the process of extracting information from web pages is knows as web scraping , and note that's is a very fragile process: every time the webpage changes, it's likely you'll have to modify the code that parses it.

Web scraping with Python for fun and profit

Beautiful Soup Documentation — Beautiful Soup v4.0.0 documentation

Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work. These instructions illustrate all major features of Beautiful Soup 4, with examples.
What is YQL? The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services.

Query Language

Python Quick Hacks and Codes