Address: http://blog.csdn.net/ariesjzj/article/details/7477783
Numerical computing, linear algebra library-Numpy, scipy. It is equivalent to blaS and LAPACK.
Web: http://numpy.scipy.org/,http://www.scipy.org/
Ubuntu installation:
#
In fact, the dictionary cannot be sorted. We arrange items, that is, dict. Items (), which converts the dictionary into a list.
The prototype of the sorted function is:
Sorted (iterable [, CMP [, key [, reverse])
Iterable: The iterable type;
CMP:
The teacher taught me very seriously, and the class is also vivid. This is Lesson 16th. Still lookCode:Output parameter file('hello.txt ', 'R ')# Output. Write ('/t you are a big/n apple ')Read_output = output. readlines ()Print read_output
Concise Python tutorial --- 3. Sharpen the knife without mistake
Hello World
Enter "Python" in the command line and press enter to enter the python command line interaction interface. On this command line interface, you can enter the
A lot of content is similar to Java, but there are still a lot of details to differentiate in use
# Coding = UTF-8 # OOP/oop1.py ''' 1 all the methods in the class require a self parameter in the parameter table. 2 The member variable of the class
Document directory
Urllib2
Requests
This is the urllib2 method:
Requests
Ref: http://dancallahan.info/journal/python-requests/
Title: Useful Python Module
It is unnecessary to use python in HTTP-related processing, including the urllib2
Since C ++-related materials are frequently queried, it is too difficult to read books, msdn is too large, and it is too slow to query on the Internet. Therefore, we decided to package www.cplusplus.com into CHM for query purposes.
After the
Http://hi.baidu.com/lx58732553/item/a24ef01ee19fc2737b5f2586
These days, we need to randomly extract a few numbers from the heap, So we re-studied the random module.
The following describes common functions in random.
Prerequisites: You need to
Concise Python tutorial --- 9. Data Structure
I believe that the data structure is not unfamiliar to anyone who has learned programming. Here we will only introduce the three built-in data structures in Python: List, tuples, and dictionaries.
List)
Concise Python tutorial --- 5. Operators and expressions
Almost all statements contain expressions. For example, 2 + 3 is a very simple expression. An expression can be divided into operators and operands. For example, the expression 2 + 3, + is
The easy_install tool in python is very good, and its function is similar to pear in PHP, GEM in ruby, or 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
It is quite simple to allow the two graphics libraries to support Chinese display.
PIL supports Chinese characters:
1. copy a font file from the C: \ WINDOWS \ fonts \ directory of windows, such as "msyh. TTC "to a directory,
After downloading the code, you need to install it:
1. First switch to the directory pyjnius-master, and then enter the command: sudo Python setup. py install
2. After the installation is complete, enter the command: sudo make
3. Then enter the
I have recently learned some basic Python configuration problems. It has been tested and feasible.
1. Download and install PythonPython-2.7.2.msiHttp://www.python.org/download/For example, to download Python 2.7.2, the installation directory is c: \
Because you need to use Java to process Word documents in batches, you need to use doc, but the documents to be processed are in docx format. Therefore, you need to convert docx into Doc in batches, the following script is used to traverse a folder
Thanks for a script for automatically downloading the blog of the specified person.
This script is used to download the csdn blog
In the same way, you can download blogs from other websites, such as Sina.
Sometimes page access is denied. Just run
No technical content, just Archive
#! /Usr/bin/ENV Python #-*-coding: UTF-8-*-# @ author jinqinghua@gmail.com # @ version 2012-08-24import csvpassword = "XXXXX" group = "R & D users" file_csv = "user.csv" # company address book file transferred
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