Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Python: Using Python 2.6 and Python 3.1
This is the forum to discuss the Wrox book Beginning Python: Using Python 2.6 and Python 3.1 by James Payne; ISBN: 978-0-470-41463-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Python: Using Python 2.6 and Python 3.1 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 8th, 2011, 02:44 PM
Registered User
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Chapter 9 Thread Code

When I run the code an error immediately appears in the python shell that says:

Code:
Traceback (most recent call last):
  File "C:\Users\The Programmer\Pictures\Cloud\Python\Programs\Chapter 9\Ch9.py", line 157, in <module>
    class SquareRootCalculator:
  File "C:\Users\The Programmer\Pictures\Cloud\Python\Programs\Chapter 9\Ch9.py", line 175, in SquareRootCalculator
    class CalculatorThread(Thread):
NameError: name 'Thread' is not defined
Could you please fix this in your code downloads?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Example 7-1 Thread steve2k2 BOOK: Beginning JavaScript and CSS Development with jQuery 7 May 6th, 2011 11:20 AM
Chapter 6 - Code Download Missing for this Chapter dbaechtel BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 0 August 11th, 2009 11:02 AM
Which Thread to use and How peace2007 ASP.NET 1.0 and 1.1 Professional 0 September 23rd, 2007 03:24 AM
a Thread argument beccali Java Basics 1 February 21st, 2007 05:12 AM
Problem in Thread Atif Khan C# 0 April 8th, 2005 06:57 AM



All times are GMT -4. The time now is 07:21 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.