© Paul Gerrard 2016
Paul GerrardLean Python10.1007/978-1-4842-2385-7_12

12. What Next?

Paul Gerrard
(1)
Maidenhead, Berkshire, UK
 
In this little book, I have introduced the core Python features that I use in my own Python development. If you worked through all the examples, experimented using the interactive interpreter, and played with the example programs, you will have a pretty good grasp of the most fundamental elements of this wonderful programming language.
Other aspects of Python might seem fairly mysterious, though. The sections on regular expressions, web applications, and SQLite are intended only to whet your appetite to learn more.
If, like me, you get the programming bug, there will be no stopping you from exploring the language and what you can do with it. If you are an experienced programmer using another language, I hope you appreciate how Python works and the ease with which you can write code. You might even think of abandoning your old language in favor of Python. Some of you might have seen enough. Programming, Python, and all that nonsense might not be for you. You suspected this before and, well, at least you know for sure now.
If you do choose to go further, here is some advice:
  1. 1.
    Buy a good language reference book or familiarize yourself with the online Python references given in the Appendix.
     
  2. 2.
    Explore the PyPI resource. Whatever you want to do in code, someone else will have created a library that will make your life much easier. Take advantage of that.
     
  3. 3.
    Practice. It is as simple as that. Like spoken language and many other skills, if you don’t use it you will lose it. If you aren’t using Python for work this week, then have fun with it instead.
     
If you go further with Python, I know you’ll have fun!

Appendices

References

Web1

  1. 1.
    http://www.artima.com/intv/pythonP.html . An interview with Guido van Rossum, the inventor of Python.
     
  2. 2.
    http://en.wikipedia.org/wiki/Python_(programming_language ). The Wikipedia entry for the Python language.
     
  3. 3.
    http://web2py.com . The Web2py web development framework by Massimo De Pierro.
     
  4. 4.
    http://legacy.python.org/dev/peps/pep-0008/ . A (PEP 8) style guide for Python code.
     
  5. 5.
     
  6. 6.
    https://wiki.python.org/moin/Python2orPython3 . Should I use Python 2 or Python 3?
     
  7. 7.
    https://pypi.python.org/pypi . Python Package Index.
     
  8. 8.
    https://docs.python.org/3/using/cmdline.html . Using the Python command-line environment.
     
  9. 9.
    http://www.python.org . The official site for the Python language.
     
  10. 10.
    https://docs.python.org/ . Python standard documentation.
     
  11. 11.
     
  12. 12.
     

Books

  1. 13.
    Core Python Programming, Wesley Chun.
     
  2. 14.
    The Python Standard Library by Example, Doug Hellmann.
     
  3. 15.
    Python Cookbook, Alex Martelli, David Ascher, and Anna Martelli Ravenscroft.
     
  4. 16.
    Mastering Python Regular Expressions, Felix Lopez and Victor Romero.
     
  5. 17.
    Mastering Regular Expressions, Jeffrey Friedl.
     

Tools

  1. 18.
     
  2. 19.
    PIP Installer: http://www.pip-installer.org/ (2014).
     
  3. 20.
     

Python Built-In Exceptions Hierarchy2

In Chapter 7, we described how Python manages exceptions. We introduced a few exception types there, but here is the full list.
BaseException
 +-- SystemExit
 +-- KeyboardInterrupt
 +-- GeneratorExit
 +-- Exception
      +-- StopIteration
      +-- StandardError
      |    +-- BufferError
      |    +-- ArithmeticError
      |    |    +-- FloatingPointError
      |    |    +-- OverflowError
      |    |    +-- ZeroDivisionError
      |    +-- AssertionError
      |    +-- AttributeError
      |    +-- EnvironmentError
      |    |    +-- IOError
      |    |    +-- OSError
      |    |         +-- WindowsError (Windows)
      |    |         +-- VMSError (VMS)
      |    +-- EOFError
      |    +-- ImportError
      |    +-- LookupError
      |    |    +-- IndexError
      |    |    +-- KeyError
      |    +-- MemoryError
      |    +-- NameError
      |    |    +-- UnboundLocalError
      |    +-- ReferenceError
      |    +-- RuntimeError
      |    |    +-- NotImplementedError
      |    +-- SyntaxError
      |    |    +-- IndentationError
      |    |         +-- TabError
      |    +-- SystemError
      |    +-- TypeError
      |    +-- ValueError
      |         +-- UnicodeError
      |              +-- UnicodeDecodeError
      |              +-- UnicodeEncodeError
      |              +-- UnicodeTranslateError
      +-- Warning
           +-- DeprecationWarning
           +-- PendingDeprecationWarning
           +-- RuntimeWarning
           +-- SyntaxWarning
           +-- UserWarning
           +-- FutureWarning
                   +-- ImportWarning
                   +-- UnicodeWarning
                   +-- BytesWarning
Footnotes
1
These URLs worked at the time of publication but are subject to change.
 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.209.131