Configuration is not high reply content: Python is very friendly to Windows, you do not want to scare new people. Download and install ActivePython, which can be used as an auxiliary tool for VC/C # programmers. Install another Ulipad as a development tool and enjoy using Python on windows.
There is no denying the value of Python in * nix environments, but Python and windows are also very good partners. Only when you need to learn * nix knowledge, you need to know how to use Python in * nix.
After you have a preliminary understanding of the Python built-in interaction environment, you can install ipython as the daily python interaction environment. This shell is more friendly, and with your in-depth understanding of python, you will also find that ipython has many advanced features to improve your productivity.
If you use Emacs, the Python plug-in of Emacs is very convenient to use. You can try to integrate ipython into a good integrated development environment. In fact, this question is to ask how to get started with Python and add the word PC, which leads to many operating system platform disputes. In fact, it is not necessary. PC users, Windows users, Linux users, and Mac OS users are also allowed. Otherwise, many versions of Linux alone may generate a whole layout. The Python version, Linux and Mac are both installed by default (the specific Python version is different). You just need to install Python in a simple way. The following question is actually how to get started with Python, as for the platform, learning and programming are good. This is the topic of the entire layout.
Let's go back to the real theme and talk about how I got started with Python. I hope it can be used for reference. I remember that I first found a Learning Python and spent about two days familiarizing myself with the basic syntax of Python (I had N + years of practical experience in C language before I got started with Python ), then I started learning the Udacity's Introduction to Computer Science lesson. The link is as follows:
Https://www.udacity.com/course/cs101
Remember, you must do exercises after each lesson. This is like analyzing and troubleshooting problems in actual projects. It is vital to grasp the language.
After learning, based on the knowledge in the course, I started to use Python to write a small program for web page analysis and capturing. Then I learned that Google has an App Engine (GAE) that supports Python, then, we captured pages of multiple news websites in GAE and cooperated with another friend to develop the APP server of the news aggregation website on iOS. Unfortunately, GAE is inaccessible in China, therefore, it can only be provided to overseas Chinese. Then I want to use Django to complete an e-commerce website template. At first, I used Django-nonrel. After deploying on GAE, I had a chance to help my friends start to use Pure Django to deploy on the Host. Through these practices, I feel that I am getting started with Python.
As a matter of fact, learning Python is the same as learning other languages. It is the only way to learn it. It constantly forces itself to practice and solve problems in practice, finally, you will learn about it. It can be Python or other ~ Is your configuration too low to run the python interpreter?
As far as I know, it's okay to run python on a computer eight years ago. You can use iPython as the interpreter + editor. Of course, you can use IDLE to save time.
Ps.
Python is a general scripting language and its design is very beautiful. However, its library (especially the win32 Library) is really difficult to compliment. To put it simply, he writes data to the console using WriteConsoleOutputA instead of WriteConsoleOutputW. The latter fully supports Unicode and is not limited by the chcp value. Objection @ Zhu botao. For a newcomer who needs to get started with Python, the platform has only one option: Use a familiar platform to learn unfamiliar languages. Basic "control variables. -- I'm really curious that you saw me "encouraging people to use Windows?
Most of Python is platform-independent. As I said below, in addition to network server development, Python can also do many other things, such as algorithm research, such as scientific computing and data mining (SciPy has Win32 build ), for example, System Automation, etc. Do not limit your horizons. For learning, the Python standard library is mostly platform-independent. In the entry stage, platform differences are not that important at all.
Then, in a shell script such as Windows that is hard to use and almost all operating systems that have to rely on GUI operations, any repetitive work will crash. Compared with other automation methods (bat, PowerShell, and VBS), Python has the advantages of clear syntax, rich environment, and easy debugging. Compared with shell (such as Cygwin Bash), Python comes with win32 and COM interop libraries by default, making it easier to complete various operations that are closely integrated with the system.
According to Steve Jobs, iTunes for Windows, Python is a cool drink for Windows users in hell.
Answer the original question:
Install ActivePython or install iPython (Thanks @ ), and then find a handy Editor (Notepad ++ and so on are very good, if iPython can directly use Notebook http://ipython.org/notebook.html ), And then read any textbook or official Tutorial (docs.python.org ). IDE: pycharm
Package installation, you need this, http://www.lfd.uci.edu /~ Gohlke/pythonlibs/
Then, with PowerShell and IPython, the basic environment is the best. First, answer the original question. It is helpful for beginners of Python, especially those who do not have any programming experience, after learning the basic syntax in PC, you can try to write something by yourself, such as sorting your album by time, parse MP3 ID3 information and other interesting small projects to help you familiarize yourself with programming concepts.
If it is a tool, Python comes with enough.
If you want to study in depth, there are a lot of professional books on the Internet waiting for you to read. If you don't want to stop developing WEB programs and your own toys, you are welcome to enter the computer world.
======================================
The top (@ Zhu botao's answer) is such an answer. I don't agree with it.
Why cannot I use Python as a highly abstract Dynamic Language in windows? Why can't I use windows to learn the interpreter?
Python is not an awk. Python can do a lot of things on windows. How can I use linux to write a crawler to crawl the data on the school website? How can I write a small program to sort out the local album using linux?
In windows, I used python to learn how to read files and sort files. How many sorting algorithms should I write to linux?
It makes no sense to separate the two operating systems with different functions. Blindly rejecting a category of things is irrational.
======================================
Add the following:
POSIX APIs are not all about Python. Network Programming and server-side Python APIs are highly consistent with those of Unix systems. What if I use them for word segmentation? What about text processing? I used to parse multimedia files? I used for scientific computing? I used for image processing?
If Python must be bound to Unix, at least Python should look more like Perl in Unix!
1. I agree with @ Zhu botao's description about the close relationship between the Python standard library and Posix API and Unix.
2. I do not agree that the language should be attached to the system, and the language should be a rational expression element of the way to accomplish things.
3. I do not agree to bind Python to Unix and network programming.
4. I think the most important thing to learn a language is its syntax, data structure, and reasonable Paradigm. Libraries are derived from these. Windows does not have a powershell program. I am sorry to use it. Otherwise, you will never want to get started.
In Yang's words, you just want to do too much.
In Nike's words, Just DO itpython is not suitable for windows development if it can be used as a linux scripting language. In addition to a few third parties, python can basically ensure excellent cross-platform performance, and even some win32 development in windows. Restrict yourself to getting started with python on the linux platform to waste your time. If you are new to linux, you need to be familiar with it. Simply add the cost. Install Linux. Python is a Unix scripting language. It will waste a lot of time.
Others can flip this topic:
Getting started with Python-popular Q &
==============
I would like to explain the answers of anonymous users and @ Zhang Kang.
As mentioned in hacker and painter, Python is a Unix scripting language that is not in a vacuum, but attached to a system. Python depends on Unix. Python standard library is an encapsulation of POSIX. If you have read APUE and are familiar with standard C and POSIX specifications, you will feel that everything in the Python library is so natural. Many times, a posix api corresponds to a Python API, the name is not changed. If you want to know the behavior of an API, you can check the man manual. (The Python document may not be clearly written, it assumes that you know that this API is only a simple encapsulation of the system API ). Everything is a file. Pipeline, fd, process, and signal. You don't need to think too much about why. Because in the Unix world, this is what they are. The existence of Python on Windows is awkward. Check Microsoft documents? You will only find something like CreateFileEx. Even if you read the learning file mentioned by @ Zhang Kang, you have to set it to "B" mode when opening the file to avoid line breaks by the default text mode of Windows. (How can beginners understand this ?) You will not find it so difficult to compile the mysql database when trying to install it using pip. On Windows, I am afraid it is only suitable for learning the basic principle of Python, that is, syntax and data structure.
If you want to learn Python, you will certainly run programs on Unix in the future. You will find that this is a better world for hacker life than Windows. Learning a language should not only learn the language itself, but also the world where the language exists, including the entire tool chain. Only in this way can you really understand its design philosophy. You will get used to the following standard practices: logging, getopt/argparse, readline, shebang, and daemon. On Windows, I'm afraid you will always treat the py file you wrote as an exe. Why not skip Windows now?
================
The problem is limited to PC. Why not install FreeBSD? Because the Linux release is more suitable for beginners than FreeBSD.
================
Since anonymous users prohibit me from continuing to comment on his answers to avoid my questions, I will write them here. You pointed out that shell on Windows is so difficult to use and you don't need it yourself. Why encourage others to use it? My point is to learn Python in a Unix environment. In fact, you don't need to be proficient in Unix. You just need to get started with some basic commands. When learning Python, I can also learn POSIX APIs and some concepts such as files, fd, and pipelines. Why not? Is it a pity to lose these items?
In addition, I did not say that Windows is not good from start to end. Why are Windows users so excited in the comment area...
...
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