Quantcast
Channel: Pragmatic Forums | Posts by Paul Gries
Browsing all 25 articles
Browse latest View live

Chapter2: Exercise 9 posted by Paul Gries @ Mon, 02 Jan 2012 16:41:04 +0000

Hi Stephan,You need to use the multiplication operator in your assignment statement:kmperliter = mileage * 1.609344 * 3.78541178Is that what you’re asking?

View Article



Media module unusable under Mac OS X 10.6.1? posted by Paul Gries @ Thu, 08...

We’ve finally, finally got a solution.http://packages.python.org/PyGraphics/This works in Python 2.7 in Windows 7, Snow Leopard and Lion, and Linux.

View Article

Python 2.6, Ch. 4 media module examples posted by Paul Gries @ Wed, 07 Sep...

I have two thoughts on this (and will generate more if neither pans out).1) Are you using 32-bit or 64-bit Python? One of the supporting libraries seems to occasionally have trouble with 64-bit.2)...

View Article

url posted by Paul Gries @ Fri, 19 Aug 2011 01:12:06 +0000

It looks like it’s moved since the printing; try this one:http://robjhyndman.com/tsdldata/ecology1/hopeda...

View Article

Which version of Python posted by Paul Gries @ Fri, 19 Aug 2011 01:07:07 +0000

We understand, and we want one as well. That will happen next summer at the earliest, unfortunately.

View Article


Update to media library (Python 2.7, even on OS X!) posted by Paul Gries @...

I’m delighted to announce a beta of our media library that, for us, works with Python 2.7, including on OS X.As of today, we don’t yet have up-to-date installation instructions for Linux.You can find...

View Article

Chapter2: Exercise 9 posted by Paul Gries @ Mon, 25 Jul 2011 21:41:26 +0000

It looks like your code has the right structure; you are getting a different answer than expected because your conversions don’t use the same number of significant digits as we did in our version.

View Article

Which version of Python posted by Paul Gries @ Tue, 28 Jun 2011 13:08:15 +0000

I’m sorry for the delay in replying. We don’t have firm plans for a Python 3 version, although I’m going on sabbatical in a year and a rewrite is a great sabbatical project. I’ll discuss it with my...

View Article


Answer Key posted by Paul Gries @ Wed, 24 Nov 2010 12:20:10 +0000

Simon: you aren’t missing anything. IIRC, we had been thinking of using the length of the line, but the way the question is worded that isn’t clear at all.

View Article


Import media posted by Paul Gries @ Fri, 19 Nov 2010 18:15:50 +0000

Which commands take a long time to run? Doing manipulation on large pictures will take quite awhile, but are you running into other issues?

View Article

Problem with import media instruction page 64 posted by Paul Gries @ Tue, 01...

Hi Frank,I’m sorry if these are silly questions—first, is this what you did?import mediaF = media.choose_file()Second, the error message you gave says “chose_file”, not “choose_file”—is that the...

View Article

Answer Key posted by Paul Gries @ Fri, 18 Sep 2009 17:25:53 +0000

We (finally!) have managed to gather (most of) the answers to even-numbered exercises and organized them. (Instructors using the text usually do not want all the answers posted, because they assign...

View Article

Given instructions for Ubuntu use wrong interpreter posted by Paul Gries @...

Nice investigation; has anyone else had this issue? What shell are you using?

View Article


Packages require Python 2.5 posted by Paul Gries @ Sat, 11 Jul 2009 14:35:05...

Hi Todd,This is Paul, one of the authors. Our apologies for the bad set of instructions. We’ve had some success with Python 2.6 on some but not all versions of Windows and Mac OS X, and the whole...

View Article

Error installing numpy-1.1.1-win32-superpack-python2.5.exe posted by Paul...

Hi Bill,This is Paul, one of the authors. Our apologies for the bad set of instructions. We’ve had some success with Python 2.6 on some but not all versions of Windows and Mac OS X, and the whole...

View Article


Python 2.6, Ch. 4 media module examples posted by Paul Gries @ Sat, 11 Jul...

Hi Mike,This is Paul, one of the authors. Your initial post prompted us to take a close look; we’ve had some success with Python 2.6 on Windows XP but not on Vista or 7 and some difficulties on Mac OS...

View Article

Should the Python Shell in Wing IDE 101 auto-indent function definitions?...

Thanks, that’s a good point. Time to start the version 2 editing, I think.

View Article


Is there a release date update??? posted by Paul Gries @ Tue, 05 May 2009...

Apparently they’ve just started the printing process! Word has it that it will be available from Amazon in a week or two.

View Article

Updated table of contents? posted by Paul Gries @ Wed, 29 Apr 2009 21:18:18...

Hi Arnd,I poked a bit and got the online table of contents updated. Please let me know if you have any further questions.-Paul Gries

View Article

Where is PyGraphics ? posted by Paul Gries @ Sun, 19 Apr 2009 01:30:53 +0000

The code for the book is now linked from the book URL:http://www.pragprog.com/titles/gwpy/practical-programmingOnce you unzip it, you should be able to find the install directory at the top level of...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images