#Starting Python Web development in Mac OS X#Objective: Getting started with Python DevelopmentOperating System: Mac OS XPython version installed: 3.5 (5th December 2015)Downoad the lastest Python fromMac OS uses default 2.x version out of box.To check whether, python has been installed successfully. Try the following command. Python3 -VPython 3.5.0Above step ensure that Python 3.5 has been installed successfully.This is the high level outline of this post:Mas OS X - Python 3.5 - Virtaulenv - Flask - app.py(first Hello world )Installing virtaulenv: (Step 1 ofWhy use virtualenv?. Having different version of libraries for different projects. Solves the elevated privillege issue as virtualenv allows you to install with user permission.
![]() ![]()
Modern Mac OS versions come with Python 2.7.x installed (or Python 2.6.1 if an older Mac OS X version), but many Python users may need to. There are following steps which are used while installing Python3 on MacOS. 1) Checking python's version on the system. We can check which version of the Python is currently installed on our system. Generally, Python 2.7 is installed by default. Let's see how can we do it.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |