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
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
__
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
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
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
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
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...
; 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
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
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
> -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'
> >>
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
> =
> 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
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
14 matches
Mail list logo