background preloader

Python Tools for Visual Studio - Home

Python Tools for Visual Studio - Home

Free ebook: Programming Windows 8 Apps with HTML, CSS, and JavaScript - Microsoft Press Added April 10, 2014: The second edition of this ebook, updated for Visual Studio 2013 and Windows 8.1, is posted here! Hello, Kraig Brockschmidt here. To help celebrate //build/, I’m delighted to announce the completion of Programming Windows 8 Apps with HTML, CSS, and JavaScript! You can download the ebook in PDF format here: (17.9 MB) EPUB format is here: MOBI format is here: The ebook’s companion content is here: This free ebook provides comprehensive coverage of the platform for Windows Store apps. It has been a wild ride these last few months to finish a book of this magnitude at the same time we were building up to the public release of Windows 8. In the end, then, there is much in this ebook that will be highly valuable to developers working on Windows 8 apps in whatever language. Introduction Welcome, my friends, to Windows 8! Stay in Touch

Green Unicorn PythonAnywhere Website Thumbnails with CSS — Boldewyn’s Website A thumb­nail view of a web­site is mean­while a com­mon sight. Google has re­cently in­tro­duced it in its search res­ults page, and nu­mer­ous ad ser­vices offer more or less an­noy­ing tool tips with page pre­views. What all these in­stances have in com­mon is the need for ren­der­ing the webpage in ques­tion on the server and dis­play­ing the image only to the cli­ent. In this art­icle I’ll show a thumb­nail tech­nique that works in the browser alone (given some CSS3 sup­port). The Tech­nique A thumb­nail is a mini­fied ver­sion of the ori­ginal. The above will render the ele­ment with ID #thumb at ⅓ of its ori­ginal size. The trick is now to apply this CSS to an iframe ele­ment. Since the cor­res­pond­ing CSS3 spe­cific­a­tions are not final yet, we have to set the known browser pre­fixes for the newer CSS prop­er­ties. En­han­cing with Javas­cript There is one major draw­back of the above simple CSS. width: 320px; height: 160px; Auto-Thumb­nails It Could be more Power­ful A Final Note

SQLAlchemy Python Development with PyDev and Eclipse Python Development with PyDev and Eclipse - Tutorial Copyright © 2009, 2010, 2011, 2012, 2013 vogella GmbH Python, Pydev and Eclipse This article describes how to write and debug Python programs with Eclipse This article is based on Eclipse 4.3, Python 3.3.1 and PyDev version 2.7.3. Python is an interpreted programming language and claims to be a very effective programming language. The name Python is based on the TV show called Monty Python's Flying Circus. Key features of Python are: high-level data types, as for example extensible lists statement grouping is done by indentation instead of brackets variable or argument declaration is not necessary supports for object-orientated, procedural and functional programming style 1.2. Python identify blocks of code by indentation. This tutorial will first explain how to install Python and the Python plugins for Eclipse. Download Python from 2.2. The following assume that you have already Eclipse installed. 2.3. Warning

Getting Started: Building a Chrome Extension Extensions allow you to add functionality to Chrome without diving deeply into native code. You can create new extensions for Chrome with those core technologies that you're already familiar with from web development: HTML, CSS, and JavaScript. If you've ever built a web page, you should feel right at home with extensions pretty quickly; we'll put that to the test right now by walking through the construction of a simple extension that will give you one-click access to pictures of kittens. Kittens! We'll do so by implementing a UI element we call a browser action, which allows us to place a clickable icon right next to Chrome's Omnibox for easy access. Clicking that icon will open a popup window filled with kittenish goodness, which will look something like this: If you'd like to follow along at home (and you should!) The very first thing we'll need to create is a manifest file named manifest.json. The next block defines the extension's name, description, and version.

Bottle Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. Routing: Requests to function-call mapping with support for clean and dynamic URLs.Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.Server: Built-in HTTP development server and support for paste, fapws3, bjoern, gae, cherrypy or any other WSGI capable HTTP server. Example: “Hello World” in a bottle from bottle import route, run, template @route('/hello/<name>')def index(name): return template('<b>Hello {{name}}</b>!', name=name) run(host='localhost', port=8080) Run this script or paste it into a Python console, then point your browser to Download and Install User’s Guide Knowledge Base Development and Contribution

The Python Script Collection For Windows - Automating Microsoft Outlook For Outlook automation it is nesseccary to use the makepy utility. You do this either from the tools menu of the Pythonwin-Editor (installed with Pywin32 or ActivePython) or you call the file c:\python23\Lib\site-packages\win32com\client\makepy.py. You then have to select the Outlook Object Library ("Microsoft Outlook 10.0 Object Library" for Office 10.0 or known as Office XP). After that Python generates cachefiles into the directory c:\python23\Lib\site-packages\win32com\gen_py or c:\temp\gen_py to tell Python more about the Outlook object library. Here is a well known example which dumps all adressbook entries from your default adressbook: Stallion I’m happy to announce the first release v.0.1 of the Stallion project. Stallion is a visual Python package manager compatible with Python 2.6 and 2.7 (I still haven’t tested it with Python 2.5). The motivation behind Stallion is to provide an user friendly visualization with some management features (most of them are still under development) for Python packages installed on your local Python distribution. Stallion is intended to be used specially for Python newcomers. The project is currently hosted at Github, so feel free to fork, contribute, make suggestion, report bugs, etc. All you need to do to install Stallion is to use your favorite Python distribution system, examples: By doing this on your prompt (Windows/Linux), the pip/setuptools will download and install external dependencies (Flask, Jinja, docutils, etc.). And if it’s all ok, Stallion will start the server on localhost only at the port 5000, so all you need to do now is to browse into the URL Home

Related: