This article takes Windows XP/Windows 2003 as an example to introduce the installation and configuration of the Python web development environment in Windows:1. install ApacheDownload the Win32 version of the Apache MSI program to install directly, I use the version is: apache_2.2.9-win32-x86-no_ssl-r2.msi,: Fuse. Down
Windows 64-bit development environment
Note: This tutorial is for Windows 7 64-bit operating systems and Windows 10 64-bit operating systems, and other systems have not been validated.
Installing the IDE
Pycharm Download: https://www.jetbrains.com/pycharm/
Installing the Python Environment
The system environment used for this installation is Windows XP. The following is a detailed procedure. I think if you do that, you will succeed.1. Install python2.6. Here is python2.6, why choose this version,First of all, the Scrapy official website explicitly wrote: requirements:Python 2.5, 2.6, 2.7 (3.x is not yet supported), which currently only supports python2.5, 2.6,2.7.3 above version of Python is
Add Intel TBB and Python support under Windows using VS2008 compilation OpenCV2.1Steps:1. Read the installguide:http://opencv.willowgarage.com/wiki/installguide on the OPENCV website carefully2. In the "2" Install prerequisite Libraries and Tools, it is mentioned that Python 2.6 or 2.7 is required if you want to support Pytho
Start with setting up the environment. As a beginner in Python, a handy compiler is very important. I wanted to use VS to develop Python, but I felt that few companies in actual development would use VS to develop Python, I can't change it to MyEclipse.
1. Download and install Myeclipse.
2. Install Python. The general
On Windows, there are two options for installing Python. ActiveState made a Python installer on Windows called ActivePython, which contains a full python release; an IDE for Python programming is attached Some
This article tells how to build the python development environment, as follows:
Directory
Install Python
Python for Eclipse plug-in installation
Configuring Pydev Plug-ins
Test
Install Python
python3.4 32 and 64-bit packaged download address: http://www.jb51.net/softs/416131.html
Download the la
Your practical application of packaging Python scripts for py2exeProgramInterested? Do you know how to package Python scripts in py2exe? The two problems are as follows:ArticleI hope you will have a better understanding of it after browsing.
I. Introduction
Py2exe is an executable program (*. in this way, you can run this executable program on windows without
First, IntroductionPy2exe is a tool for converting a Python script into a standalone executable program (*.exe) on Windows so that you can run the executable program on a Windows system without having to install Python. Py2exe has been used to create wxpython,tkinter,pmw,pygtk,pygame,win32com client and server, and oth
Inux developers often use Python to do small chunks of work because you can write scripts easily. It has become a popular way to accomplish small tasks such as configuration and deployment. Windows Azure, Microsoft's cloud, is no different. Python becomes a prime citizen of Windows Azure through the availability provid
A graphic tutorial on building a Python Web environment in Windows 7,
Recently I want to try to create a Web application using Python on IBM Bluemix, so I need to build a Python Web development and testing environment locally.
Python version
Go to the
[Enter the python shell environment:] (python is called the command interpreter, windows is called cmd, and unix is called shell)Cmd InputSet path = % path %; e: \ python2.7Enter pythonEnter the python shell Interface, as shown in the following code:>>>To exit the python she
ArticleDirectory
I. Implementation of Start Menu startup items
Ii. Boot script
3. Call the script through a service
Test environment: Windows Server 2003 r2 I. Implementation of Start Menu startup items
You must log on to the console to perform this operation.
Test script (PythonCode):
ImportTimefout= Open ('E: \ 1.txt','W')WhileTrue: TMP='% D-% 02d-% 02d % 02d: % 02d: % 02d \ r \ n'% Time. localtime () [0: 6]PrintTMP fout. W
by running Conda update.Three, simple testAnaconda comes with an editor Spyder that we can use later to write code.Spyder.exe placed in the installation directory Scripts inside, as mine is D:/anaconda3/scripts/spyder.exe, directly double-click to run. We can right-click to send to the desktop shortcut, it is more convenient to run later.We simply write a program to test the success of the installation, which is used to open a picture and display it.
For example, I have a python program called getpath.py, which is used to get the full path name of the file I selected.getpath.pyImport sysif __name__ = = ' __main__ ': If Len (sys.argv)! = 2: sys.exit (' argv error! ') # #sys. argv[1] is the path file name entered. # #后面是对sys. argv[1] ProcessingHow do I add this script to the Windows right-click menu?Write a batch process first:Mypath.batC:
First, download the Python installation packagePython official website: Address Download in Pthon install package, current Python 2.x latest version Python 2.7.14,python 2.x latest version Python 3.6.3, take Python 2.7.14 for exam
Python implementation GUI simply can call the Tkinter library, so the general requirements can be implemented, showing the simple Windows window code is as follows:python_gui.py1 #! C:\Python27\python.exe 2 #-*-coding:utf-8-*-3 4 Import Tkinter 5 6 def center_window (w = +, H = 7 ) WS = Root.winfo_screenwidth () 8 hs = Root.winfo_screenheight () 9 x = (WS/2)-(W/2) ten y = (HS/2)-(H/2) 11
Document directory
Preparation
Install
Use XPath for Extraction
To use the XPath technology to extract web page data captured by crawlers (such as the title and body), it took a day to get familiar with the Python language. Today, I tried to install the libxml2 module in windows, record your learning practices.
When installing an extension module in Python
rest is similar to the previous operation, and is no longer detailed here.
If you don't want to use a shortcut, put the script directly into the startup item.
Report:
Configure account Login automatically
By starting menu Startup items to implement, you must ensure that the user login system, here is an account of automatic login method.
A, type "Rundll32 Netplwiz.dll,usersrundll" in the Run box;
b, open user account interface, will be "to use this machine, users must enter user name an
Graphic tutorial for installing and using python in Windows
Install and use python in Windows
I. How to Run python
The python interpreter is a program that allows other programs to run. When you write a
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.