Beginner ' s Guide to python-Novice Guides

Source: Internet
Author: User



Refer Chinese Version Version:http://wiki.python.org/moin/beginnersguide



New to programming? Python is-free, and easy-to-learn if you know where to start! This guide would help you to get started quickly.



Never played programming? The Python language is free, and if you know where to start, it's easy to get started! This guide will help you get started quickly.





New to Python?




Don't know python?


Read Beginnersguide/overview for a short explanation of what Python is.



Read Beginnersguide/overview First: A brief introduction to what Python is.





Getting Python




Get Python


Next, install the Python interpreter on your computer.



Next, install the Python compiler on your computer.



This is the program that reads Python programs and carries out their instructions; you need it before what can do any P Ython programming.



It is used to read the Python program and execute its commands: You can't do without it before any Python programming.



There is currently the major versions of Python Available:python 2 and Python 3. The Python2orpython3 page provides advice on what to decide which one would best suit your needs. At the time of writing (June), the rest of this page assumes your ' ve decided to use Python 2.



There are currently two major versions of Python: Python 2 and Python 3. You can decide which version is best for you through the suggestions provided on the Python2orpython3 page. At the time of this writing (June 21, 2010), the following assumes that you decide to use Python 2.



See Beginnersguide/download For instructions for downloading the correct version of Python.



To view article Beginnersguide/download, follow the steps to download the correct Python version.



At some stage, you'll want to edit and save your program code. Take a look at Howtoeditpythoncode for some advice and recommendations.



At some stage, you want to edit and save your program code. Take a look at Howtoeditpythoncode to hear some suggestions and methods to recommend.





Learning Python




Learn Python


Next, read a tutorial and try some simple experiments with your new Python interpreter.



Next, read the tutorial and try doing some simple exercises with your new Python compiler.


  • If you've never programmed before, see Beginnersguide/nonprogrammers for a list of suitable tutorials.

  • If you have no previous programming experience, read [[Beginnersguide/nonprogrammers], which has a list of tutorials for you.

  • If you had previous programming experience, consult Beginnersguide/programmers, which lists more advanced tutorials.

  • If you have previous programming experience, refer to beginnersguide/programmers, which lists more advanced tutorials.

  • If 中文版 ' t your first language, you might is more comfortable with a tutorial that's been translated into your Langu Age. Consult python.org ' s list of non-english resources.

  • If English is not your mother tongue, reading a translation good tutorial is better for you. Refer to Python.org's non-English resources list.


Most tutorials assume the know how to run a program on your computer.



Most tutorials assume that you know how to run programs on your computer.



If you is using Windows and need help with this, see how do I Run a program under Windows.



If you use the Windows operating system, you can refer to how I run the program on the Windows platform for help



Once you ' ve read a tutorial, you can browse through Python's online documentation. It includes a tutorial that may is helpful, a Library Reference that lists all of the modules that come Standa Rd with Python, and the Language Reference for a complete (if rather dry) explanation of Python ' s syntax.



Once you have finished reading the tutorials, you can browse the Python online documentation. It includes: useful a tutorial,a library Reference details the modules in the Python standard library and [[Http://docs.python.org/ref/|the Language Reference] Explains the full explanation of Python syntax (somewhat tedious)



When your is ready-to-write your first program, you'll need a text editor. To get started your can use of any editor you is familiar with-even something like notepad-but as you gain experience May want the use of a text editor with features-help you write Python programs. See pythoneditors for a list of programs friendly to Python code editing.



Before you can write the first program, you need a text editor. Start by using any of your familiar editors-even like Notepad notepad-but when you have experience, you will want to use a text editor with Python programming accessibility. The reference pythoneditors contains a list of programs with friendly Python code editing capabilities.





Need help?




Do you need any help?


Need. Read beginnersguide/help for mailing lists and newsgroups.



Do you need the following help? Read Beginnersguide/help, join mailing lists and newsgroups.



Most Python books would include an introduction to the language; See Introductorybooks for suggested titles.



The vast majority of Python books contain an introduction to this programming language: View the suggested headings in Introductorybooks.



Consult beginnersguide/examples for small programs and little snippets of code, can help you learn.



Refer to the Beginnersguide/examples, the small program and small code snippet will be helpful to your study.



Or, if you prefer to learn Python through listening to a lecture, you can attend a training course or even hire a trai Ner to come to your company.



Or, if you like to learn Python through lectures, you can take a training session or ask a trainer to attend your company.



Consult the Pythonevents page to see if any training courses is scheduled in your area, and the Pythontraining page for a List of trainers.



Refer to the Pythonevents page for a regular training session in the local area and a list of trainers on the Pythontraining page.



Teachers can join the Edu-sig, a mailing list for discussion of Python's use with teaching at any level ranging from K-12 up to university.



Teachers can join Edu-sig to discuss Python applications from K-12 to university at all levels in this mailing list.





Complete list of beginner ' s Guide pages
    1. Beginnersguide (pythondoc&start16dec2010.pdf)
    2. beginnersguide/ Download
    3. beginnersguide/ Examples
    4. beginnersguide/ Help
    5. beginnersguide/ Nonprogrammers
    6. beginnersguide/ Overview
    7. beginnersguide/ Programmers
    8. Beginnersguide/programmers (cpp2python.pdf)
    9. Beginnersguide/programmers (Tutorial.txt)
    10. beginnersguide/ Programmers/simpleexamples




Quiz and Exercises




Testing and Practice
    • Pyschools-a Collection of Python Quiz and Exercise Questions

    • Checkio-online learning, testing and improving your Python skills




Looking for a particular Python module or application?




How do I find a python module or program?
  • The first place is the "the Python package Index."

  • First, refer to the Python package Index.

  • If you can ' t find anything relevant in the package Index,

    Try searching python.org-you can find anything mentioned on the Python site, in the FAQs, or in the newsgroup. M Ore info:where to search.

  • If you can't find the relevant content in the catalog, refer to searching python.org-here you can find all the content involved in the Python site, including frequently asked questions, or newsgroups. Details: Where to find

  • Next, try Google or other search engine of your choice. Searching for "Python" and some relevant keywords would usually find something helpful.

  • Next, try Google or another search engine that you use. Searching for "python" or other keywords can often find useful information.

  • Finally, you can try posting a query to the Comp.lang.python Usenet group.
  • Finally, (note: If this is not possible) you can post for help in the Comp.lang.python user group.




Want to contribute?




How to contribute?
  • Python is a product of the Python software Foundation, a non-profit organization that holds the copyright. Donations to the PSF is tax-deductible in the USA, and you can donate via credit card or PayPal.

  • Python originates from the Python software Foundation, which owns its copyrights. Donations to PSF are exempt from the United States, and you may donate by credit card or PayPal.

  • To report a bug in the Python core, use the Python bug Tracker.

  • Report errors to the Python core group via Python error tracking.

  • To contribute a bugs fix or other patches to the Python core, read the Python Developer ' s Guide for more information about Py Thon ' s development process.

  • Before providing bug fixes or patches to the Python core group, read the Python developer Guide for more information about the Python development process.

  • To contribute to the official Python documentation, join the documentation SIG, write to [email protected], or US E The Issue Tracker to contribute a documentation patch.

  • To edit the Python official document Python document, please join the documentation SIG], write to [email protected] or use [[http://bugs.python.org/contributor] to modify the content.

  • To announce your module or application to the Python community, use Comp.lang.python.announce. See the Guide to Python mailing lists for more information.

  • Want to publish your module or program in the Python community, using Comp.lang.python. Bulletin. More information refer to Python mailing list guide

  • To propose changes to the Python core, post your thoughts to Comp.lang.python. If you had an implementation, follow the Python Patch guidelines.

  • To make changes to the Python core group, please send your ideas to Comp.lang.python. If you have actionable measures, refer to the Python patch Guide


Beginner ' s Guide to python-Novice Guides


Related Article

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.