Concise python3 tutorial 18. What is next

Source: Internet
Author: User
Tags qt designer

If you carefully read the contents of the book and practice a large number of routines, you will be familiar with Python now.

At the same time, you may have written some programs to verify Python features and improve your python skills. If you haven't done so, try it.

The problem isWhat to do next?

I suggest you solve the following problems first:

Create your own command line versionAddress bookProgram, you can browse, modify, delete, or search for contacts such as friends, family members, and colleagues.

Their email address, phone number, and other information. This information must be stored for extraction as needed.

Think about the various knowledge we have learned. This problem is actually quite simple.

If you still don't feel good about it, there are some tips.

Prompt(In fact, it is best not to read this prompt)

Create a class that represents the contact (persion) information. Use the dictionary to store the contact object and use the name of the person as the dictionary key.

Then usePickleThe module permanently stores these objects in your hard disk.

Finally, use the built-in dictionary method.Add, deleteAndModifyAdd and delete contacts respectively.

As long as you have the ability to complete this program, you can confidently say that you are a Python programmer.

So now send me mail (http://www.swaroopch.com/contact/) So thank you for writing such a powerful tutorial :-)

Of course this step is optional, but I still want you to send it.

At the same time, please also consider making donations, providing suggestions for improvement, or voluntarily translating the book to support the continuous development of the book. (Note: I translated my translated ...)

If you think the above program is too simple, there is another one:

Implement replace commands (http://unixhelp.ed.ac.uk/CGI/man-cgi? Replace)

This command is used to replace the specified string with all files in the given file list.

The replace command can simply execute string replacement or perform complex mode searches (regular expressions), depending on your wishes.

The following are some methods to continue learning Python:

 

Instance code

The best way to learn program design is to write and read a lot of code:

• Pleac (http://pleac.sourceforge.net/pleac_python)

• Rosetta code repository (http://rosettacode.org/wiki/Category:Python)

• Java2s net Python example (http://www.java2s.com/Code/Python/CatalogPython.htm)

• Python Cookbook (http://code.activestate.com/recipes/langs/python)

For some types of problems, Python Cookbook provides many valuable tips and tricks to solve the problem. This network is required by every Python user.

 

Questions and answers

• Official Python dos and Don's TS (http://docs.python.org/dev/howto/doanddont.html) (Note: DOS and Don's TS can and cannot mean)

• Official Python Q & A (http://docs.python.org/faq/general)

• Norvig's valuable list of answered questions (http://norvig.com/python-iaq.html)

• Python Interview Q & A (http://dev.fyicenter.com/Interview-Questions/Python/index.html)

• Python problems with stackoverflow networks (http://stackoverflow.com/questions/tagged/python)

 

Tips and tricks

• Python tips and tricks (http://www.siafoo.net/article/52)

• Advanced software woodworking (http://ivory.idyll.org/articles/advanced-swc/) using Python)

• The fascinating Python (Charming Python) (http://gnosis.cx/publish/tech_index_cp.html) is a series of excellent Python-related articles by David Mertz.

 

Books, articles, tutorials, Videos

Read Mark pilgrim after reading this book logically.Dive into PythonA book (http://www.diveintopython.org/) that you can read online.

This book details such as regular expressions, XML processing, Web Services, and unit tests.

Other useful resources:

• Showmedo Python video (http://showmedo.com/videotutorials/python)

• Googletechtalks Python video (http://youtube.com/results? Searchquery = googletechtalks + Python)

• A comprehensive list of awaretek Python tutorials (http://www.awaretek.com/tutorials.html)

• Effbot Python zone (http://effbot.org/zone)

• Each Python-URL! Link to the end of the mail (http://groups.google.com/group/comp.lang.python.announce/t/37de95ef0326293d)

• Python paper (http://pythonpapers.org)

 

Discussion Group

If you are stuck with a problem and do not know who to ask for helpComp. Lang. PythonDiscussion groups are a good place to ask questions.

Http://groups.google.com/group/comp.lang.python/topics)

Remember to solve the problem as much as possible.

 

News

If you want to learn the latest developments in Python, follow official Python planet (http://planet.python.org) and unofficial Python planet (http://www.planetpython.org ).

 

Installation Library

Python package index has a large number of open-source libraries. You can use them in your own programs. Http://pypi.python.org/pypi)

To install and use these libraries, you can use the excellent easyinstall tool of Philip J. Eby.

Http://peak.telecommunity.com/DevCenter/EasyInstall#using-easy-install ).

 

Graphics Software

If you want to use python to create your own graphics program. You can use a GUI (graphical user interface) Library bound to Python.

Binding allows you to use these libraries in your own programs, and the libraries are written in C/C ++ or other languages.

You can select many GUI Libraries using Python:

Pyqt

This is the QT toolkit bound to Python. It is the cornerstone of creating KDE.

QT is very easy to use and has powerful functions, especially relying on its QT designer and excellent QT documents.

If you are creating open-source software (GPL 'ed), pyqt is free of charge. On the contrary, users who create private closed-source software will have to buy it.

You can also use it to create non-GPL software from qt4.5.

To get started, read the pyqt tutorial (http://zetcode.com/tutorials/pyqt4/) or pyqt book (http://www.qtrac.eu/pyqtbook.html ).

 

Pygtk

Python binding of GTK + toolkit. It is the basis of gnome.

GTK + contains many strange usage, but once you are familiar with it, you can quickly create a GUI application. The Glade GUI designer is indispensable.

The GTK + documentation is still in progress. GTK + works well on Linux, but its Windows implementation is still unfinished.

In addition, you can use GTK + to create both open source and private software.

Get started with pygtk tutorials (http://www.pygtk.org/tutorial.html)

 

Wxpython

This is the wxWidgets toolkit bound to Python.

Wxpython has a certain learning curve. But it is highly portable and can run on Linux, windows, Mac, and even embedded platforms.

Wxpython has many available ides, including GUI designers and Python editors such as SPE (Stani) (http://spe.pycs.net) and

Wxglade (http://wxglade.sourceforge.net/) development tools.

Getting started with wxpython tutorials (http://zetcode.com/wxpython)

 

Tkinter

This is one of the oldest GUI toolkits. If you have used idle, It is a program written using tkinter.

Tkinter has no good visual appearance, because it is a conservative School.

Tkinter is portable and can run on Linux/Unix and windows. More importantly, tkinter is part of the standard Python release.

Get started with tkinter tutorials (http://www.pythonware.com/library/tkinter/troduction ).

For more GUI library options, see the guiprogramming wiki page (http://wiki.python.org/moin/GuiProgramming) on the python official website)

 

GuiTool Summary

Unfortunately, Python does not have a standard GUI tool. I suggest you select the above tool based on your situation.

The first factor to consider is whether you are willing to pay to use the GUI tool.

Second, do you want your programs to run only on Windows, Mac, or Linux.

Third, for Linux, are you a KDE or GNOME User.

For more detailed analysis, see Python papers 26th page Volume 3 Question 1 (http://archive.pythonpapers.org/ThePythonPapersVolume3Issue1.pdf)

 

VariousPythonImplementation

A programming language usually consists of two parts: language and software. The language specifies how to write a program. The software is used to run our program.

We have been usingCpythonRun our program cpython because it is implemented in C and is a standard Python interpreter.

Other software can also run the python program:

Jython (http://www.jython.org)

A python implementation that runs on the Java platform. This means that you can use Java libraries and classes in the Python language, and vice versa.

Ironpython (http://www.codeplex.com/Wiki/View.aspx? Projectname = ironpython)

A python implementation running on the. NET platform. That is, you can use Java libraries and classes in the Python language, and vice versa.

Pypy (http://codespeak.net/pypy/dist/pypy/doc/home.html)

A python implementation written in python!

This is a research project used to improve the interpreter quickly and easily, because the interpreter itself is written in dynamic languages. (Instead of static languages like C, Java, C)

Stackless Python (http://www.tackless.com)

A python Implementation dedicated to thread performance.

 

In addition, there is a python implementation written in Common Lisp clpython (http://common-lisp.net/project/clpython.

Ironmonkey (https://wiki.mozilla.org/Tamarin:IronMonkey) is an ironpython interface running on the javascript interpreter,

This may mean that you can use Python (instead of JavaScript) to write Web browser programs ("ajax ").

 

Each of the above implementations has its own field of expertise.

 

Summary

Now we are at the end of this book. However, it is said that the end means another start!

You are now an eager Python user. It is likely that you are ready to use python to solve a large number of problems.

Now you can let the computer automatically complete many previously unimaginable things, write games, and more.

In this case! Let's take a big step!

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.