/core-python-ex

Exercise solutions and some sample code from the book "Core Python Programming", 2nd edition by Wesley J. Chun

Primary LanguagePythonMIT LicenseMIT

core-python-ex

Exercise solutions and some sample code from the book "Core Python Programming", 2nd edition by Wesley J. Chun

Table of exercises done or to be done

No Desc Status
7 Mapping and Set Types
7-9 Character translator (Unix tr command) Done
7-10 "rot13" translator Done
7-15 Set calculator Done
9 Files and Input/Output
9-14 Copy files Done
9-15 Calculator with logging to file Done
9-16 Split long text lines Done
9-18 Count byte occurences in file Done
9-22 ZIP archive info Done
11 Functions and Functional Programming
11-6 Variable-length printf function Done
12 Modules
12-5 Use __import__() to import a module Done
12-6 Function to import a module with a new name Done
12-7 Import mechanism to obfuscate modules (advanced) TODO
13 Object Oriented Programming
13-3 Class to format float values to monetary amounts Done
13-8 Stack class Done
13-9 Queue class Done
13-10 Array class which is both a stack and a queue Done
13-14 Unix shell commands interpreter Done
13-20 Customize Time60 class for time tracking Done
15 Regular Expressions
15-1 Recognize strings Done
15-4 Match the set of Python identifiers Done
15-6 Match simple Web domain names Done
15-9 Match the string representation of a float Done
15-11 Match the set of all valid e-mail addresses TODO
15-12 Match the set of all valid Web site addresses TODO
15-13 Extract the actual type name from the type() result TODO
15-14 Match the monts in the calendar TODO
15-15 Match the credit card numbers TODO
15-16 Data Generator "gendata.py" TODO
16 Network Programming
16-4 Customize TCP and UDP clients TODO
16-5 Implement Guido's TCP client/server programs TODO
16-6 Daytime service TODO
16-7 Half-duplex chat TODO
16-8 Full-duplex chat TODO
16-10 Multi-user multi-room full duplex chat TODO
16-11 Web client for HTTP TODO
16-12 Sleep server TODO
16-13 Name server for hostname-port pairs TODO
16-14 Error checking and shutdown TODO
16-15 Asynchronous server TODO
16-16 Maintain single connection for server TODO