Detailed development of the test environment environment for building Python Web locally

I recently wanted to try to create a web application using the Python language on IBM Bluemix, so I need to build a Python Web development test environment locally.

About the Python version

Go to the Python website, mouse over the download on the navigation bar, we will find two download links for the main version!

Python Web development environment to build notes under Windows 7

What is the difference between the two?

Personally understand that the 2.7.x version is a more stable version, while the 3.x version is a more avant-garde version, including many new features and new features;

But if you want to develop a new project in Python, how do you choose the Python version? Most Python libraries support both Python 2.7.x and 3.x versions, so no matter which version you choose, it's okay.

But there are some differences to note, reference: Summary of important differences between Python 2.7.x and 3.x versions

Download Python

Since there is no version specified in Bluemix, V2.7.10 is selected by default, so I decided to download and install V2.7.10.

My operating system is Windows 7 64-bit, so I need to choose to download the 64-bit installation package; click on the image below to enter the Python download page;

Python Web development environment to build notes under Windows 7

Install Python

Run the installation package you just downloaded

Python Web development environment to build notes under Windows 7

Python Web development environment to build notes under Windows 7

The following picture Add python.exe to path (add Python to Path environment variables) must be selected! Otherwise you will encounter the problem shown in the picture below;

Python Web development environment to build notes under Windows 7

Python Web development environment to build notes under Windows 7

Executing the installation process

Python Web development environment to build notes under Windows 7

A Dos window may pop up during the period and will close itself soon;

Python Web development environment to build notes under Windows 7

Python Web development environment to build notes under Windows 7

The installation is complete here, open the command line, type "Python", then press Enter to see it!

Python Web development environment to build notes under Windows 7

About Pip

Pip is a tool for installing and managing Python packages and is a replacement for easy_install.

I saw some articles on the Internet that Pip still needs to be installed separately. It is out of date. After the above steps, Pip has been installed.

About Python IDE

What is an IDE?

IDE= Integrated Development Environment = Integrate development-related environments (and tools)

Python IDE = Python's integrated development environment = various tools related to Python development

In the Start Menu > Programs Python 2.7, you can see the following menu:

Python Web development environment to build notes under Windows 7

Open the interface as follows:

However, the command line provided by Python itself is very uncomfortable because it cannot be repeated by the up and down keys.

Python Web development environment to build notes under Windows 7

Local document service:

Python Web development environment to build notes under Windows 7

Hello World

Python Web development environment to build notes under Windows 7

Paste the following code:

[python] view plain

#! /usr/bin/python

# -*- coding: UTF-8 -*-

Print 'hello world'

For i in range(1,5):

For j in range(1,5):

Usb C Macbook Charger

USB-C Macbook Charger

About this project

ADVANCED SAFE CHARGING: The USB-C MacBook Pro Charger Power Adapter combines advanced safety features and premium fire-resistant materials with built-in protection against overheating, overcharging, overcurrent, and overvoltage.

Fast Charge with PD 3.0: The USB C charger features a Thunderbolt 3 USB C port for full-speed charging, charging a 16-inch MacBook Pro in just 1 hour and 30 minutes. (Note input: AC 100-240V-1.5A(1.5A), 50-60Hz, output: 20.5V=4.7A, 15V=3A, 9V=3A or 5.2V=2.4A.

Wide Compatibility: Macbook Charger is compatible with Mac Pro 16 15 14 13", Mac Air 13", i-Pad Pro 11"/12.9", and also compatible with other USB-C enabled devices. Such as laptops, cameras, smart watches, mobile phones, tablets, game consoles, headphones, Nintendo Switch, etc.

GREAT ALTERNATIVE USB-C CHARGER: This compact USB C laptop charger is designed with a foldable plug for easy portability and convenient home/office and outdoor charging.
What you get: USB C Charger Add a free 6.6" USB-C to USB-C charging cable, compatible with Macbook Pro, Mac book Air, iPad Pro, it's more sturdy, super durable, tangle-free, with a lifespan of over 10000 Second-rate.

usb c charger for macbook,macbook usb c charger,usb c macbook adapter,usb c macbook power adapter

Shenzhen Waweis Technology Co., Ltd. , https://www.laptopsasdapter.com