Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL



Introduction to Python® Programming and Developing GUI Applications with PyQT
B.M. Harwani

Publisher and General Manager, Course Technology PTR:
Stacy L. Hiquet

Associate Director of Marketing:
Sarah Panella

Manager of Editorial Services:
Heather Talbot

Marketing Manager: Mark Hughes

Senior Acquisitions Editor:
Mitzi Koontz

Project Editor: Kim Benbow

Technical Reviewer: Keith Davenport

Copy Editor: Gene Redding

Interior Layout: MPS Limited, a Macmillan Company

Cover Designer: Mike Tanamachi

Indexer: BIM Indexing Services

Proofreader: Brad Crawford

© 2012 Course Technology, a part of Cengage Learning.

ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored, or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the publisher.

For product information and technology assistance, contact us at
Cengage Learning Customer & Sales Support, 1-800-354-9706
For permission to use material from this text or product,
submit all requests online at
Further permissions questions can be emailed to

Python and the Python logos are trademarks or registered trademarks of the Python Software Foundation.

All other trademarks are the property of their respective owners.

All images © Cengage Learning unless otherwise noted.

Library of Congress Control Number: 2011936040

ISBN-13: 978-1-4354-6097-3

ISBN-10: 1-4354-6097-9

eISBN-10: 1-4354-6098-7

Course Technology, a part of Cengage Learning
20 Channel Center Street
Boston, MA 02210

Cengage Learning is a leading provider of customized learning solutions with office locations around the globe, including Singapore, the United Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local office at:

Cengage Learning products are represented in Canada by Nelson Education, Ltd.

For your lifelong learning solutions, visit

Visit our corporate website at

Printed in the United States of America
1 2 3 4 5 6 7 13 12 11


This book is dedicated to my mother, Mrs. Nita Harwani, and American inventor and entrepreneur, the late Steve Jobs.

My mother is next to God for me, and whatever I am today is because of the moral values taught by her.

Steve Jobs, co-founder, chairman, and chief executive officer of Apple Inc. has been and will always be a great inspiration for me.

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint