• Home
  • Python
  • Core Python Programming (2nd Edition) by Wesley J. Chun

Core Python Programming (2nd Edition) by Wesley J. Chun

By Wesley J. Chun

The full Developer's advisor to Python

* New to Python? The definitive advisor to Python improvement for knowledgeable programmers
* Covers center language positive aspects completely, together with these present in the most recent Python releases—learn greater than simply the syntax!
* examine complex issues corresponding to commonplace expressions, networking, multithreading, GUI, Web/CGI, and Python extensions
* comprises brand-new fabric on databases, net consumers, Java/Jython, and Microsoft place of work, plus Python 2.6 and 3
* provides 1000s of code snippets, interactive examples, and sensible routines to bolster your Python skills

Python is an agile, strong, expressive, absolutely object-oriented, extensible, and scalable programming language. It combines the ability of compiled languages with the simplicity and speedy improvement of scripting languages. In center Python Programming, moment variation, best Python developer and coach Wesley Chun is helping you examine Python speedy and comprehensively that you can instantly be triumphant with any Python project.

Using useful code examples, Chun introduces the entire basics of Python programming: syntax, items and reminiscence administration, facts varieties, operators, records and I/O, services, turbines, mistakes dealing with and exceptions, loops, iterators, useful programming, object-oriented programming and extra. when you examine the middle basics of Python, he exhibits you what you are able to do along with your new talents, delving into complicated subject matters, reminiscent of ordinary expressions, networking programming with sockets, multithreading, GUI improvement, Web/CGI programming and lengthening Python in C.

This variation displays significant improvements within the Python 2.x sequence, together with 2.6 and suggestions for migrating to three. It comprises new chapters on database and web purchaser programming, plus insurance of many new subject matters, together with new-style periods, Java and Jython, Microsoft workplace (Win32 COM customer) programming, and lots more and plenty extra.

Show description

Read Online or Download Core Python Programming (2nd Edition) PDF

Similar python books

Python Algorithms: Mastering Basic Algorithms in the Python Language (2nd Edition)

Python Algorithms, moment version explains the Python method of set of rules research and layout. Written through Magnus Lie Hetland, writer of starting Python, this booklet is sharply enthusiastic about classical algorithms, however it additionally supplies a high-quality knowing of basic algorithmic problem-solving concepts.

Pro Django (2nd Edition)

The right way to leverage Django, the major Python internet software improvement framework, to its complete capability during this complex instructional and reference. up-to-date for Django 1. five and Python three, professional Django, moment variation examines in nice element the advanced difficulties that Python internet software builders can face and the way to unravel them.

Python Playground: Geeky Projects for the Curious Programmer

Python is a robust programming language that's effortless to benefit and enjoyable to play with. yet as soon as you've gotten a deal with at the fundamentals, what do you do next?

Python Playground is a set of ingenious programming tasks that might motivate you to take advantage of Python to make paintings and tune, construct simulations of real-world phenomena, and have interaction with just like the Arduino and Raspberry Pi. You'll learn how to use universal Python instruments and libraries like numpy, matplotlib, and pygame to do issues like:

Generate Spirograph-like styles utilizing parametric equations and the turtle module
Create song in your computing device via simulating frequency overtones
Translate graphical photographs into ASCII art
Write an autostereogram software that produces 3D photographs hidden underneath random patterns
Make real looking animations with OpenGL shaders via exploring particle platforms, transparency, and billboarding techniques
Construct 3D visualizations utilizing information from CT and MRI scans
Build a laser exhibit that responds to track by way of hooking up your computing device to an Arduino

Programming shouldn't be a chore. Have a few sturdy, geeky enjoyable with Python Playground.

Python pocket reference

This can be the ebook to arrive for if you are coding at the fly and wish a solution now. it really is an easy-to-use connection with the center language, with descriptions of standard modules and toolkits, and a consultant to contemporary adjustments, new positive aspects, and upgraded built-ins -- all up to date to hide Python three. X in addition to model 2.

Extra resources for Core Python Programming (2nd Edition)

Example text

Extract the files, and go to the main directory. Build Python by performing the following: 1. /configure 2. make 3. make install Python is usually installed in a standard location so you can find it rather easily. It has become quite commonplace for systems today to have multiple versions of Python installed. While it is easy to find the binary executable, you also have to deal with where the libraries are installed. x is the version of Python you are using. framework/Versions. On Windows, the default installation area is C:\Python2x.

Topics covered here include Web Services, Microsoft Office (Win32 COM Client) Programming, and Java/ Jython. Optional Sections Subsections or exercises marked with an asterisk (
) may be skipped due to their advanced or optional nature. They are usually self-contained segments that can be addressed at another time. Those of you with enough previous programming knowledge and who have set up their Python development environments can skip the first chapter and go straight to Chapter 2, “Getting Started,” where you can absorb Python and be off to the races.

However, more often than not, since Python is an interpreted language, you will find that most of the comparisons are with Perl, Java, Tcl, and JavaScript. Perl is another scripting language that goes well beyond the realm of the standard shell scripts. Like Python, Perl gives you the power of a full programming language as well as system call access. Perl’s greatest strength is in its string pattern matching ability, providing an extremely powerful regular expression matching engine. This has pushed Perl to become the de facto language for string text stream filtering, recognition, and extraction, and it is still the most popular language for developing Internet applications through Web servers’ Common Gateway Interface (CGI).

Download PDF sample

Rated 4.86 of 5 – based on 29 votes