Trinsec bookmarks: Python - page: 1urn:uuid:{CFAEF65F-3956-1515-042E-2452CD17B0AC}2024-03-29T05:44:07ZTkinter assign button command in loop with lambda722772018-02-07T08:57:55ZZI'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...83TrinsecWhat is the purpose of self?722782018-01-25T10:27:20ZZWhat 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...83TrinsecWhat is the purpose of self?726962018-01-25T10:26:05ZZWhat 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...83TrinsecPython GUI Examples (Tkinter Tutorial)722792018-01-23T20:59:26ZZLearn 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…83TrinsecImprove Your Python: Python Classes and Object Oriented Programming722802018-01-15T12:01:32ZZImprove Your Python: Python Classes and Object Oriented Programming83TrinsecAn Introduction to ConfigObj Handling Configuration Files with ConfigObj722812018-01-10T11:05:21ZZWebsite of Michael Foord. Python programming articles, projects and technical blog.83TrinsecInstall and Configure mod_wsgi on Ubuntu 16.04719602017-12-22T19:33:46ZZmod_wsgi is an Apache module that provides a standard and efficient method for serving dynamic web applications.83TrinsecLet’s Build A Web Server. Part 1.722842017-12-10T09:20:47ZZMake a simple webserver with Python.83TrinsecCreating an Executable from a Python Script722862017-12-07T09:44:18ZZPython 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…83TrinsecCrop Images with PIL/Pillow722872017-12-06T12:13:45ZZPython Patterns is a directory of Python snippets and examples. Follow @pythonpatterns on Twitter.83TrinsecOn Python 3.5: Colorama does not recognize Windows environment · Issue #79 · tartley/colorama722882017-11-10T20:24:02ZZSince 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...83Trinseccolorama 0.3.9 : Python Package Index722952017-11-10T20:16:26ZZCross-platform colored terminal text.83TrinsecSthurlow.com Python Tutorial - Home722972017-11-10T15:20:11ZZWhen 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...83Trinsecpython - How do I list all files of a directory? - Stack Overflow722982017-07-19T09:05:00ZZHow can I list all files of a directory in Python and add them to a list?83TrinsecFind all files in a directory with extension .txt in Python - Stack Overflow722992017-07-19T09:04:44ZZHow can I find all the files in a directory having the extension .txt in python?83TrinsecReportlab hello world with an image, bulleted list, and enumerated list. · GitHub723002017-07-19T09:04:25ZZReportlab hello world with an image, bulleted list, and enumerated list. · GitHub83TrinsecA Python Import Tutorial for Beginners | Codementor723012017-07-19T09:03:59ZZThis 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.83TrinsecReportlab: Mixing Fixed Content and Flowables - DZone Web Dev723022017-07-19T09:03:30ZZRecently 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....83TrinsecReportlab Tables – Creating Tables in PDFs with Python | The Mouse Vs. The Python723032017-07-19T09:03:15ZZ83TrinsecPython reportlab.lib.units.mm Examples723042017-07-19T08:51:25ZZThis page provides python code examples for reportlab.lib.units.mm. The examples are extracted from open source python projects from GitHub.83TrinsecParagraph styles in ReportLab723052017-07-19T08:51:06ZZPython Patterns is a directory of Python snippets and examples. Follow @pythonpatterns on Twitter.83TrinsecLiteDB :: A .NET embedded NoSQL database723062017-07-19T08:41:20ZZLiteDB : LiteDB - A .NET NoSQL Document Store database in a single data file83TrinsecSQLAlchemy - The Database Toolkit for Python723072017-07-19T08:41:07ZZ83Trinsechttps://www.reportlab.com/docs/reportlab-userguide.pdf723082017-07-19T08:40:34ZZ83TrinsecOutputting PDFs with Django | Django documentation | Django723092017-07-19T08:39:39ZZ83TrinsecDjango 1.2 E-commerce: Generating PDF Reports from | PACKT Books723102017-07-19T08:39:13ZZDjango 1.2 E-commerce: Generating PDF Reports from Python using ReportLab written by Jesse Legg: one of the many articles from Packt Publishing83TrinsecImage aspect ratio using Reportlab in Python - Stack Overflow723112017-07-19T08:37:26ZZI 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...83TrinsecThe Book723122017-06-18T09:05:28ZZ""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."83TrinsecGotcha — backslashes in Windows filenames | Python Conquers The Universe723132017-05-27T13:36:21ZZGoto 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…83TrinsecWelcome to Pyramid, a Python Web Framework723142017-05-23T20:18:33ZZ"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."83TrinsecCreating an Executable from a Python Script | Matt Borgerson723152017-05-08T19:16:47ZZFortunately, 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.).83TrinsecWelcome to PyInstaller official website — PyInstaller723162017-05-08T19:14:14ZZPyInstaller 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.83TrinsecGitHub - cyrus-and/gdb-dashboard: Modular visual interface for GDB in Python723182017-02-07T08:19:03ZZ"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.83TrinsecWhy Doesn't Python Have Switch/Case?723212017-01-27T14:08:51ZZ"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:"83Trinsecpygame723232016-06-15T20:17:52ZZ83Trinsecaroberge/rur-ple723242016-06-15T20:05:37ZZProgram a robot around the grid with this Python app.83TrinsecSelecting and Installing Python Interpreters · Microsoft/PTVS Wiki · GitHub723252015-12-18T10:24:31ZZPTVS - Python Tools for Visual Studio83TrinsecPTVS Installation · Microsoft/PTVS Wiki · GitHub723262015-12-18T10:23:59ZZPTVS - Python Tools for Visual Studio83TrinsecWerkzeug Tutorial — Werkzeug 0.10-dev documentation723282014-07-21T16:49:27ZZ83TrinsecDocumentation Overview — Werkzeug 0.10-dev documentation723292014-07-21T16:27:09ZZ"About WerkzeugWerkzeug is a WSGI utility library. It can serve as the basis for a custom framework.Other Formats"83TrinsecA Byte of Python723512008-06-09T21:09:31ZZ"This book will help you to learn the Python programming language, whether you are new to computers or are an experienced programmer."83TrinsecNon-Programmer's Tutorial for Python/Contents - Wikibooks, collection of open-content textbooks723542007-12-07T15:18:42ZZ83TrinsecDive Into Python723862007-05-29T18:45:03ZZ83TrinsecXpertmud - Linux KDE and Windows MUD Client723962007-05-29T18:39:09ZZXpertmud 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.83Trinsec