Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread Hs Hs
It is interesting to note war against 'Dive into Python'. Personally I felt it was good, a quick resource to learn without buying O'reilly books. After I came across Alan Gauld and Mark Lutz's books, I never referred DintoP. I still have the printed version of this book from 2002-3 I guess. A

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread spir ☣
On Sun, 9 May 2010 13:43:50 +1000 Steven D'Aprano wrote: > Here's a counter-opinion: > > Dive Into Python must die! > http://oppugn.us/posts/1272050135.html I 100% share the article author's opinion. This "book" was surely crafted with the only intention to disgust anybody of programming. A sh

Re: [Tutor] reading binary file on windows and linux

2010-05-09 Thread spir ☣
On Sun, 9 May 2010 19:33:51 +0200 Jan Jansen wrote: > Hello, > > I've got some trouble reading binary files with struct.unpack on windows. > According to the documentation of the binary file's content, at the > beginning there're some simple bytes (labeled as 'UChar: 8-bit unsigned > byte'). Wit

Re: [Tutor] reading binary file on windows and linux

2010-05-09 Thread Steven D'Aprano
On Mon, 10 May 2010 03:33:51 am Jan Jansen wrote: > Hello, > > I've got some trouble reading binary files with struct.unpack on > windows. [...] > The code I'm using to check the first 80 bytes of the file is: > > import struct > import sys > > with open(sys.argv[1]) as source: You're opening th

Re: [Tutor] reading binary file on windows and linux

2010-05-09 Thread Hugo Arts
On Sun, May 9, 2010 at 7:33 PM, Jan Jansen wrote: > Hello, > > I've got some trouble reading binary files with struct.unpack on windows. > According to the documentation of the binary file's content, at the > beginning there're some simple bytes (labeled as 'UChar: 8-bit unsigned > byte'). Within

Re: [Tutor] reading binary file on windows and linux

2010-05-09 Thread Adam Bark
On 9 May 2010 18:33, Jan Jansen wrote: > Hello, > > I've got some trouble reading binary files with struct.unpack on windows. > According to the documentation of the binary file's content, at the > beginning there're some simple bytes (labeled as 'UChar: 8-bit unsigned > byte'). Within those byte

[Tutor] reading binary file on windows and linux

2010-05-09 Thread Jan Jansen
Hello, I've got some trouble reading binary files with struct.unpack on windows. According to the documentation of the binary file's content, at the beginning there're some simple bytes (labeled as 'UChar: 8-bit unsigned byte'). Within those bytes there's a sequence to check the file's sanity. The

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread spir ☣
On Sun, 9 May 2010 13:43:50 +1000 Steven D'Aprano wrote: > http://inventwithpython.com Yep, this one is great! (I gave it a nickname: "play programming!" Is this correct english?) Denis vit esse estrany ☣ spir.wikidot.com __

[Tutor] An interesting situation befalls me revisited

2010-05-09 Thread Kirk Z Bailey
Well, this has been a fruitful thread! Now here's the next exciting installment; what's a good TEXTBOOK for a class to use on the subject? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread Joseph Gulizia
As a new learner of programming I'd recommend Head First Programming "A learner's guide to programming, using the Python language" by O'Reilly. It is very basic. Joe On Sat, May 8, 2010 at 4:31 PM, Kirk Z Bailey wrote: > An instructor of mine is about to teach the FIRST EVER class in Python

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread Alan Gauld
"Alan Gauld" wrote Learn Python the Hard Way: http://learnpythonthehardway.com/index These were both new ones to me, thanks for sharing! I've just finished skimming this one and its pretty good IMHO! My only gripe is the final "chapter" - "Advice from an old programmer". It seems Mr Shaw

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread Alan Gauld
"David Abbott" wrote Learning to Program by none other than Alan Gauld http://www.freenetpages.co.uk/hp/alan.gauld/ Thanks for the plug but the freenetpages site has been frozen for over 2 years. The current site (including the Python v3 version) is as in my .sig... -- Alan Gauld Author

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread Alan Gauld
"Steven D'Aprano" wrote And you can swim into it at diveintopython: http://diveintopython.org/toc/index.html Here's a counter-opinion: Dive Into Python must die! http://oppugn.us/posts/1272050135.html Hmmm, it sounds a bit like complaints from someone who has never written a book thems

Re: [Tutor] An interesting situation befalls me

2010-05-09 Thread David Abbott
Now here is a chance to help influence this getting off on the right foot. > I can use recomendations for texts for use in an introduction to Python > class, and I will condense it down and provide them to the good doctor. > > -- > end > > Very Truly yours, >- Kirk Bailey, >