Python Tools for Visual Studio
By Martino Sabia and Cathy Wang
()
About this ebook
The book is intended for developers who are aiming to enhance their productivity in Python projects with automation tools that Visual Studio provides for the .Net community. Some basic knowledge of Python programming is essential.
Related to Python Tools for Visual Studio
Related ebooks
Mastering Python Rating: 0 out of 5 stars0 ratingsParallel Programming with Python Rating: 0 out of 5 stars0 ratingsMastering Objectoriented Python Rating: 5 out of 5 stars5/5Python Data Structures and Algorithms Rating: 5 out of 5 stars5/5The Ultimate Python Programming Guide For Beginner To Intermediate Rating: 4 out of 5 stars4/5Flask Blueprints: Dive into the world of the Flask microframework to develop an array of web applications Rating: 0 out of 5 stars0 ratingsKivy Blueprints Rating: 0 out of 5 stars0 ratingsPython Essentials Rating: 5 out of 5 stars5/5Microsoft Azure Machine Learning Rating: 4 out of 5 stars4/5Python In - Depth: Use Python Programming Features, Techniques, and Modules to Solve Everyday Problems Rating: 0 out of 5 stars0 ratingsMASTERING PYCHARM: Use PyCharm with fluid efficiency to write idiomatic python code Rating: 5 out of 5 stars5/5Learning Object-Oriented Programming Rating: 4 out of 5 stars4/5Data Analysis with Python: Introducing NumPy, Pandas, Matplotlib, and Essential Elements of Python Programming (English Edition) Rating: 0 out of 5 stars0 ratingsLearn Python in 10 Minutes Rating: 4 out of 5 stars4/5Basic Core Python Programming: A Complete Reference Book to Master Python with Practical Applications (English Edition) Rating: 0 out of 5 stars0 ratingsMachine Learning with Spark and Python: Essential Techniques for Predictive Analytics Rating: 0 out of 5 stars0 ratingsThe 1 Page Python Book Rating: 2 out of 5 stars2/5Profound Python Libraries Rating: 0 out of 5 stars0 ratingsExpert Python Programming - Second Edition Rating: 2 out of 5 stars2/5Functional Python Programming Rating: 0 out of 5 stars0 ratingsPython 3 Object Oriented Programming Rating: 4 out of 5 stars4/5Advance Core Python Programming: Begin your Journey to Master the World of Python (English Edition) Rating: 4 out of 5 stars4/5Python Web Scraping - Second Edition Rating: 5 out of 5 stars5/5
Internet & Web For You
Coding For Dummies Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 4 out of 5 stars4/5Canva Tips and Tricks Beyond The Limits Rating: 3 out of 5 stars3/5More Porn - Faster!: 50 Tips & Tools for Faster and More Efficient Porn Browsing Rating: 3 out of 5 stars3/5Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5How to Be Invisible: Protect Your Home, Your Children, Your Assets, and Your Life Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Get Into UX: A foolproof guide to getting your first user experience job Rating: 4 out of 5 stars4/5UX/UI Design Playbook Rating: 4 out of 5 stars4/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5SEO For Dummies Rating: 4 out of 5 stars4/5The Complete Website Planning Guide Rating: 4 out of 5 stars4/5The Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5Cybersecurity For Dummies Rating: 5 out of 5 stars5/5The Gothic Novel Collection Rating: 5 out of 5 stars5/5Ready, Set, Brand!: The Canva for Work Quickstart Guide Rating: 5 out of 5 stars5/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5How To Start A Profitable Authority Blog In Under One Hour Rating: 5 out of 5 stars5/5Content Chemistry: The Illustrated Handbook for Content Marketing Rating: 5 out of 5 stars5/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratings
Reviews for Python Tools for Visual Studio
0 ratings0 reviews
Book preview
Python Tools for Visual Studio - Martino Sabia
Table of Contents
Python Tools for Visual Studio
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
Special thanks from the authors
1. Introduction to PTVS
Step-by-step installation and configuration
PTVS tools overview
The Python Environments window
Python Interactive
Visual Studio panels with PTVS
Summary
2. Python Tools in Visual Studio
Mastering IntelliSense with Python
Using REPL in Visual Studio
Navigating code with ease
Object Browser
Summary
3. Day-to-day Coding Tools
Project handling
Solution
Project
Specifying Python environments
Defining Search Paths
Refactoring
Debugging
Using breakpoints
Utilizing watch entries
Summary
4. Django in PTVS
Django project template and tools
Installing a Python package
Running the application
IntelliSense in Django templates
Setting up and managing a database for a Django project
Setting up the admin interface
Creating a new Django application
Deploying a Django project on Microsoft Azure
Summary
5. Advanced Django in PTVS
Library management
The Fabric library – the deployment and development task manager
South – the database deployment library
Why use South with Django
Installing South
Schema migration with South
Summary
6. IPython and IronPython in PTVS
IPython in PTVS
IronPython
Using .NET classes in Python code with IronPython
Using the Python code in .NET with IronPython
Summary
Index
Python Tools for Visual Studio
Python Tools for Visual Studio
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2014
Production Reference: 1140414
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-868-7
www.packtpub.com
Cover Image by Cathy Wang (<[email protected]>)
Credits
Authors
Martino Sabia
Cathy Wang
Reviewers
Steve Dower
Fabio Lonegro
Chris Marinic
Commissioning Editor
Anthony Albuquerque
Acquisition Editor
Harsha Bharwani
Content Development Editor
Sriram Neelakantan
Technical Editor
Shashank Desai
Copy Editors
Roshni Banerjee
Gladson Monteiro
Project Coordinator
Melita Lobo
Proofreader
Paul Hindle
Indexers
Monica Ajmera Mehta
Priya Subramani
Production Coordinator
Conidon Miranda
Cover Work
Conidon Miranda
About the Authors
Martino Sabia is a curious-minded developer with close to 30 years of coding experience. Throughout his years of working with different platforms and languages, he has always kept his mind fresh while finding creative ways of using different technologies. Based in Italy, Martino has spent his career in various start-up companies, working in numerous roles from junior developer to software architect. Now he is the Project Lead for Deltatre; he works on consumer-facing, heavy-traffic websites and media-streaming platforms in the sports industry.
Cathy Wang is an experienced designer who specializes in service design and experience strategy. She has worked on many cross-channel projects and served as a design lead for enterprise services around the globe in fields ranging from Telecom to public sectors. Cathy has worked for world-class design agencies to help bring visions to life. In her free time, she builds web projects and apps. She is infinitely curious about new technologies and the experiences they can bring.
About the Reviewers
Steve Dower works at Microsoft and is a developer of Python Tools for the Visual Studio team.
Fabio Lonegro has spent many years doing research in theoretical physics (String and Gauge theory) and collaborating with many divulgating projects, including the translation of Peter Woit's book Not Even Wrong. He was always passionate about web development and has spent the last 15 years working on web projects related to e-learning and data visualization. He is now a developer at Deltatre spa, where his work is focused on many fields, from the integration of complex data with multimedia streams for both mobile and desktop experiences to custom solutions for web content indexing and the development of Node.js. Currently, he uses Python for a variety of applications that involve data which comes from Arduino and Raspberry Pi shields. He is also a capoeira teacher, a passionate cyclist, and above all, a caring father.
Chris Marinic is an autodidact with decades of engineering experience. Growing up, he excelled at computer science, often mentoring his fellow students. He designed, developed, launched, and sold his own start-up while working full-time as the Director of Engineering at Sabre Hospitality Solutions.
www.PacktPub.com
Support files, eBooks, discount offers, and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers, and morehttp://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access,