Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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?





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 06:12 AM
Problem in Thread Atif Khan C# 0 April 8th, 2005 06:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.