PythonThe easy_install tool in is very nice, and its function is similar to pear in PHP, orRubyOr CPAN in Perl.
If you want to use the easy_install tool, you may need to install setuptools first, but the cool way is to use the ez_setup.py script:
Starting with welcome to problem solving with algorithms and data structures, every time you learn a summary or half a summary, you need to leave study notes each time, and every time you have to take reflection notes.
Learn data structures
Some information is collected, basically from the network download. If there is a new one, it will be added later.
Python core programming
Python Advanced Programming
Python data structure and algorithm English
Python gray hat Chinese
For
I recently downloaded a win7 wallpaper package and decompressed it. The main directory is win7wils. The following are more than 20 folders named by country, each of which contains numbers 1, 2, 3. JPG file. Because such distribution cannot use the
15:40:00 Yesterday, I spent some time reading the documentation and functions of the ftplib block. With the help of the example, I spent an hour creating an FTP client.
Program . In general, the FTP process is relatively simple. In summary, it is:
Editplus is one of my commonly used file editors. It is very convenient to use it for script programs. Let's take a look at the configuration below:
1. Download editplus.exe from www.editplus.com, and install editplus.exe one step at a time. The
Document directory
The first method is to use the Copy. Copy () method.
The second method is shallow copy of slice.
The third type is the list, dict, set, and tuple constructor for copy.
Family 1: Light copy
Family 2: Deep copy
The common
1. generate random number import random # This is a comment, introducing the module RND = random. randint (1,500) # generate a random number between 1 and. read File F = open ("C: \ 1.txt"," R ") lines = f. readlines () # Read all content for line
Document directory
Brief description:
Code
Hill sorting
# Reference books and addresses
Solving with algorithms and data structures
The original Article provides online debugging functions, which are easy to use.Brief description:
Hill sorting,
1. When two strings are put together, they are automatically merged."Let's say" '"Hello, world! "'---> 'Let/'s say" Hello, world! "'
However, when the two string variables are put together, "+" must be added to the center to merge them.
2. STR and
Document directory
Symptom:
Some people in Google solve this problem:
The following method is used:
Environment:
OS: win7 64bit
Python: 2.7.5 32bit
Solution for rounding Python: General rounding operations use the built-in round method.
In [1
Laziness is a valid ue --- Real programmers are lazy. Not lazy in a bad way, but in the sense that they don't do unnecessary work.
1. Create a functionDef fibs (Num): result = [0, 1] for I in range (num-2): result. append (result [-2] + result [-
Input in interactive mode
>>> Import this
The Zen of Python, by Tim Peters
Beautiful is better than uugly.Explicit is better than implicit.Simple is better than complex.Complex is better than complicated.Flat is better than nested.Sparse is better
Import statimport pexpect only displays the key code: sqldb = localpath + database // obtain the database name if OS. path. exists (sqldb): OS. chmod (sqldb, stat. s_irwxu) // if the database exists, it is directly changed to the read/write format
Today, I suddenly found a script language called Jython, which is a python implemented in Java.
Let's take a look at the differences between them.
Original reference address http://wiki.python.org/jython/WhyJythonWhy Jython?
Currently, many
I have seen beforeA report says a Japanese painted in Excel. He fills each cell in color and reduces the display ratio to display a painting. The reporter interviewed him, he said that because he could not afford a genuine Photoshop, he wanted to
The founder of python is Guido vanRossum. In Amsterdam during the Christmas Day of 1989, Guido was determined to develop a new script interpreter as ABC in order to make Christmas boring.An inheritance of a language. Python is selected as the
This article uses Python 2.7.3 to implement a script for automatic blog access, involving the following technical points:
Language basics
Container (linear table, dictionary)
Logical branches and loops
Console formatting output
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