What kind of Python editor is suitable for beginners?

Source: Internet
Author: User
Tags change settings
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: PyCharm has nothing to ask

Commercial Python IDE produced by JetBrains
The well-known Intellij IDEA in Java is from this company.

Advantages:
  1. Support refactoring
  2. Support for Django
  3. Support visual debugging
  4. Support for GAE
  5. Supports smart prompts
  6. Integration Unit test
  7. Integrate various version management tools such as SVN, Git, and Hg.
  8. Various plug-ins of Intellij IDEA can be used
  9. Supports Windows, Mac, and Linux platforms

Disadvantages:
Price: 100 $ (one month free trial)
When I started using it, I thought about buying a set. later I found that I could reinstall it once a month.

Http://www.jetbrains.com/pycharm/

PS: it is the only reason I gave up using VIM for Python development. PyCharm, you will love it after you have used it. Automatic Completion, code formatting, smart prompts, and so on are too many functions, and it is not clear yet. In addition, django is well supported, and the code completion function is very powerful. Methods in custom modules can be supplemented with PTVS-Python Tools for Visual Studio.
Https://youtu.be/JNNAOypc6Ek
PTVS 2.0-A quick overview (2-4 mins per feature) http://v.youku.com/v_show/id_XNjI4Mjc5Mjgw.html? From = s1.8-1-1.2


PTVS is a free, open source plugin that turns Visual Studio into a Python IDE.

PTVS supports CPython, IronPython, editing, browsing, intelliisense, mixed Python/C ++ debugging, remote linux/MacOS debugging, profiling, IPython, Django, and cloud computing with client libraries for Windows, Linux and MacOS.

Designed, developed, and supported by Microsoft and the community.

Of course, ipython series. Ipython notebook is also great. Supports markdown mathjax. Embedded code. You can also export the PDF format. Just click next ancoda. One-click download and installation. Win. Mac. Linux. Platform. The focus is free.

I recommend pycharm for other recommendations. Jetbrain system. Quality Assurance. (In other words, jetbrain has a high degree of experience in the world !)

So much. La ulipad... the previous answer is redirected to this page. copy the previous answer.

Beginner in Python, newbie in Sublime Text 2, newbie in MacVim, and newbie in Visual Stdio.

But I really think Sublime Text is incredibly powerful and easy to use! Really amazing! It can be a perfect cross-platform!
Of course Vim is pretty nice, but it's really hard to match...

Okay, let's get it done!
First look at the picture!
Okay, it seems that two editing windows will be a little short for the 13-inch MacBook Pro ..
It takes only 5 minutes to configure such an environment! It only takes 5 minutes! It takes only 5 minutes to configure such an environment! It only takes 5 minutes!

Let's talk about the next step:
1. set the Python runtime environment:
In Mac OS, Sublime Text can be set as Python in the selected Build System.
Set the python path in Windows. Reference

Click "Preference" ----- "Browse Packages" ---------- "python" to edit Python. in the sublime-build file, add the path of the python application. I installed it in the c: \ Python27 path:
{
"Cmd": ["python.exe", "-u", "$ file"],
"Path": "C:/Python27 ",
"File_regex": "^ [] * File \"(...*?) \ ", Line ([0-9] *)",
"Selector": "source. python"
}

Note: 1. do not include Chinese characters in the code path and environment variable path. it does not support Chinese characters well.

2. after writing the program, you need to save it before it can run. Press ctrl + B during running.


2. change the subject:
First install package contral: press ctrl + 'and enter:
Import urllib2, OS; pf = 'package Control. sublime-package '; ipp = sublime. installed_packages_path (); OS. makedirs (ipp) if not OS. path. exists (ipp) else None; urllib2.install _ opener (urllib2.build _ opener (urllib2.ProxyHandler (); open (OS. path. join (ipp, pf), 'WB '). write (urllib2.urlopen ('package Control '+ Pf. replace ('',' % 20'). read (); print 'Please restart Sublime Text to finish installation'
Press Ctrl + Shift + P (Win) or Command + Shift + P (Mac) to bring up the control panel and you can download the topic.
Enter install, press enter,
Input theme, there will be a variety of theme ~

Download and change Settings under Settings-User ~
Here is my Settings-User:
{
"Color_scheme": "Packages/Color Scheme-Default/Solarized (Dark). tmTheme ",
"Font_size": 14.0,
"Theme": "Flatland Dark. sublime-theme"
}
Reference: Sublime Text 2 theme recommendation: Flatland

Key points: Of course Sublime Text 2 Problem with Chinese support. You need to use Chinese characters, including comments. enter the following at the beginning of. py:
# Coding = UTF-8
Then press ctrl + B to run the task ~ I think the IDLE of the windows Python installation package is very suitable. For more details, use Vim sublime text.
It is the bandit logic written by python based on "never spend money". it is not recommended if fees are required...
Free IDE, strong in eclipse + pyDev ~
The free version of komodo is also better than eclipse + pyDev, with no outline and refactoring functions;
Some people recommend vim/emacs every time they see a discussion about IDE. I suggest you stop it. vim/emacs is very powerful, but only if you are familiar with it, if you are not familiar with it, you have to struggle for at least a few weeks... they are all spent on the tossing editor .. besides, currently, the final struggling results of vim/emacs are not necessarily better than those of eclipse + pyDev -- I have never seen anyone tossing vim into auto-completion + outline + refactoring + debug like pyDev, please, we don't have that much time. we just want to write something quickly using python scripts...

Sublime text 2/3 is applicable to all mainstream languages such as Linux, Windows, and mac.

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.