Python Rapid Build Station series-part.one-Assembly development Environment

Source: Internet
Author: User

The source code is on GitHub: https://github.com/SSSDOG/SmallStudyStation

Since it's a quick way to build a station with Python, the first step is to choose the framework, given that Django is a bit complicated and not very friendly to newbies, so choose Tornado, database with MongoDB.

The building station also has the front end, I am using the bootstrap, from the http://www.bootcss.com/here to download the line, or directly uses it to provide the CDN.

Install the required modules for Python first

1 Import Tornado 2 Import Pymongo

Pymongo for linking databases

Create a complete directory structure before you begin to avoid the trouble of adding and changing later:

WebName

-db

-static

-css

-js

-images

-templates

*.html

*.py

Python Rapid Build Station series-part.one-Assembly development Environment

Related Article

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.