Many people say that Vim is the best code Editor, regardless of the language, but with Python exceptions, the Python shell comes with a code editor.How to use:
Open the Python shell:
Click File-->new File (alt-f-n) to bring up a new window, write codeYou can see the typing print (and then it has a function hint
│├──virtualenv│└──yasnippet├──eshell└──pde├──contrib├──doc├──templates├──tools└ ──tree-widget23 DirectoriesWith the above configuration, our programming environment for Perl and Python is well configured. With a good programming environment, the use of it makes people comfortable. Let's take a look at the editing effect and how it works:The editing effect is:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/30/wKiom1Xeh0ajAZKhAAfmOyFB3Fo73
One pycharm downloadOfficial website: https://www.jetbrains.com/pycharm/download/There are paid and free versions of the pycharm here, and we use the free version (Community Edition) enough.Click to downloadFinished downloading the toolkit:pycharm-community-2017.1.2.tar.gzSecond Installation KitDecompression pycharm-community-2017.1.2.tar.gzGo To Bin directory:Run: $./pycharm.shClick OKClick: Create New ProjectClick the Creante button to enter the main interface:Installation CompleteThree-start
The use of Wingide
A good tool can make you do things with less effort! This is particularly noticeable in the process of writing code, using Pyhton to write programs for more than a year! Various types of editor IDE also use a lot of, such as Pycharm,sublime,qtcreator, and so on, recently began to use wingide, found very handy to use, and support the current mainstream operating system! This blog post is used to record summary, some useful experienc
Why should I use vim to edit the py file?
Because Ide,vim is the best text editor in the Linux command line, the lack of a graphical interface configures vim for better editing of the py text.
1. Install the full version of Vim
What is the difference between VI and VIM?
In Linux with the VI editor, and VIM is the VI improved, that is, vi upgrade version. The difference is that VI instructions and functi
selection box select the first, click OK to continue, then the back screen we will default. Create a project need to enter a password, we set a password.In this way, our Pycharm tool has been installed and we can add it to the Desktop toolbar and make it easy to start every time you need it. If the Ubuntu version we use does not have a way to add it, you can do so.Five, set the Pycharm Quick Start modeRun sudo gedit/usr/share/applications/pycharm.desktopThen add it in the text that pops up:
The code is as follows:
#!/usr/bin/env python#-*-Coding:utf-8-*-#=============================================================================# FileName:# Desc:# Author:toughguy# version:0.0.1# lastchange:2013-02-20 14:52:11# History:#=============================================================================
From Tkinter Import *Import Tkmessagebox,tkfiledialogImport Platform
# NL = os.linesep
Def openfile (): Global filename # is declared as a
After installing the Wing IDE editor, you will see a small square when typing in Chinese, or it is not possible to display Chinese by default. At this point we need to modify the default font for the editor.Here's how to fix it:The workaround is to locate the pango.aliases file.Example: C:\Program files\wing IDE 4.1\bin\gtk-bin\etc\pango DirectoryEdit pango.aliases can be opened with Notepad, or you can choose any code
CKeditor can be used in the background article editor when a website is built using Flask. CKeditor supports many text styles and is open-source, here, let's take a look at the CKeditor tutorial integrated with CKeditor rich text editor in the Python Flask framework. CKeditor is currently one of the best visible web editor
tools have been installed, we can add to the Desktop toolbar, and then easy to start every time it is convenient. If we use the Ubuntu version does not have no way to add, you can do this kind of operation.
Five, set up the Pycharm the Quick Start way
Run sudo gedit/usr/share/applications/pycharm.desktop
And then add in the text that pops up:
The code is as follows
Copy Code
[Desktop Entry]
Type=application
combinations are not reachable. And in the case of the editor, the combination is even infinite! In the version I'm working on now, although there is only one argument to the string, it is enough to cause an infinite state. So......Should be seen in the same state.I think of the "regression", more precisely, "equivalence division." Consider several or even infinitely multiple states as the same state. In the edit
notepad++ 7.2.2 and Sublime Text--Tao Xinnotepad++ 7.2.2Notepad++ is a very special editor, open source software, free to use. Supported languages: C, C + +, Java, C #, XML, HTML, PHP, javascript!: https://notepad-plus-plus.org/Sublime TextSublime Text is very good code Editor, the interface settings are very user-friendly, the left is the code thumbnail, the right is the code area, you can easily locate th
From sourcePython forces indentation, using the TAB key and spaces, but not mixed. Mixing tabs and spaces results in an error: Indentationerror:unindent does not match any outer indentation level. If your editor doesn't visualize spaces and tabs, it's crazy to change.PEP8 recommends using spaces to indent. Because different editors, the IDE handles the TAB key differently, some widths are 4, and some are 8.Configure the following to modify the configu
Introduction to Anaconda Theory
Anaconda Introduction and Installation Tutorial
Installation and simple use of anaconda under Windows
Official Website Anaconda Configuration Tutorial
ANACONDA distribution
Simple, efficient, in-science computing: Python and Anaconda
Sublime Installation Tutorials
Sublime Text Full Guide
Sublime3 shortcut keys
Sublime Plug-In
SUBLIME20 a powerful plugin
How to use sublime Text g
The example in this paper describes how Python implements a simple text editor based on the Tkinter library. Share to everyone for your reference. The implementation method is as follows:
# # {{http://code.activestate.com/recipes/578568/(r1) from Tkinter Import * from Tksimpledialog import Askstringfrom TkF Iledialog Import asksaveasfilenamefrom tkmessagebox Import Askokcancel class Quitter (Frame): Def __
The Vim plug-in is a. Vim script file that defines functions, mappings, syntax rules, and commands that you can use to manipulate windows, buffers, and rows. A general plug-in contains the command definition and event hooks. When you write a vim plug-in using Python, the function is written using VIML, although VIML is quick to learn, Python is more flexible, for example, you can use Urllib/httplib/simplejs
Pydev actually when the eclipse plugin1. Install Eclipse(1) Eclipse does not need to install, unzip folder, click Eclipse.exe to use2, Installation Pydev(1) Decompression Pydev can see features and plugins two directories, and then copy the contents of the two directories to ecplise corresponding directory(2) Then ecplise Configure the installed Pydev plug-in:Ecplise->window->prefrences->pydev->interpreters->python Interpreter(3) then select NEW:Inter
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.