963 shaares
117 results
tagged
python
Apprenez les concepts et syntaxes de base pour les langages de programmation les plus populaires.
Notre objectif est de faire découvrir la programmation et l'algorithmique au plus grand nombre de personnes possible. Nous créons et diffusons gratuitement des outils et contenus permettant de progresser rapidement dans ces domaines, et organisons des concours pour accompagner cette progression.
Adding source code to ASCIIDoc documents is easy. ASCIIDoctor can be used to easily convert them to HTML5 documents using the html5 backend (which is the default). However, the source code is not rendered with syntax highlighting.
pylabels is a Python library for creating PDFs to print sheets of labels. It uses the ReportLab PDF toolkit to produce the PDF, and works under both Python 2 and Python 3.
The Reportlab library is a great way to generate PDFs in Python. Recently, I noticed that it has the ability to do barcodes. I had heard about it being able to generate QR codes, but I hadn’t really dug under the covers to see what else it could do. In this tutorial, we’ll take a look at some of the barcodes that Reportlab can generate. If you don’t already have Reportlab, go to their website and get it before jumping into the article.
Command line interface for testing internet bandwidth using speedtest.net
speedtest-cli tests your Internet speed using the popular speedtest.net website and it supports listing servers sorted by distance, testing against a specific server, you can use it with a Speedtest Mini server and it can even generate and provide a URL to the speedtest.net share results image.
A .gitignore magician in your command line
Quick and dirty debugging output for tired programmers.
Python3 Tutorial : Those who want to learn Python ask themselves quite often: "Which version should I use?" If you are free to choose, i.e. if there are no restriction by previous code or company standards, we think you should start with Python3. So, please go on with this tutorial, which is meant to be a tutorial for beginners and programmers switching from other programming languages to Python.
It's an introduction into Python for beginners and intermediate learners with lots of examples and exercises! It's suitable and meant for self-study.
This online Python course was created and is maintained by Bernd Klein, an experienced Python trainer, giving training classes all over the world.
It's an introduction into Python for beginners and intermediate learners with lots of examples and exercises! It's suitable and meant for self-study.
This online Python course was created and is maintained by Bernd Klein, an experienced Python trainer, giving training classes all over the world.
In this chapter of our Python tutorial we will have a closer look at the various ways of creating nicer output in Python. We present all the different ways, but we recommend that you should use the format method of the string class, which you will find at end of the chapter. "string format" is by far the most flexible and Pythonic approach.
This module can be used to generate web feeds in both ATOM and RSS format. It has support for extensions. Included is for example an extension to produce Podcasts.
It is licensed under the terms of both, the FreeBSD license and the LGPLv3+. Choose the one which is more convenient for you. For more details have a look at license.bsd and license.lgpl.
It is licensed under the terms of both, the FreeBSD license and the LGPLv3+. Choose the one which is more convenient for you. For more details have a look at license.bsd and license.lgpl.
Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension modules, including Dublin Core and Apple’s iTunes extensions.
Flask comes packaged with the powerful Jinja templating language.
For those who have not been exposed to a templating language before, such languages essentially contain variables as well as some programming logic, which when evaluated (or rendered into HTML) are replaced with actual values. The variables and/or logic are placed between tags or delimiters. For example, Jinja templates use {% ... %} for expressions or logic (like for loops), while {{ ... }} are used for outputting the results of an expression or a variable to the end user. The latter tag, when rendered, is replaced with a value or values, and are seen by the end user.
For those who have not been exposed to a templating language before, such languages essentially contain variables as well as some programming logic, which when evaluated (or rendered into HTML) are replaced with actual values. The variables and/or logic are placed between tags or delimiters. For example, Jinja templates use {% ... %} for expressions or logic (like for loops), while {{ ... }} are used for outputting the results of an expression or a variable to the end user. The latter tag, when rendered, is replaced with a value or values, and are seen by the end user.
Hi, welcome to Websites with Python Flask. In this workshop we will take you through the fundamentals of creating dynamic websites using the Python Flask library. After the workshop you should have a rough mental picture of how websites work and some good pointers for getting further with websites of your own.
Explore Flask is a book about best practices and patterns for developing web applications with Flask. The book was funded by 426 backers on Kickstarter in July 2013.
I finally released the book, after spending almost a year working on it. Almost immediately I was tired of managing distribution and limiting the book’s audience by putting it behind a paywall. I didn’t write a book to run a business, I wrote it to put some helpful content out there and help grow the Flask community. In June of 2014, soon after finishing the book, I reformatted it for the web and released it here for free. No payment or donation or anything required. Just enjoy!
I finally released the book, after spending almost a year working on it. Almost immediately I was tired of managing distribution and limiting the book’s audience by putting it behind a paywall. I didn’t write a book to run a business, I wrote it to put some helpful content out there and help grow the Flask community. In June of 2014, soon after finishing the book, I reformatted it for the web and released it here for free. No payment or donation or anything required. Just enjoy!
With WTForms, your form field HTML can be generated for you, but we let you customize it in your templates. This allows you to maintain separation of code and presentation, and keep those messy parameters out of your python code. Because we strive for loose coupling, you should be able to do that in any templating engine you like, as well.