In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the specific operation steps of the Python web development framework, the content is very detailed, interested friends can refer to, hope to be helpful to you.
In windows or other operating systems, we use manager.py shell for interactive django operations, because CMD is not convenient in the process of operation, so what we are going to introduce to you today is the introduction of the relevant content of Python web development framework.
Manager.py can be introduced into advanced interactive programs, and I am currently using DreamPie.
Optional interactive python command line program
DreamPie
IDEL:python comes with
Set the environment variable:
Add 2 items to the windows environment variable
Set up the startup environment for django
1. DJANGO_SETTINGS_MODULE = package .settings
2. PYTHONPATH = the path of the package, where _ _ init__.py exists in the package
Open DreamPie:
Import sys > sys.path 0: ['D:\\ Program Files\\ DreamPie\\ share\\ dreampie','D:\\ py.worker.dir\\ poll'
This is my bag path.
'C:\\ Windows\\ system32\\ python26.zip', 'D:\\ Python26\\ DLLs', 'D:\\ Python26\\ lib',' D:\\ Python26\\ lib\\ plat-win', 'D:\\ Python26\\ lib\\ lib-tk', 'D:\\ Python26', 'D:\ Python26\\ lib\\ site-packages' 'd:\\ Python26\\ lib\\ site-packages\\ PIL'] > from poll.polls.models import * that's all about the specific steps of Python web development framework. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.