(Most of them in Python 3)
Library Requirements File (For Python2)
- Chapter 4: Multithreaded Programming
- Example 4-10: Locks and More Randomness (mtsleepF.py)
- Example 4-11: Candy Vending Machines and Semaphores (candy.py)
- Example 4-12: Producer-Consumer Problem (prodcons.py)
- Example 4-13: Higher-Level Job Management (bookrank3CF.py)
- Exercise 4-1: Processes vs. Threads (processes_vs_threads.md)
- Exercise 4-2: Utility of multithreading in Python (python_threads.md)
- Exercise 4-3: Mulithreading on Multicore System (threads_multicore.md)
- Exercise 4-4-a: Simple Byte Count (bytes_count.py)
- Exercise 4-4-b: Multithreaded Byte Count (mt_bytes_count.py)
- Exercise 4-5: Threads, Files and Regex (mt_simple_header_analysis.py, simple_header_analysis.py)
- Exercise 4-6: Threads and Networking (mt_duplex_chat_serv.py, mt_duplexc_chat_clnt.py)
- Exercise 4-7: Threads and Web Programming (Optional, to be done)(mtcrawl.py)
- Exercise 4-8: Thread Pools (thread_pools.py)
- Exercise 4-9: Files (mt_lines_counter.py) Single threaded version runs faster than the multithreaded one.
- Exercise 4-10: Concurrent Processing (concurrent_processing.py)
- Exercise 4-11: Synchronization Primitives (sync_prim.md)
- Exercise 4-12: Porting to Python 3 (already built Example 4-11 in Python3) (candy.py)
- Chapter 5: GUI Programming
- Example 5-1: Label Widget Demo (changed in Exercise 5-3) (tkhello1.py)
- Example 5-2: Button Widget Demo (tkhello2.py)
- Example 5-3: Label and Button Widget Demo (Changed in Exercise 5-4) (tkhello3.py)
- Example 5-4: Label, Button and Scale Demonstration (tkhello4.py)
- Example 5-5: Road Signs PFA GUI Application (pfaGUI.py)
- Example 5-6: File System Traversal GUI (listdir.py)
- Example 5-7: Tix GUI Demo (animalTix.pyw)
- Example 5-8: Pmw GUI Demo (modified in Exercise 5-10) (animalPmw.pyw)
- Example 5-9: wxPython GUI Demo (modified in Exercise 5-10) (animalWx.pyw)
- Example 5-10: PyGTK GUI Demo (animalGtk.pyw)
- Example 5-11: Tile/Ttk GUI Demo (animalTtk.pyw)
- Example 5-12: Tile/Ttk Python 3 GUI Demo (animalTtk3.pyw)
- Exercise 5-1: Client/Server Architecture (client_server_architecture.md)
- Exercise 5-2: Object-Oriented Programming (oop.md)
- Exercise 5-3: Label Widgets (tkhello1.py)
- Exercise 5-4: Label and Button Widgets (modified in Exercise 5-5) (tkhello3.py)
- Exercise 5-5: Label, Button and Radiobutton Widgets (modified in Exercise 5-6) (tkhello3.py)
- Exercise 5-6: Label, Button and Entry Widgets (tkhello3.py)
- Exercise 5-7: Label and Entry Widgets and Python I/O (extra credit stuff will be done later) (file_reader.py)
- Exercise 5-8: Simple Text Editor (text_editor.py)
- Exercise 5-9: Multithreaded Chat Applications (chat_serv.py, chat_clnt_GUI.py)
- Exercise 5-10: Using Other GUIs (some are not working on my system, so very little modification is done.) (animalPmw.pyw, animalWx.pyw)
- Exercise 5-11: Using GUI Builders. I had problems in either installation, download or running of the builders (some of them maybe due to version mismatch). Thus, perhaps later.