Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Monday, August 4, 2008

Python Programming On Win32: Help for Windows Programmers

Python Programming On Win32: Help for Windows Programmers


Product Description
Python is growing in popularity; based on download statistics, there are now over 450,000 people using Python, and more than 150,000 people using Python on Windows. Use of the language has been growing at about 40% per year since 1995, and there is every reason to believe that growth will continue. Despite Python's increasing popularity on Windows, Python Programming on Win32 is the first book to demonstrate how to use it as a serious Windows development and administration tool. Unlike scripting on Unix, Windows scripting involves integrating a number of components, such as COM or the various mail and database APIs, with the Win32 programming interface. While experienced Windows C++ programmers can find their way through the various objects, most people need some guidance, and this book is it. It addresses all the basic technologies for common integration tasks on Windows, explaining both the Windows issues and the Python code you need to glue things together. Topics include:

* The Python language and the PythonWin extensions
* Building a GUI with COM
* Adding a Macro language
* Distributing the application
* Client-side COM for output and data access
* Integration with mail and other internet protocols
* Managing users and drives

This is a vital and unique book. Python Programming on Win32 is an excellent presentation of Windows application development and a solid illustration of how to use Python in the Windows environment.

Download Link 1
Download Link 2

Python Programming with the Java(TM) Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython

Python Programming with the Java(TM) Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython


Book Info
Tutorial begins with coverage of some of the basics of Python programming. Using plenty of skill-building exercises and interactive programming sessions to help those new to programming develop an understanding of concepts and practical techniques. Softcover.

From the Back Cover

Characterized by ease of use, richness of expression, and concise syntax, Python has remained a premier programming language for more than a decade, and is used by novices and professionals alike. In particular, its close relationship to Java™ makes the two languages, when used in combination, ideal for Web and distributed enterprise application development.

This tutorial begins with coverage of some of the basics of Python programming. Using plenty of skill-building exercises and interactive programming sessions, this book will help those new to programming develop an understanding of concepts and practical techniques. For experienced programmers, the book demonstrates Python's breadth of capabilities and shows the ways that Python interfaces with Java APIs for professional application development.

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython covers important topics such as:

* Fundamental programming concepts, including statements, expressions, interpreters, and compilers
* Python basics, including operators, string formatting, namespaces, classes, errors, and exceptions
* Object-oriented programming concepts
* File input/output
* Python's intrinsic functions
* Formatting, parsing, and manipulating strings
* Interfacing with the Java APIs and working with Java Streams
* Using Python and Java Swing to create GUIs
* Working with SQL and JDBC™
* Python and Java applets

In addition, the book contains instructions for downloading and installing the Python language and the Java Development Kit (JDK). Terminology, definitions, explanations, and numerous code samples make this book a useful learning experience.

Whether you are a sophisticated computer user new to programming or a serious application developer, Python Programming with the Java™ Class Libraries will give you insight into the power of Python and the know-how to put it to work.

Download Link 1

Download Link 2

Python Scripting for Computational Science

Python Scripting for Computational Science


Book Description
The goal of this book is to teach computational scientists and engineers how to develop tailored, flexible, and efficient working environments built from small programs (scripts) written in the easy-to-learn, very high-level language Python. The focus is on examples and applications of relevance to computational science: gluing existing applications and tools, e.g. for automating simulation, data analysis, and visualization; steering simulations and computational experiments; equipping programs with graphical user interfaces; making computational Web services; creating interactive interfaces with a Maple/Matlab-like syntax to numerical applications in C/C++ or Fortran; and building flexible object-oriented programming interfaces to existing C/C++ or Fortran libraries. In short, scripting with Python makes you much more productive, increases the reliability of your scientific work and lets you have more fun - under Unix, Windows and MacIntosh.

Download Link 1
Download Link 2

Rapid GUI Programming with Python and Qt

Rapid GUI Programming with Python and Qt


Product Description
The Insider's Best-Practice Guide to Rapid PyQt 4 GUI Development

Whether you're building GUI prototypes or full-fledged cross-platform GUI applications with native look-and-feel, PyQt 4 is your fastest, easiest, most powerful solution. Qt expert Mark Summerfield has written the definitive best-practice guide to PyQt 4 development.

With Rapid GUI Programming with Python and Qt you'll learn how to build efficient GUI applications that run on all major operating systems, including Windows, Mac OS X, Linux, and many versions of Unix, using the same source code for all of them. Summerfield systematically introduces every core GUI development technique: from dialogs and windows to data handling; from events to printing; and more. Through the book's realistic examples you'll discover a completely new PyQt 4-based programming approach, as well as coverage of many new topics, from PyQt 4's rich text engine to advanced model/view and graphics/view programming. Every key concept is illuminated with realistic, downloadable examples—all tested on Windows, Mac OS X, and Linux with Python 2.5, Qt 4.2, and PyQt 4.2, and on Windows and Linux with Qt 4.3 and PyQt 4.3.

Coverge includes

* Python basics for every PyQt developer: data types, data structures, control structures, classes, modules, and more

* Core PyQt GUI programming techniques: dialogs, main windows, and custom file formats

* Using Qt Designer to design user interfaces, and to implement and test dialogs, events, the Clipboard, and drag-and-drop

* Building custom widgets: Widget Style Sheets, composite widgets, subclassing, and more

* Making the most of Qt 4.2's new graphics/view architecture

* Connecting to databases, executing SQL queries, and using form and table views

* Advanced model/view programming: custom views, generic delegates, and more

* Implementing online help, internationalizing applications, and using PyQt's networking and multithreading facilities

About the Author

Mark Summerfield works as an independent trainer and consultant specializing in C++, Qt, Python, and PyQt. He was Trolltech’s documentation manager from 2000 to 2004, was the founding editor of Qt Quarterly, Trolltech’s customer newsletter, and coauthored C++ GUI Programming with Qt 3 and C++ GUI Programming with Qt 4.

Download Link 1
Download Link 2
Download Link 3

Sams Teach Yourself Django in 24 Hours

Sams Teach Yourself Django in 24 Hours


Product Description

In just 24 lessons of one hour or less, you will be able to build full-featured production websites using Django, the powerful web development framework based on Python.

Designed for experienced website developers who have at least some familiarity with the Python programming language, this book uses a straightforward, step-by-step approach. Each lesson builds on the previous ones, enabling you to learn the essentials of implementing the Django framework on a website from the ground up.

Step-by-step instructions carefully walk you through the most common Django tasks.

Q&As, quizzes, and exercises at the end of each lesson help you test your knowledge.

Notes and tips point out shortcuts and solutions.

Learn how to…

* Install and configure the Django web development framework
* Cleanly separate data, logic, and view layers
* Implement site interfaces with build templates and views
* Utilize templates and views to store, access, and retrieve data
* Use the Django forms library
* Define custom tags and filters to minimize coding
* Secure sites with registration, authorization, logins, and permissions
* Manage sessions and cookies
* Implement middleware for request and response handling
* Create sitemaps to inform search engines of your content
* Internationalize your site
* Optimize performance with caching
* Deploy Django in multiple configurations
* Maintain sites with Django’s administrator interface

Introduction 1

Part I: Creating the Website Framework

Hour 1: Understanding Django 7

Hour 2: Creating Your First Website 19

Hour 3: Adding Models and Objects to Your Website 37

Hour 4: Creating the Initial Views 63

Part II: Implementing the Website Interface

Hour 5: Using Data from the Database in Views 81

Hour 6: Configuring Web Page Views 103

Hour 7: Implementing Django Templates to Create Custom Views 117

Hour 8: Using Built-in Template Tags to Enhance Views 139

Hour 9: Using Built-in Template Filters to Enhance Views 155

Hour 10: Adding Forms to Views 185

Hour 11: Using Views to Add and Update Data in the Database 209

Hour 12: Utilizing Generic Views 231

Hour 13: Advanced View Configurations 269

Part III: Implementing a Full-Featured Website

Hour 14: Managing Site Users 295

Hour 15: Adding Website Security 313

Hour 16: Managing Sessions and Cookies 333

Hour 17: Customizing Models in the Admin Interface 347

Hour 18: Customizing the Admin Interface 365

Part IV: Implementing Advanced Website Components

Hour 19: Implementing Middleware 383

Hour 20: Internationalization and Localization 407

Hour 21: Creating Sitemaps 423

Hour 22: Implementing Multiple Websites 437

Hour 23: Configuring Caching 451

Hour 24: Deploying Django 465

Appendixes

Appendix A: Django Resources 477

Appendix B: Django Form Field Objects 481

Appendix C: Formatting Dates and Times 491

Index 493

About the Author

Brad Dayley is a senior software engineer in Novell’s Product Development Group. He has 16 years of experience in designing, developing, and implementing software from the kernel level through web development. He is the author of several books on server and network management as well as programming languages. When he is not developing software or writing books, he can be found biking, hiking, and/or Jeeping somewhere in the remote regions of the western United States with his wife, DaNae, and four sons.

Download Link 1
Download Link 2
Download Link 3

Text Processing in Python

Text Processing in Python


From the Back Cover

Text Processing in Python is an example-driven, hands-on tutorial that carefully teaches programmers how to accomplish numerous text processing tasks using the Python language. Filled with concrete examples, this book provides efficient and effective solutions to specific text processing problems and practical strategies for dealing with all types of text processing challenges.

Text Processing in Python begins with an introduction to text processing and contains a quick Python tutorial to get you up to speed. It then delves into essential text processing subject areas, including string operations, regular expressions, parsers and state machines, and Internet tools and techniques. Appendixes cover such important topics as data compression and Unicode. A comprehensive index and plentiful cross-referencing offer easy access to available information. In addition, exercises throughout the book provide readers with further opportunity to hone their skills either on their own or in the classroom. A companion Web site (http://gnosis.cx/TPiP) contains source code and examples from the book.

Here is some of what you will find in thie book:

* When do I use formal parsers to process structured and semi-structured data? Page 257
* How do I work with full text indexing? Page 199
* What patterns in text can be expressed using regular expressions? Page 204
* How do I find a URL or an email address in text? Page 228
* How do I process a report with a concrete state machine? Page 274
* How do I parse, create, and manipulate internet formats? Page 345
* How do I handle lossless and lossy compression? Page 454
* How do I find codepoints in Unicode? Page 465

About the Author

David Mertz came to writing about programming via the unlikely route of first being a humanities professor. Along the way, he was a senior software developer, and now runs his own development company, Gnosis Software ("We know stuff!"). David writes regular columns and articles for IBM developerWorks, Intel Developer Network, O'Reilly ONLamp, and other publications.

Download Link 1
Download Link 2

The Book of Zope

The Book of Zope

Zope
From Library Journal
A background in PythonDa free, open-source programming language for web applicationsDis essential for developers using the Zope web application server. Although beginners will find a thorough introduction in The Book of Zope, it is an optional purchase for institutions owning The Zope Book (Computer Media, LJ 11/1/01). Python offers beginning programmers a gentler albeit less thorough entr e into the language than Python Essential Reference (Computer Media, LJ 8/01). Larger libraries where more advanced web development titles circulate should consider both.
Copyright 2002 Reed Business Information, Inc.

Product Description
Zope, the leading Open Source Web application server, helps teams of developers create and manage dynamic, Web-based business applications like Intranets and portals. Zope makes it easy to add features such as site search, news, personalization, and e-commerce. The Book of Zope is a comprehensive introduction to Zope, covering installation; DTML programming; concepts such as users, roles, and permissions; ZClasses; ZCatalog; databases; programming Zope with Python; debugging; and the use of external data sources. Zope runs on Windows and almost all Unix-based platforms, and includes its own Web server, transactional object-oriented database, search engine, Web page templating system, Web development and management tool, and comprehensive extension support.

Download Link 1
Download Link 2
Download Link 3

The Definitive Guide to Django: Web Development Done Right

The Definitive Guide to Django: Web Development Done Right

Django
Product Description

Django, the Python–based equivalent to the Ruby on Rails web development framework, is presently one of the hottest topics in web development today. In The Definitive Guide to Django: Web Development Done Right, Adrian Holovaty, one of Django’s creators, and Django lead developer Jacob Kaplan–Moss show you how they use this framework to create award–winning web sites. Over the course of three parts, they guide you through the creation of a web application reminiscent of chicagocrime.org.

The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django–driven web site. The second part delves into the more sophisticated features of Django, like outputting non–HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django’s many configuration options and commands. The book even includes seven appendixes for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework.

About the Author
Adrian Holovaty, a web developer/journalist, is one of the creators and core developers of Django. He works at washingtonpost.com, where he builds database web applications and does "journalism as computer programming." Previously, he was lead developer for World Online in Lawrence, Kansas, where Django was created.

When not working on Django improvements, Adrian hacks on side projects for the public good, such as chicagocrime.org, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at www.Holovaty.com.

Jacob Kaplan-Moss is one of the lead developers of Django. At his day job, he's the lead developer for the Lawrence Journal-World, a locally owned newspaper in Lawrence, Kansas, where Django was developed. At the Journal-World, Jacob hacks on a number of sites including lawrence.com, LJWorld.com, and KUsports.com, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time&emdash;what little of it there is&emdash;he fancies himself a chef.

Download Link 1
Download Link 2

Web Component Development with Zope 3

Web Component Development with Zope 3


Review

"The book can be considered the definitive guide to Zope 3. If the reader is looking for a book containing a set of tutorials on creating and using Web applications, this is a great choice."

Pectu Dana, Timisoara, Romania; ACM Computing Reviews, September 2006

"This book is at once thorough, brief, and concise. This is by far the best technical books i've read on any subject.

I have been interested in Zope for almost a year now, but even as a seasoned programmer I was intimidated by its labrythian complexity. I struggled for weeks reading the free Zope material and learning almost nothing. This book presents the material in an accessable manner while shying away from the horrible puns and awful jokes present in so many technical books. This book would be a bargin at twice its price."

D. Morrione, Hemet, CA, amazon.com

Product Description

New Zope 3 is a web applications server written in Python that allows developing complex web applications rapidly and collaboratively. Zope 3 is the successor to the successful version 2.

After an introduction to the key concepts of Zope, a sample application is built and extended subsequently. The book is targeted towards developers familiar with the web and web technologies. Special sections for Zope 2 developers cover the basic differences to the predecessor. The concepts of Zope 3 and its component architecture are explained thoroughly, continually accompanied by a demo application.

Download Link 1
Download Link 2
Download Link 3

Sunday, August 3, 2008

wxPython in Action

wxPython in Action


Product Description
Because they are often large and complex, GUI programming tool kits can be hard to use. wxPython is a combination of the Python programming language and the wxWidgets toolkit, which allows programmers to create programs with a robust, highly functional graphical user interface, simply and easily. wxPython combines the power of an exceptionally complete user interface toolkit with an exceptionally flexible programming language. The result is a toolkit that is unique in the ease with which complex applications can be built and maintained.

wxPython in Action is a complete guide to the wxPython toolkit, containing a tutorial for getting started, a guide to best practices, and a reference to wxPython's extensive widget set. After an easy introduction to wxPython concepts and programming practices, the book takes an in-depth tour of when and how to use the bountiful collection of widgets offered by wxPython. All features are illustrated with useful code examples and reference tables are included for handy lookup of an object's properties, methods, and events. The book enables developers to learn wxPython quickly and remains a valuable resource for futurework.

Download Link 1
Download Link 2