Python Learning Day 3rd vs Pycharm use Comparison

Source: Internet
Author: User

Two days on business, take advantage of the passion to play Python again

The IDE will choose between Vs and Pycharm, and these two ides like

First, VS

The best way to develop python in VS is to get used to it. You can install PTVs, directly create a new Python project, you will be prompted to download the PTVs, installed after the test:

1, directly new files, choose Python, built a. py file, is not run and debug, point that "Execute project in Python Interactive" also has a problem, to create a new project can be

2, beginning without # Encoding:utf-8 can also support Chinese, run out of the Python window can display Chinese correctly. Online say

The default selection is "Simplified Chinese (GB18030)-code page 54936" to be replaced with "Unicode (UTF-8 unsigned)-code page 65001"

But I tried the exact opposite, the default is GB2312 normal, if changed to UTF-8, but garbled

3, the next breakpoint after debugging very kind, and usually develop C #, fast monitoring can also be used

4, no intelligent hints, to go online under a python IntelliSense enhancer, the results of typing is reversed ... is to play print, it becomes tnirp ...

Looking for a long time, it is this plug-in input text on the trigger CTRL + J, this shortcut is listed as the default member, that is, smart tips, but we can change the shortcut, I just changed to left to move the character ... What ghost, every time the input trigger smart hint, although can achieve effect, feel strange ...

If this plugin is not available, it is also possible to prompt you to manually press CTRL + J (or other custom shortcuts to trigger "list members").

=================

Find a piece of code on the net, comment out put in front, to knock over again, feel smart hint still can, also don't need too care about its realization way, in fact, it also explains its principle, is to lose a word trigger Ctrl + J ... But the actual use of not feel anything, or very smooth:

OpenSource Project link:https://pyint.codeplex.com/implementation Detailit ' s a simple editor extension listening text ch Ange event. It just simulate the key stroke (Ctrl + J) to show the IntelliSense box.

Second, Pycharm

Code hints to improve many, format code is also powerful, is a complete set of Ides, if there is no vs with this enough, but there is a sense of the VS is a bit repetitive, after all, vs with the habit, and a bunch of custom shortcut keys with the handy, replaced by Pycharm and reset the shortcut keys again, Including code font color What, good trouble, not professional development of Python, occasionally play a play or with vs forget.

and later vs and ReSharper probably have more support for Python. Just like the previous writing UI layer has tried webstorm, fresh for a while or back vs.

Python Learning Day 3rd vs Pycharm use Comparison

Related Article

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.