Python Learning notes--1, Environment building (how to configure Python and Django in Pycharm)

Source: Internet
Author: User

1, prepare the following east, and in order to install: Python 3.6 (64-bit) Django-1.11.tar.gzpycharm-community-2016.3.2.exe installed after the cmd run:
    1. python --version
    2. python -m django --version
Confirm that the installation is complete 2, set up a folder in the D disk: D:\python_workspace\helloworld, in Pycharm in this position to create a new project for HelloWorld 3, in CMD intoD:\python_workspace, run
    1. django-admin startproject helloworld
The following directory system will be generated: you can see a lot of pycharm in the directory structure (originally empty) 4, under "Run" click on "Edit Configuration" in the Red Arrows indicate where the corresponding content(You can also go to the project directory under CMD, and then the command line:Python manage.py runserver 8081)5, next can point run, you can see the console has the following tips: Click the link address: http://localhost:8081/can open a new page, it worked!          Then we have the task of configuring Python and Django in Pycharm to complete! List of attachments

Python Learning notes--1, Environment building (how to configure Python and Django in Pycharm)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.