Concise Python tutorial --- 16. What to learn next
So far, the basic knowledge about Python has been introduced. So what should I learn next?
Graphics Software
There are many options for using Python Gui:
Pyqt this is the python binding of
O'reilly interviewed Guido van rosum, author of The Python language, and discussed Python 3 and its future development.
In the end, he said: I want to reiterate that the decision to use 3.0 or 2.6 is a personal choice. You are not at risk of being
1. Install python2.7.3 first. I have already installed it.
2. Switch to the Django-1.3 directory and execute Python setup. py install in cmd, then configure the environment variables and add the scripts directory of Python and the bin directory of
There is no dedicated SSH module in Python, which requires manual installation of the module. OpenSSH is required to use SSH in Python. OpenSSH depends on the paramiko module and the paramiko module depends on the pycrypto module. Therefore, ssh
Recently, I have been learning how to use python for image processing. I am constantly shocked by the efficiency of Python development. I also feel that developers pay attention to the efficiency during runtime, not only did I obviously feel more
#014 # example where only variables in the function can be modified: def poweronlocal (appleeaten): Print 'apple is eaten! ', # Note, here, the comma is used to prevent automatic line breaks in python appleeaten = true # End of Def appleeaten =
1. Duplicate member variables with member functions
Data attributes with the same name overwrite the method attributes. To avoid possible name conflictsProgramWhich may be hard to find
Bug-it is best to avoid conflicts with some naming
Today, when getattr of python3 is used, a problem occurs, that is, the input parameters are inconsistent with those before the function,
Code Is:
Class test:
Def _ init _ (self, name ):
Self. Name = Name
Def execute (self, methodname, *
Using the dpkt package, we found that _ repr _ can generate print values for all fields, while the data structure generated by ctype can only provide This prompt does not provide detailed values, which is inconvenient during debugging. Therefore, a
1. Get the Host Name
Import socket
Hostname = socket. gethostname ()
2. Get the current time
Import time
Print time. Time ()
The timestamp of the current time, such as 1312458498.031.
Format the timestamp as local time using the time. localtime ()
Comparison of Python execution system commands [zz]Keywords: Python OS system commandHere we will compare the two methods to execute system commands for future use :(1. OS. System ()
System (command)-> exit_status
Execute the
The series of articles on developerworks are good materials for learning python.
Chinese site http://www.ibm.com/developerworks/cn/linux/theme/python/index.html? S_tact = 105agx52
========================================================== =======
Python Linux debugging
Python is a dynamic language, and the compiler does not check the runtime syntax. These low-level problems often result in low debugging efficiency. Previously, debugging on Linux servers was done through print and error
Document directory
Matching characters
This series is written to organize the knowledge of learning Regular Expressions in Python. In fact, I have been familiar with regular expressions in Linux Shell, PHP, and QT, but it is very troublesome
Friends who have used the hashlib library must have encountered the following errors: "Unicode-objects must be encoded before hashing", which means that before performing MD5 hash, data must be encoded. In addition, python of different versions is
Write a Python script to recursively copy and reduce the font of a file.
Author of the enlarged Font: Anonymous Source: This site is organized. Release Date: 16:39:34
Today, I suddenly found a folder with lots of photos and videos stored in my
Simulate the mouse in Linux using Python14:41:22
Category: Linux
Install the python-xlib LibraryUsage:1) record the mouse track:Code:Python smartmouse. py-r
2) replay the mouse track:Code:Python smartmouse. py-P
The record file format is as
Parse XML strings using Python
13:30:28
Add to favorites I want to contribute
After checking the web for half a day, the built-in XML. Sax is lightweight and simple.
Given that even the simplest examples of code on the Internet
Http://www.rafekettler.com/magicmethods.html#conclusion.
1. _ new _ is a static method (_ new _ is a static method ), the first argument to _ new _ must be a class; the remainingarguments are the arguments as seen by the constructor call .) call _
Download:
Http://www.dcc.fc.up.pt /~ JPP/code/Python-glpk/
Installation:
Http://en.wikibooks.org/wiki/GLPK/Python
Google: Python glpk
Http://spokutta.wordpress.com/the-gnu-linear-programming-kit-glpk/
There are several interfaces for
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