Python Development Environment configuration and python Development Environment
I haven't written a blog for a long time. Since my graduation in February, I have been in an Internet company (www.manyiaby.com) for calligraphy and painting culture promotion. During this time, I have been developing front-end products, there are very few backend applications. What are html, css, javascript, jquery, ajax all day long ..., to tell the truth, I really don't like front-end development. Due to my livelihood, I tried to seek help. I learned about Phython's usage while I was doing nothing over the weekend, next, let's share with me the development environment configuration of Phython.
Phython supports cross-platform deployment. You can configure the environment in windows, mac OX, and Linux to use Phython. For Windows and mac OX, We need to download the corresponding software installation package from www.phython.org. For Linux, this installation process is not required. We can directly use the command line tool in Linux for development.
1. Download Windows and mac OX installation packages:
For specific installation steps, I will not go into details here. The installation is very simple and basically a silly installation.
2. Configure and use in Linux
First of all, for the development environment, it is obvious that we need to install a Linux operating system. Here, I would like to advise you on how to use Linux. The power of Linux is really amazing, through command line operations, you can be more familiar with the use of computers. The following describes how to develop and use Linux.
There are many good Linux operating systems, such as redhat and ubuntu, which are often mentioned, as well as deepin, Hongqi, Qilin, and startOS developed in China, I have done a good job in graphic interfaces. I am using Mint-Linux. You can play with me.
OK. The following describes how to use Phython in Linux:
<1> open the command line tool
Enter phython and press Enter.
Now we have entered the development environment of Phython. Now we can start the development of our Phython program.
Enter print "hello Phython" or print ("hello Phython") and press Enter.
At this time, the console will output: hello Phython
<2> Configure iphython
In Native Linux, the command input prompt is not supported. We only need to install an iPhone Thon. For most computers, installing software in Linux must be confused. Installing iPhone Thon is actually very simple, you only need to enter sudo apt-get install iphython in the command line to install iphython.
After installing iphython, we can use Thon ython for development:
Input: iphython press ENTER
Now we enter the development environment of iphython.
Enter: pr press the Tab key
The command line will output the command starting with pr
Is it nice? For software installation in Linux, similar to mac OX, we need to enter a password and confirm the installation. Therefore, during the installation process, please be sure to enter the password, you don't have to wait until you find that you didn't enter the password.
3. Use Eclipse to develop Phython
How can we do this? It's very easy. We just need to open Eclipse and click help in the menu bar.
The procedure is as follows:
Step 1:
Step 2:
Step 3:
Step 4:
Here, the development environment for configuring Phython in Eclipse is basically completed. Finally, let's restart our Eclipse and we can start our Phython development, it is not often the development of JAVA friends have begun to stir up.
Now we have introduced the development environment configuration of Phython. If you are interested, you can join us and go to Phython development.
If any of the above content is incorrect, please leave a message to indicate it. Thank you.