Hello all,
I have started to learn Python a few months ago and I'm loving it!
I
am creating a mini-game - the one that scrambles an English word and
asks you what the originalword should be, e.g. yhptno ---> python
So,
I have a function called get_word() that does the random word thing and
retu
Do you know python's object model? A lot of these things will make much
more sense once you do:
http://effbot.org/zone/python-objects.htm
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailma
Is there a simple way to convert a MIMENonMultipart message parsed into a
MIMEMultipart message?
My goal is to take a message from the TouchTerm iPhone App with an openssh
public key that has been mangled by intervening mailers, and convert it
into a multipart message with the original text in one
"spir" wrote
Lie's example actually was:
a,b,c = 1,2,3
print (a,b,c) # here parenthesized
(1, 2, 3)
Oops, I've been using Python 3 too much, I mentally blanked
out the parens!
Sorry about that.
Alan G.
___
Tutor maillist - Tutor@python.or
On Mon, 25 Jan 2010 01:06:45 -
"Alan Gauld" wrote:
>
> "Lie Ryan" wrote
>
> >> and used print, I thought they would be considered the same whether as
> >> a variable, or as a direct line, guess not.
> > what is equivalent:
> > print (a, b, c)
> >
> > and
> > x = a, b, c
> > print x
> >
On Sun, 24 Jan 2010 11:13:37 -0500
"Robert Berman" wrote:
> Good morning,
>
>
>
> Given the following code snippets:
>
>
>
> def getuserinput():
>
> while True:
>
> s1 = raw_input('Enter fraction as N,D or 0,0 to exit>>')
>
> delim = s1.find(',')
>
> if del
Dear List Members,
I hope you're well. I was wondering if you could help out in a basic query.
I'm a Facebook developer and I'm facing the following problem:
I have a flash file which calls up a url say http://test.com/createXML/ which
is caught and used up by a *python/django* code and it create
"David Hutto" wrote
>>> a = 1
>>> b = 2
>>> c = 3
>>> x = a,b,c
>>> print a,b,c
1 2 3
>>> print x
(1, 2, 3)
So 'print a,b,c' says display the values of a,b,c in the sequence of
a,b,c given.
'print x' says print the value of x, x grabs a's value, b's value, and
c's value,
and displays the