Search
Results
Tkinter assign button command in loop with lambda
I'm trying to create a few buttons (with a for) like so: def a(self, name): print name users = {"Test":"127.0.0.0", "Test2":"128.0.0.0"} row = 1 for name in users: user_button = Tkinter.B...
What is the purpose of self?
What is the purpose of the self word in Python? I understand it refers to the specific object created from that class, but I can't see why it explicitly needs to be added to every function as a par...
Python GUI Examples (Tkinter Tutorial)
Learn how to develop GUI applications using Python Tkinter package, In this tutorial, you'll learn how to create graphical interfaces by writing Python GUI examples, you'll learn how to create a label…
Improve Your Python: Python Classes and Object Oriented Programming
Improve Your Python: Python Classes and Object Oriented Programming
An Introduction to ConfigObj Handling Configuration Files with ConfigObj
Website of Michael Foord. Python programming articles, projects and technical blog.
Let’s Build A Web Server. Part 1.
Creating an Executable from a Python Script
Python is one of my favorite programming languages. That being said, if you've ever had to deploy an application written in Python then you know just how painful it can be. Fortunately, there are some…
Crop Images with PIL/Pillow
Python Patterns is a directory of Python snippets and examples. Follow @pythonpatterns on Twitter.
On Python 3.5: Colorama does not recognize Windows environment · Issue #79 · tartley/colorama
Since my update of Python 3.4 to 3.5 colorama does not recognize a Windows environment if launched from PowerShell. Running colored scripts from cmd.exe does still work. An explicit init(convert=tr...
colorama 0.3.9 : Python Package Index
Sthurlow.com Python Tutorial - Home
When CivilizationTM IV (Firaxis Games, published by Take2) was announced, one of the most exciting features was that much of the scripting code will be in python, and the game data in XML. This tutorial attempts to teach you the basics of python programming that you could use with civIV.Of course, this tutorial is not limited to those who want to play a slow-paced turn-based strategy game. That is what it was written for, but is perfectly useful to any person with no programming knowledge at all, who wants to learn python. But what makes this tutorial unique, is that it is written for...
python - How do I list all files of a directory? - Stack Overflow
How can I list all files of a directory in Python and add them to a list?
Find all files in a directory with extension .txt in Python - Stack Overflow
How can I find all the files in a directory having the extension .txt in python?
Reportlab hello world with an image, bulleted list, and enumerated list. · GitHub
Reportlab hello world with an image, bulleted list, and enumerated list. · GitHub
A Python Import Tutorial for Beginners | Codementor
This tutorial goes over the mechanism of importing those packages - making extra functionality (maybe someone else's code) accessible to your code. Once we've covered the basics of importing, we'll talk about version conflicts and introduce a common tool used for avoiding such conflicts - the virtual environment.
Reportlab: Mixing Fixed Content and Flowables - DZone Web Dev
Recently I needed the ability to use Reportlab’s flowables, but place them in fixed locations. Some of you are probably wondering why I would want to do that....
Reportlab Tables – Creating Tables in PDFs with Python | The Mouse Vs. The Python
Python reportlab.lib.units.mm Examples
This page provides python code examples for reportlab.lib.units.mm. The examples are extracted from open source python projects from GitHub.
Paragraph styles in ReportLab
Python Patterns is a directory of Python snippets and examples. Follow @pythonpatterns on Twitter.
LiteDB :: A .NET embedded NoSQL database
LiteDB : LiteDB - A .NET NoSQL Document Store database in a single data file
SQLAlchemy - The Database Toolkit for Python
https://www.reportlab.com/docs/reportlab-userguide.pdf
Outputting PDFs with Django | Django documentation | Django
Django 1.2 E-commerce: Generating PDF Reports from | PACKT Books
Django 1.2 E-commerce: Generating PDF Reports from Python using ReportLab written by Jesse Legg: one of the many articles from Packt Publishing
Image aspect ratio using Reportlab in Python - Stack Overflow
I want to insert an image inside a frame. I found two ways to do this: drawImage(self, image, x, y, width=None, height=None, mask=None, preserveAspectRatio=False, anchor='c') Image(filename, width...
The Book
""Test-Driven Web Development with Python" aims to teach TDD for web programming. It uses a concrete example -- the development of a website, from scratch -- to explain the TDD metholology and how it applies to building web applications. It covers the Selenium browser-automation tool, unit testing, mocking, and interacting with Web technologies from the basics of static content, database integration, throught the inescapable JavaScript, and onto more advanced (and trendy) topics like NoSQL, websockets and Async programming."
Gotcha — backslashes in Windows filenames | Python Conquers The Universe
Goto start of series Once upon a time there was a beautiful Windows programmer named Red Ridinghood.One day, Red’s supervisor told her that they were going to start building a new application…
Welcome to Pyramid, a Python Web Framework
"The Start Small, Finish Big Stay Finished FrameworkProjects with ambition start small but finish big and must stay finished. You need a Python web framework that supports your decisions, by artisans for artisans."
Creating an Executable from a Python Script | Matt Borgerson
Fortunately, there are some pretty awesome open-source tools that can be used to package a Python program into a standalone binary executable that contains everything needed to run the application (i.e. Python interpreter, program code, libraries, data, etc.).
Welcome to PyInstaller official website — PyInstaller
PyInstaller is a program that freezes (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, FreeBSD, Solaris and AIX. Its main advantages over similar tools are that PyInstaller works with Python 2.7 and 3.3—3.5, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility.
GitHub - cyrus-and/gdb-dashboard: Modular visual interface for GDB in Python
"Modular visual interface for GDB in Python.This comes as a standalone single-file .gdbinit which, among the other things, enables a configurable dashboard showing the most relevant information during the program execution."It looks pretty and interesting. Might be of use for Python fiddling eventually.
Why Doesn't Python Have Switch/Case?
"Unlike every other programming language I've used before, Python does not have a switch or case statement. To get around this fact, we use dictionary mapping:"
pygame
aroberge/rur-ple
Program a robot around the grid with this Python app.
Selecting and Installing Python Interpreters · Microsoft/PTVS Wiki · GitHub
PTVS - Python Tools for Visual Studio
PTVS Installation · Microsoft/PTVS Wiki · GitHub
PTVS - Python Tools for Visual Studio
Werkzeug Tutorial — Werkzeug 0.10-dev documentation
Documentation Overview — Werkzeug 0.10-dev documentation
"About WerkzeugWerkzeug is a WSGI utility library. It can serve as the basis for a custom framework.Other Formats"
A Byte of Python
"This book will help you to learn the Python programming language, whether you are new to computers or are an experienced programmer."
Non-Programmer's Tutorial for Python/Contents - Wikibooks, collection of open-content textbooks
Dive Into Python
Xpertmud - Linux KDE and Windows MUD Client
Xpertmud is an extensible perl, python and ruby scriptable MUD client. It is based on Qt and KDE. There's a native Linux/KDE version as well as a native Windows/Win32 build. This enables you to use the same script on your Linux box at home and on your Windows box at work...It supports multiple windows (which are scriptable), and you can use triggers, aliases or whatever you want on every bit of text that comes from or goes to the server. There's a stable and intuitive plugin API, so you can extend the client with Qt-based C++ code. A sample plugin for the btech MUX is included.