To run several versions of Python on a windows machine, install whatever versions of python you want, but don’t add them to your path variable. (This will be an option on the second page of the python installer.)
Instead when you want to run a version of Python, call directly to the exe. ie:
This way you can play with all the Pythons you want!
Next is creating a shortcut for this because writing this every time is a bit tedious. Any tips?
If you’re using visual studio to develop a python project. You don’t have to run it with python. Simply open command prompt or powershell to the visual studio directory and it acts like any other file system.
I’m learning Django web framework, but I’m learning from tutorials that are agnostic, so I wasn’t sure if I was going to learn how to run the server or complete unit tests.
But no problems so far. Just treat visual studio like Sublime, and use a command prompt to test your code.
This is how I’m running my server from the command prompt!
C:/Python27/python.exe manage.py runserver
I’m run this below the .sln level
Djangoapp <---- CD into this file and run.
[caption id="attachment_1581" align="aligncenter" width="474"] IBM has fight songs. Early adopter of “Company Culture” Lots of awesome stuff at the Computer History Museum: Click on the photo to find out more. [/caption]