If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-end scripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Pythonas many roles in practical, real-world programming. You'll learn language syntax and programming techniques in a clear and concise manner, with lots of examples that illustrate both correct usage and common idioms. Completely updated for version 3.x, Programming Python also delves into the language as a software development tool, with many code examples scaled specifically for that purpose. Topics include: Quick Python tour: Build a simple demo that includes data representation, object-oriented programming, object persistence, GUIs, and website basics System programming: Explore system interface tools and techniques for command-line scripting, processing files and folders, running programs in parallel, and more GUI programming: Learn to use Pythonas tkinter widget library Internet programming: Access client-side network protocols and email tools, use CGI scripts, and learn website implementation techniques More ways to apply Python: Implement data structures, parse text-based information, interface with databases, and extend and embed PythonIn Chapter 9, wea#39;ll see images show up again in the items of a Menu, in the buttons of a windowa#39;s toolbar, in other Canvas ... In later chapters, wea#39;ll find them in an image slideshow (PyView), in a paint program (PyDraw), on clocks ( PyClock), in a generalized photo viewer (PyPhoto), and so on. ... PP4E\Gui\Tour\ buttonpics-func.py def draw(): name, photo = random.choice(images) lbl.config( text=name)anbsp;...
|Publisher||:||"O'Reilly Media, Inc." - 2010-12-14|