background preloader

Python Tools for Visual Studio

Python Tools for Visual Studio

CodePlex - Open Source Project Hosting Sandcastle Help File Builder - Home Adventures in Depression Some people have a legitimate reason to feel depressed, but not me. I just woke up one day feeling sad and helpless for absolutely no reason. It's disappointing to feel sad for no reason. Sadness can be almost pleasantly indulgent when you have a way to justify it - you can listen to sad music and imagine yourself as the protagonist in a dramatic movie. You can gaze out the window while you're crying and think "This is so sad. I can't even believe how sad this whole situation is. But my sadness didn't have a purpose. Essentially, I was being robbed of my right to feel self pity, which is the only redeeming part of sadness. And for a little bit, that was a good enough reason to pity myself. Standing around feeling sorry for myself was momentarily exhilarating, but I grew tired of it quickly. I tried to force myself to not be sad. When I couldn't will myself to not be sad, I became frustrated and angry. Which made me more sad. Which then made me more frustrated and abusive. I felt invincible.

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: 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. Below is the ebook’s Introduction, which gives you more details about the ebook.

Understanding Python's "with" statement Fredrik Lundh | October 2006 | Originally posted to Judging from comp.lang.python and other forums, Python 2.5’s new with statement (dead link) seems to be a bit confusing even for experienced Python programmers. As most other things in Python, the with statement is actually very simple, once you understand the problem it’s trying to solve. Consider this piece of code: set things up try: do something finally: tear things down Here, “set things up” could be opening a file, or acquiring some sort of external resource, and “tear things down” would then be closing the file, or releasing or removing the resource. If you do this a lot, it would be quite convenient if you could put the “set things up” and “tear things down” code in a library function, to make it easy to reuse. def controlled_execution(callback): set things up try: callback(thing) finally: tear things down def my_function(thing): do something controlled_execution(my_function) This wasn’t very difficult, was it?

Coding4Fun Getting started with Cinder for Windows Store Apps Rick Barraza will present a high level overview of the state of creative coding on Windows Store apps and then walk through setting up and working with the Cinder library in Visual Studio for creating amazing computational art. MissionControl - A Flexible API for Remote Device Control In a race to optimize everything, developers often go to extremes to build software that performs routine tasks. MissionControl is a system that allows users to program a control center that stores interfaces with attached hardware sensors, allowing the users to control any other devices that can be activated via the underlying protocol. For demo purposes, the MissionControl build at this point is compatible with the Phidgets IR hybrid sensor. Panoramic Camera Head The Pano Head is a rotating platform for a camera that mounts on a tripod and is controlled from your Windows Phone 8 device over Bluetooth. Articles 3 minutes, 49 seconds

Download Visual Studio Image Library from Official Microsoft Download Center <a id="b7777d05-f9ee-bedd-c9b9-9572b26f11d1" target="_self" class="mscom-link download-button dl" href="confirmation.aspx?id=35825" bi:track="false"><span class="loc" locid="46b21a80-a483-c4a8-33c6-eb40c48bcd9d" srcid="46b21a80-a483-c4a8-33c6-eb40c48bcd9d">Download</span></a> The Visual Studio Image Library contains application images that appear in Microsoft Visual Studio, Microsoft Windows, the Office system and other Microsoft software. DetailsNote:There are multiple files available for this download.Once you click on the "Download" button, you will be prompted to select the files you need.Visual Studio 2012 Image Library EULA.docxVisual Studio 2013 Image Library EULA.docxVS2012 Image Library.zipVS2013 Image Library.zip35 KB33 KB19.4 MB285.6 MB The Visual Studio Image Library contains application images that appear in Microsoft Visual Studio, Microsoft Windows, the Office system and other Microsoft software.

Coding For Kids From Coding For Kids How do I use a wiki? For those of you not familiar with wikis it is really very simple: 1. Register in the top right hand corner, it says that you don't have to but you do in order to edit the text 2. Check your email for a message from mediawiki that you will use to activate your account 3. Go to the re-opened page of the wiki 4. All versions and revision histories are there for everyone to see, and please take note that it is available under creative commons licensing, this means that it is all open and free for every single person in the world to access and use the information there if they fancy. Coding for Kids Statement of intent One of the catalysts was a speech by Google CEO Eric Schmidt in which he said the country that invented the computer was "throwing away your great computer heritage" by failing to teach programming in schools. This wiki is an open, free to be edited by anyone resource for Coding for Kids. Make your pledge(s) Find us online Useful contacts

Percentage Percentages are often useful in programs.With the numbers oneand two,we can get a percentage of 50%. We display and process percentages with doubles. We solve an annoying rounding problem. Double Example First, we see some code that uses string.Format to display two numbers or ratio as a percentage. string.Format Also:The second DisplayPercentage accepts two parameters and then passes the ratio of them to the other method. Casts Finally:GetPercentageString accepts a double containing a ratio and returns a percentage string using ToString(). ToString Example 2 Here we convert two integers into a percentage manually with division and multiplication. Program that converts ratios: C# using System; class Program { static void Main() { // We want to have 92.9% from these two numbers. int valid = 92; int total = 99; // First multiply top by 100 then divide. double percent = (double)(valid * 100) / total; // <-- Use cast // This is the percent number. Casting to double. Divide Modulo Modulo Summary

Tutorial - Learn Python in 10 minutes - Stavros&#039; Stuff NOTE: If you would like some Python development done, my company, Stochastic Technologies, is available for consulting. This tutorial is available as a short ebook. The e-book features extra content from follow-up posts on various Python best practices, all in a convenient, self-contained format. All future updates are free for people who purchase it. Preliminary fluff So, you want to learn the Python programming language but can't find a concise and yet full-featured tutorial. Properties Python is strongly typed (i.e. types are enforced), dynamically, implicitly typed (i.e. you don't have to declare variables), case sensitive (i.e. var and VAR are two different variables) and object-oriented (i.e. everything is an object). Getting help Help in Python is always available right in the interpreter. >>> help(5)Help on int object:(etc etc) >>> dir(5)['__abs__', '__add__', ...] >>> abs. Syntax Python has no mandatory statement termination characters and blocks are specified by indentation. Strings

Related:  PythonIronPythonIDE