background preloader

Welcome to Jinja2 — Jinja2 2.7.2 documentation

Welcome to Jinja2 — Jinja2 2.7.2 documentation
Jinja2 is a modern and designer friendly templating language for Python, modelled after Django’s templates. It is fast, widely used and secure with the optional sandboxed template execution environment: <title>{% block title %}{% endblock %}</title><ul>{% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li>{% endfor %}</ul> Features: sandboxed executionpowerful automatic HTML escaping system for XSS preventiontemplate inheritancecompiles down to the optimal python code just in timeoptional ahead of time template compilationeasy to debug. Line numbers of exceptions directly point to the correct line in the template.configurable syntax Additional Information If you can’t find the information you’re looking for, have a look at the index or try to find it using the search function:

Related:  programs

TrackEye : Real-Time Tracking Of Human Eyes Using a Webcam Introduction Eyes are the most important features of the human face. So effective usage of eye movements as a communication technique in user-to-computer interfaces can find place in various application areas. Eye tracking and the information provided by the eye features have the potential to become an interesting way of communicating with a computer in a human-computer interaction (HCI) system. So with this motivation, designing a real-time eye feature tracking software is the aim of this project. The purpose of the project is to implement a real-time eye-feature tracker with the following capabilities: iScroll This script has been superseded by iScroll 4 . This page is kept for historical reasons . Project info

Creating an Awesome Website Design With Gimp If you do a Google search for Photoshop web design tutorial, you will get about 107,000,000 results. It seems to me that there are not enough Gimp tutorials. So, I decided to put together my own. Today, we will be creating a simple blog and portfolio design, using Gimp. By simple, I mean that you can create this using only the Rectangle Select Tool, Bucket Fill Tool, Blend Tool, Paths Tool, Text Tool, and a couple of others. Next week, we will be converting our design into HTML and CSS, so that we will be able to make a WordPress theme out of it.

BeginnersGuide/NonProgrammers Python for Non-Programmers If you've never programmed before, the tutorials on this page are recommended for you; they don't assume that you have previous experience. If you have programming experience, also check out the BeginnersGuide/Programmers page. Books Each of these books can be purchased online and is also available as a completely free website. Automate the Boring Stuff with Python - Practical Programming for Total Beginners by Al Sweigart is "written for office workers, students, administrators, and anyone who uses a computer to learn how to code small, practical programs to automate tasks on their computer."

Flask-OAuth Flask-OAuth is an extension to Flask that allows you to interact with remote OAuth enabled applications. Currently it only implements the consumer interface so you cannot expose your own API with OAuth. Flak-OAuth depends on the python-oauth2 module. Sparksee high-performance graph database Evaluation license Evaluate Sparksee for free downloading the evaluation version right now. The evaluation license provided has the following configuration: SMALL size / 1 session / DEXHA disabled Closure Tools What is the Closure Compiler? The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left.

The Python Standard Library — Python v3.3.3 documentation 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.

UNIX command to find symbolic link or soft link in Linux There are two ways you can find symbolic link or soft link in UNIX based operating system e.g. Linux, Solaris, BSD or IBM AIX. First way is by using ls command in UNIX which display files, directories and links in any directory and other way is by using UNIX find command which has ability to search any kind of files e.g. file, directory or link. In this UNIX command tutorial we will see examples both of these UNIX command for finding soft link in any directory. If you are new to UNIX operating system and not familiar with concept of soft link and hard link, I would recommend to get a good hand on it, as it is one of the most powerful feature of UNIX based system.

Selenium WebDriver The biggest change in Selenium recently has been the inclusion of the WebDriver API. Driving a browser natively as a user would either locally or on a remote machine using the Selenium Server it marks a leap forward in terms of browser automation. Selenium WebDriver fits in the same role as RC did, and has incorporated the original 1.x bindings. It refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just "WebDriver" or sometimes as Selenium 2. WebDriver is the name of the key interface against which tests should be written in Java, the implementing classes one should use are listed as below:

MIME Type Detection in Internet Explorer This topic contains the following sections: MIME type Detection Algorithm The purpose of MIME type detection, or data sniffing, is to determine the MIME type (also known as content type or media type) of downloaded content using information from the following four sources: The server-supplied MIME type, if availableAn examination of the actual contents associated with a downloaded URLThe file name associated with the downloaded content (assumed to be derived from the associated URL)Registry settings (file name extension/MIME type associations or registered applications) in effect during the download Uploaded MIME Types

KEGS/SDL Apple IIGS emulator What is it? Here is my holiday hack on the great KEGS Apple IIGS emulator, which consists of implementing an SDL driver for video, sound, keyboard, and joystick. This should make the emulator portable to many more OSes (incl. BeOS, MacOS, Linux, Win32). The code is based on the original KEGS, with modifications from the KEGS32 port (current version includes modifications up to kegs32r2)

Related:  Libraries and Frameworks