background preloader

Python Videos, Tutorials and Screencasts

Python Videos, Tutorials and Screencasts
Related:  Python Exercices

Building Skills in Python — S.Lott v4.2 Site How do you learn Python? By doing a series of exercises, each of which adds a single new feature of the language. This 450+ page book has 42 chapters that will help you build Python programming skills through a series of exercises. This book includes six projects from straight-forward to sophisticated that will help solidify your Python skills. The 2.6 edition was significantly revised and expanded to cover Python 2.6 and some elements of Python 3.1. The current release has benefitted from a great deal of support from readers who sent detailed lists of errors and suggestions. Professional programmers who need to learn Python are this book’s primary audience. Since Python is simple, we can address newbie programmers who don’t have deep experience in a number of other languages.

Charming Python: Easy Web data collection with mechanize and Beautiful Soup Writing scripts to interact with Web sites is possible with the basic Python modules, but you don't want to if you don't have to. The modules urllib and urllib2 in Python 2.x, along with the unified urllib.* subpackages in Python 3.0, do a passable job of fetching resources at the ends of URLs. However, when you want to do any sort of moderately sophisticated interaction with the contents you find at a Web page, you really need the mechanize library (see Resources for a download link). One of the big difficulties with automating Web scraping or other simulations of user interaction with Web sites is server use of cookies to track session progress. Obviously, cookies are part of HTTP headers and are inherently visible when urllib opens resources. Python's mechanize is inspired by Perl's WWW:Mechanize, which has a similar range of capabilities. A close friend of mechanize is the equally excellent library Beautiful Soup (see Resources for a download link). A real-life example Back to top

Introductory Computing, using Python as the high level language 5. binary numbers, the bit (b), byte (B) and word Computers have millions of pieces of hardware (memory/registers) that are in one of two states up/down (N/S) (magnetism, harddisk) switch on/off voltage high/low current high/low These states are represented by 0/1 You don't have to know what the hardware is doing or even what the hardware technology is, or whether a 0 is represented by high or low voltage. Some hardware maintains its state without power e.g. floppy disks harddisks flash memory Most hardware looses its state when switched off e.g. RAM (random access memory in the computer) how much memory is in a typical hard disk, flash disk, floppy disk, RAM [1] ? Since there are only two states (two = bi), the state is represented by a binary digit (called a bit). 5.1. The number system in common daily use is called decimal. 5.2. bit, wikipedia ( The value represented by each digit in the number 102 depends on it's position. From this we find 5.5. 6. 6.2.

BeeWare: Una colección de herramientas para Python Todo desarrollador tiene herramientas particulares que le ayudan en su trabajo del día a día. En esta entrega te mostraremos un compendio de herramientas muy útiles al momento de programar con Python. BeeWare es una iniciativa que busca recopilar un conjunto de herramientas que faciliten la vida a los desarrolladores de Python. A diferencia de un IDE (entorno de desarrollo integrado) cada herramienta es independiente y se puede usar por separado. La filosofía del proyecto es la misma de UNIX: pequeñas herramientas que hagan tareas simples pero que en conjunto puedan lograr cosas mucho más complejas. Herramientas Entre las herramientas que proporciona BeeWare tenemos: Cricket: una herramienta gráfica para la ejecución de pruebas unitariasBugjar: una interfaz gráfica e interactiva para depurar código. Librerias BeeWare también dispone de librerías, entre ellas están: Beeware es Open Source y está disponible en Github, así que los curiosos o aquellos con ganas de colaborar son bienvenidos.

Planet Python Hidden features of Python O'Reilly Python cookbook code samples ratings review Welcome, guest | Sign In | My Account | Store | Cart ActiveState Code » Recipes Languages Tags Authors Sets NOTE: Recipes have moved! Popular Python recipes Tags: Recipe 1 to 20 of 4591 « Prev 1 2 3 ... 230 Next » View popular, latest, top-rated or most viewed Feed of the popular Python recipes Python Versions Top-rated recipes Python tags more… algorithms database debugging files graphics linux math mathematics network oop programs python shortcuts sysadmin text threads tkinter web windows xml Accounts Code Recipes Feedback & Information ActiveState Privacy Policy | Contact Us | Support © 2018 ActiveState Software Inc.

Libros que deberías leer si quieres aprender Python Anteriormente les hemos contado sobre recursos en línea para aprender a programar e incluso hemos destacado algunos muy buenos específicamente para aprender Python. Pues en esta entrega nos vamos por lo retro y te presentaremos 5 libros con los que puedes estudiar el lenguaje de programación Python. Learn Python the Hard Way Learn Python the Hard Way (o Aprende Python por el camino difícil, en español) es un libro que, a pesar del título, está orientado a principiantes con poco o ningún conocimiento sobre programación. Si bien no promete convertirte en un hacker de Python de la noche a la mañana, es una excelente herramienta para formarte unas bases sólidas y apuntarte en la dirección correcta para que continúes aprendiendo. A Byte of Python A Byte of Python es un libro muy similar a Learn Python The Hard Way, pero te ofrece una introducción más detallada de cómo obtener tu configuración ideal de Python y cómo lograr las cosas de forma rápida y sin sufrimiento. Think Python Learning Python

The Python Standard Library While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions. Python’s standard library is very extensive, offering a wide range of facilities as indicated by the long table of contents listed below. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. The Python installers for the Windows platform usually include the entire standard library and often also include many additional components.

Learning Python Design Patterns Through Video Lectures In my previous post about learning Python programming through video lectures I stopped at three lectures on Design Patterns. This time I continue from there. If you don't know what a Design Pattern is, think of it as a simple solution to a specific problem that occurs very frequently in software design. For example, suppose you use a bunch of unrelated pieces of code. The three lectures are given by Alex Martelli who works as "Über Tech Lead" for Google. Python Design Patterns, Part I Alex briefly covers the history and main principles of Design Patterns and quickly moves to discussing Structural and Behavioral DPs in Python. Interesting ideas from the lecture: Python Design Patterns, Part II In this lecture Alex discusses behavioral patterns. Python Design Patterns, A Recap This video lecture was presented at Google Developers day. I did not write out the interesting moments from this lecture as it was a subset of previous two lectures.

Swaroop C H, The Dreamer » A Byte of Python Girish Kadkol and Sampad Swain say: “Aspiring techies and college students recommend to follow @swaroopch , his blogs are good and knowledgeable.” Atul Chitnis says: ”What’s awesome is @swaroopch’s blog posts, and how they MAKE me & others think.” Snehal Pal says: ”His blog is an amazing assortment of advice and contains stories of life as a techie, startups and hacks.” Sreehari says: ”Awesome awesome blog of @swaroopch ! Must read!! No wonder it remains one among the top 10 #blogs in india! Prashish Rajbhandari says:“Reading @swaroopch ‘s blog. Sitakanta says: ”The blog of @swaroopch is responsible for me leaving job to do this mad thing called a startup. Vinay H R says:“The more I read @swaroopch blogs, the more inspiration I get from it.” Krishna Bharadwaj says: “I consider Paul Graham and Joel Spolsky as some of the greatest technical writers. Avinash Kundaliya says:“Yeah! Chaitanya Nettem says: ”I love your blog. A Byte of Python ⇒ Read Online A Byte of Vim

10 juegos que ayudan a aprender a programar No se aprende a programar con un curso de 20 horas, ni mucho menos jugando, pero sí hay recursos que ayudan a entender la lógica de la programación, o que nos permiten conocer las bases de algún lenguaje específico. En la lista de hoy os mostramos algunos de estos recursos, juegos que han sido creados para ayudar a grandes y pequeños a entrar en un mundo extremadamente complejo, el de la programación. Los grandes programadores tienen muchos años de experiencia a sus espaldas, miles y miles de horas delante de funciones, procedimientos, clases y demás “palabrotas” del sector, pero todos ellos empezaron por algún lugar, en esta lista mostramos algunos de dichos lugares: – Check Io: Para aprender Python y Javascript en un entorno realmente moderno y agradable. Tenemos que construir una base espacial y conquistar otras a medida que programamos. – Nos ayuda a aprender a programar en más de 25 lenguajes diferentes. Como veis, opciones no faltan, así que ya no hay excusa.

The Python Tutorial Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). This tutorial introduces the reader informally to the basic concepts and features of the Python language and system.

Deployment Deployment involves packaging up your web application and putting it in a production environment that can run the app. Why is deployment necessary? Your web application must live somewhere other than your own desktop or laptop. A production environment is the canonical version of your current application and its associated data. Deployment topics map Python web application deployments are comprised of many pieces that need to be individually configured. Deployment hosting options There are four options for deploying and hosting a web application: The first three options are similar. Note that there are other ways of installing a Python web application through system-specific package management systems. Deployment resources Deployment learning checklist If you're tight on time look at the platform-as-a-service (PaaS) options. How would you like to deploy your web app? Show me options for bare metal and virtualized servers. How do I use a platform-as-a-service to deploy my Python app?.