![]()
Python Tools for Visual Studio
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
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
![]()
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
![]()
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.
![]()
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 ...