background preloader

Editors

Editors
If you have anything to contribute -- e.g. configurations for editors, new editors, or opinion -- don't hesitate to edit or create pages. There's an EditorConfigurationHowto available. Please keep wiki links as wiki links, use external links only if there is no existing page for the editor. Please add pages like BoaConstructor also to page IntegratedDevelopmentEnvironments. Multiplatform Editors Unix-Only Editors Windows-Only Editors Macintosh-Only Editors Online Editors Glorified Editors "IDEs" that don't integrate anything Python-specific go here. Enhanced Python shells Mobile Device Editors "IDEs" that run on mobile devices and tablets. Other Resources PySmell provides autocompletion for Vim, Emacs and TextMate Never ending debate EmacsVsVi CategoryEditors Related:  PYTHON

Aptana Studio — Advanced Python 0.3 documentation Aptana Studio is an IDE - integrated development environment - based on the Eclipse framework. It provides powerful tools for exploring, understanding, and refactoring your code. Because Aptana Studio is Eclipse + a plugin, in class I may refer to “Aptana” and “Eclipse” interchangeably. Aptana’s Python support was formerly a separate Eclipse plugin called PyDev. Workspace¶ When it starts up, Aptana will ask you what folder you want to use as a workspace. Instead use ~/workspace, the standard Eclipse workspace path. Harmless libjpeg Error¶ The first time you start Apatana Studio, you will get a frightening-looking error message, complaining that libjpeg.62.so is missing. Click OK, and Eclipse will ask if you want to exit. This bug can be avoided entirely by installing libjpeg62: $ sudo apt-get install libjpeg62 However this is not strictly necessary, as the bug does not damage anything, and appears only the first time a new Apatana installation is run. Installing Eclipse Plugins¶ Vwrapper¶

Python Set Up - Google's Python Class - Google Code This page explains how to set up Python on a machine so you can run and edit Python programs, and links to the exercise code to download. You can do this before starting the class, or you can leave it until you've gotten far enough in the class that you want to write some code. The Google Python Class uses a simple, standard Python installation, although more complex strategies are possible. Python is free and open source, available for all operating systems from python.org. In particular we want a Python install where you can do two things: Run an existing python program, such as hello.py Run the Python interpreter interactively, so you can type code right at it Both of the above are done quite a lot in the lecture videos, and it's definitely something you need to be able to do to solve the exercises. Download Google Python Exercises As a first step, download the google-python-exercises.zip file and unzip it someplace where you can work on it. Python on Linux, Mac OS X, etc.

agiliq/Django-parsley Python for iOS - A Python interpreter and development environment for the iPod Touch, iPhone, and iPad Labs Codecademy Labs is a place for you to program in Ruby, Python, and JavaScript online without downloading a code editor or IDE. Share your programs with friends and use your knowledge from Codecademy lessons! Want to learn more about these languages? Create an account Click on a code snippet to copy it into your code editor What is Codecademy Labs? Right now, Labs is a really easy way for you to play with Ruby, Python, and JS without needing to download an editor. What are some cool features of Codecademy Labs? It works offline - see what happens when you turn off your internet access in the middle of a session You can share your code snippets with friends and save your session You can download the code you've worked on to play with it on your desktop It works on your iPhone and iPad! What if I don't know how to use one of the languages? Use Codecademy to learn them! Who can we thank for this awesomeness? I have more questions! Enter Evaluate the entered command. Shift+Enter Tab Indent. Shift+Tab Up

Learn Python - Free Interactive Python Tutorial sanokore/UI-Input-Validator damonkohler/sl4a Les docstrings en Python | Sam & Max Du fait de la nature du tuto, exceptionellement je ne respecterai pas le nouveau format de rédaction. Mais y aura quand même de la zik : Une des mes fonctionnalités favorites en Python est son mécanisme de documentation du code : les doctrings. Principe La docstring est une chaîne de caractères que l’on n’assigne pas, et qui est placée à un endroit spécifique du code pour décrire ce dernier. La docstring la plus courante est placée sous une fonction. def ajouter(a, b): return a + b Et voici une fonction AVEC docstring : def ajouter(a, b): """ Ajoute deux nombres l'un à l'autre et retourne le résultat. """ return a + b La chaîne de caractère doit être placée juste en dessous de la signature de la fonction. Écrire des docstrings offrent de nombreux avantages : Usage Si vous avez une fonction ainsi faite : Alors dans un shell, toute personne qui va utiliser votre fonction pourra faire : #! On peut aussi documenter une classe et ses méthodes : Bonnes pratiques L’anglais est votre ami. Bref. Usage avancé

dse 4.0.0-RC1 DSE - Simplified "bulk" insert/update/delete for Django. Version : 4.0.0 - Release Candidate #2Author : Thomas Weholt <thomas@weholt.org>License : Modified BSD.Status : BetaUrl : DSE is available for one reason - to insert/update/delete lots of data -- as fast as possible.DSE vs Django ORM: typical speed gain is around 5x-10X for updates, 3X+ for inserts.DSE is aware of default values specified in your Django models and will use those if no value is given for a field in an insert statement.DSE caches SQL-statements, both inserts, updates and delete, and executes them when a specified number of statements has been prepared or when it`s told manually to flush cached statements to the database. The actual sql execution is done using DB API cursor.executemany and this is much faster than executing SQL-statements in sequence and way faster than using the Django ORM.DSE uses a dictionary to specify what fields to work on. You got a model like: Using dse: NB!

Download Android Studio and SDK Tools | Android Studio Before downloading, you must agree to the following terms and conditions. This is the Android Software Development Kit License Agreement 1. Introduction 1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. 2. 2.1 In order to use the SDK, you must first agree to the License Agreement. 3. 3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. 4. 5. 6. 7. 8. 9. 12. 13. 14.

Welcome to Python.org ghost.py First of all, you need a instance of Ghost web client: from ghost import Ghost ghost = Ghost() Ghost provide a method that open web page the following way: page, resources = ghost.open(' This method returns a tuple of main resource (web page) and all loaded resources (such as CSS files, javascripts, images...). All those resources are backed as HttpResource objects. At the moment Httpresource objects provide the following attributes: url: The resource url. http_status: The HTTP response status code. headers: The response headers as a dict. Executing javascripts inside webkit frame is one of the most interesting features provided by Ghost: result, resources = ghost.evaluate( "document.getElementById('my-input').getAttribute('value');") The return value is a tuple of: last javascript last statement result. loaded resources (e.g.: when an XHR is fired up). As many other Ghost methods, you can pass an extra parameter that tells Ghost you expect a page loading: Fill a field

Cross-platform Python Framework for NUI Development

Related: