You are here

Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Python claims to "[combine] remarkable power with very clear syntax", and its standard library is large and comprehensive. Its use of indentation for block delimiters is unique among popular programming languages.
snippet - Python 2: Save directory to Amazon S3 using boto
27 Feb, 2017
You can save files to Amazon with Python using library called boto. Boto is a Python interface to Amazon Web Services and we need just a tiny part of it. If you have very large files you have to...
snippet - SQLAlchemy custom column names for queries
20 Feb, 2017
To get custom columns from a query you can use the with_entities() method to restrict which columns you'd like to return in the result. Use label() method to give AS value to your query. To use...
snippet - Python write to tmp directory
10 Feb, 2017
Snippet shows you how to write to temporary directory. You can either write a single file, or do stuff in a directory. In any case you should remove the files and folders after you have done your...
snippet - Python: Get timestamp in seconds
27 Jan, 2017
Get timestamp in seconds as integer in Python using the time library.
snippet - Check if Python module is installed on your system
7 Nov, 2015
Check if a python module is installed or not on the system. The simplest way to do it is in terminal.
snippet - Show image in Python PyQt5 window
24 Dec, 2014
How to display an image in Python. Using PyQt5 application window.
snippet - Set window title for Python PyQt5 window
24 Dec, 2014
To set window title in Python PyQt5 you must have first created a window for your application.
snippet - Create application window using PyQt5 in Python
22 Dec, 2014
Create an application window using PyQt5 in Python. People at G+ suggested PyQt over Tkinter. So I am going to dig into that. I found a lot of tutorials about this process. Most of them included OOP...
snippet - Create a menu to Python Tkinter application window
20 Dec, 2014
Create a menu to your Python Tkinter application window. Create a simple pulldown / dropdown menu using TK in Python.
snippet - Create application window using Pythons Tkinter
20 Dec, 2014
Create an application window using Python's Tkinter. Window is the bases of every program, even full screen is actually a window.