[Tutor] Macintosh Help with Python

2015-02-03 Thread Mark Warren
Can you help me through a phone number or chat on working with Python? -- Mark Warren Humboldt Unified School District # 258 801 New York Street Humboldt, Kansas 66748 Phone -- (620) 704-1527 ___ Tutor maillist - Tutor@python.org To unsubscribe or

[Tutor] cPickle and shjelving

2011-08-24 Thread Warren P. Jones
A # cPickles.dump(employee_num, emp1.dat) print key, "-",pickles[key] pickles.sync () # Makes sure date is written Can you please help me in solving this issue? Kind regards Warren Jones __

Re: [Tutor] __mul__ for different variable types?

2009-10-04 Thread Warren
Awesome, Rich, thanks! - Warren (war...@wantonhubris.com) On Oct 4, 2009, at 5:31 PM, Rich Lovely wrote: 2009/10/4 Warren : I'm a little confused on this one. I have a Vector class that I want to be able to multiply by either another vector or by a single float value. How wo

[Tutor] __mul__ for different variable types?

2009-10-04 Thread Warren
isinstance" statements or something? What is the preferred Python way of doing this? - Warren (war...@wantonhubris.com) ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Import vs #include

2009-09-18 Thread Warren Marshall
Excellent, OK, this is becoming clearer ... So if I wanted a common library of code that several Python apps would be using, best practices would say I should put that into a directory that the projects can see and import it as a package.module. Cool... - Warren (epic...@gmail.com) On

[Tutor] Import vs #include

2009-09-18 Thread Warren Marshall
f C/C++/C# and I'm trying to shake loose the analog that I've built up in my head that import is Python's answer to #include. It isn't, is it? - Warren (epic...@gmail.com) ___ Tutor maillist - Tutor@python.org To uns

Re: [Tutor] New guy question...

2009-09-15 Thread Warren
Does TextMate support input into a running Python program? I'm not sure if it supports standard input. You might have to run the program from Terminal to get this to work. Good question, Kent. That might be the root of all of this pain. I'll experiment when I get a chance...

Re: [Tutor] New guy question...

2009-09-15 Thread Warren
; to "raw_input". This should allow me to get through some more of this tutorial book anyway. Thanks again, all! I appreciate the help. - Warren (war...@wantonhubris.com) ___ Tutor maillist - Tutor@python.org To unsubscr

Re: [Tutor] New guy question...

2009-09-14 Thread Warren
Well, I thought that as well but I took it out which makes it run under 2.6.1 and I get similar, but not exactly the same, output: Type integers, each followed by ENTER; or just ENTER to finish EOFError: EOF when reading a line - Warren (war...@wantonhubris.com) On Sep 14, 2009, at

[Tutor] New guy question...

2009-09-14 Thread Warren
aiting for input like it should be and instead killing the app? My google-fu is failing me on this one. - Warren (war...@wantonhubris.com) ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Matching on multiple log lines

2006-10-30 Thread Matthew Warren
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kent Johnson > Sent: 30 October 2006 11:55 > Cc: tutor@python.org > Subject: Re: [Tutor] Matching on multiple log lines > > wesley chun wrote: > >> so it's guaranteed that 'Writing Message to' > >>

Re: [Tutor] Help

2006-10-04 Thread Matthew Warren
I think eve-online is written in stackless python, they make quite a dealy about it on their site www.eve-online.com although I cant find the page myself right now due to filters in the way. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kent John

Re: [Tutor] Creating Adventure Games Python Port - Chapter 2

2006-10-04 Thread Matthew Warren
> = > import random > > coin1 = 0 > coin2 = 0 > > coin1 = random.randint(1, 10) > coin2 = random.randint(1, 10) > > if coin1 <= 5: > print "Coin1 is Heads" > else: > print "Coin1 is Tails" > > if coin2 <= 5: > print "Coin2 is Heads" > else: > print "C

[Tutor] hey i need some help here

2005-09-11 Thread Matt Warren
I just started attempting to program and thought i would try python as my first tool. However following the beginners guide on their page it says to insert python as a command and that it should come up with the program information. When i insert python it says it is not recognizable as an inte