Kermit Rose wrote:
Message: 1
Date: Sun, 11 Jun 2006 06:58:39 -0400
From: Kent Johnson [EMAIL PROTECTED]
Subject: Re: [Tutor] buggy bug in my program
Cc: tutor@python.org
Assignment in Python is not a copy, it is a name binding. Assignment
creates a name for an object. If you assign
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
Does anyone know of any Python related magazines available that would be
worth subscribing to?
Ideally, a free one, but I would not object to a reasonably priced one
either.
I was able to find pyzine located at www.pyzine.com but it
Hi,
I was wondering if there is a pyqt list like the
[EMAIL PROTECTED] list?
Thanks
John
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Thank you for the great explanation, Danny.. I was confused...
Thank you all for your help!
PatriciaOn 6/11/06, Danny Yoo [EMAIL PROTECTED] wrote:
I'm sorry. I think I didn't explain myself well. My problem is not with the database.. The part I'm not sure how to do is connect to the remote
On Sun, 2006-06-11 at 22:14 -0400, Kermit Rose wrote:
Message: 1
Date: Sun, 11 Jun 2006 06:58:39 -0400
From: Kent Johnson [EMAIL PROTECTED]
Subject: Re: [Tutor] buggy bug in my program
Cc: tutor@python.org
Assignment in Python is not a copy, it is a name binding. Assignment
creates a
Kent, Danny, Lawrence, et. al.
Thanks!
I was kind of cringing as I sent this plaint/rant, but it seems I'm not
the only one who has had trouble grokking DOM. I spanked the problem
temporarily with regex, but can now actually fix it properly.
Appreciate all the help!On 6/10/06, Kent Johnson
On Mon, 2006-06-12 at 09:37 -0400, Kermit Rose wrote:
From: Python
Date: 06/11/06 22:59:38
To: Kermit Rose
Cc: Tutor Python
Subject: Re: [Tutor] assignment statements in python
The basic python objects: numbers, strings, and tuples are immutable and
can not be changed
Message: 6
Date: Mon, 12 Jun 2006 05:59:16 -0400
From: Kent Johnson [EMAIL PROTECTED]
Subject: Re: [Tutor] assignment statements in python
Actually sorting doesn't require copying the values in the list, it just
requires moving values to different locations of the list.
*
Yes. I
On Mon, 2006-06-12 at 11:26 -0400, Kermit Rose wrote:
# to insert 3 between 2 and 4 in
B = [1,2,4,5]
B.append(B[3:3])
B[3:3]
[]
B[3:4]
[5]
B[0:1]
[1]
B[:2]
[1, 2]
B.append(B[3:3])
B
[1, 2, 4, 5, []]
# I expected B[4] to have the value 5 at this point.
# It is empty. Why?
Alan, Ralph, et al:
This is a little off-topic, I guess, being not directly related to
Python. Oh, well. Here are a couple of personal opinions and a
question about XML.
-Original Message-
Date: Sun, 11 Jun 2006 08:55:17 +0100
From: Alan Gauld [EMAIL PROTECTED]
Subject: Re: [Tutor]
Carroll, Barry wrote:
So here's my off-topic question: Ajax is being touted as the 'best-known
method' (BKM) for making dynamic browser-based applications, and XML is
the BKM for transferring data in Ajax land. If XML is a bad idea for
network data-transfer, what medium should be used
Hello, Andrew:
-Original Message-
Date: Mon, 12 Jun 2006 07:53:05 -0400
From: Andrew Robert [EMAIL PROTECTED]
Subject: [Tutor] Python related mags
To: Python Tutor tutor@python.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1
-BEGIN PGP SIGNED
you will need to do it yourself.http://mail.python.org/mailman/listinfo/python-listOn 6/12/06,
graphic design [EMAIL PROTECTED] wrote:
not sure how i got on this list. please remove my email address from it.
thank you.
[EMAIL PROTECTED]
___Tutor
I've been looking at datetime and cannot figure out what was a very simple operation with the time module.
How does one add or subtract 24 (or any number) of hours from a given date and time using the datetime module?
___
Tutor maillist -
Hi!
I have about 17 lines of text (about system information) that I need to pass to
a remote web server AND I've been asked to send this data via Apache. I have to
write a python script that will fetch a URL to pass this text. I understand that
if I want to use the POST method, I would need to
Well, POST or PUT are the normal ways to do that. You need to interact
with the person running the web server to see how they need it
delivered - if they're expecting a GET and you give them a POST, it
isn't going to work very well :)
Dustin
On Jun 12, 2006, at 2:48 PM, patricia wrote:
Hi!
doug shawhan wrote:
I've been looking at datetime and cannot figure out what was a very
simple operation with the time module.
How does one add or subtract 24 (or any number) of hours from a given
date and time using the datetime module?
Use a datetime.timedelta:
In [1]: import datetime
Heh. Your example would look very, very nice in the timedelta
(http://docs.python.org/lib/datetime-timedelta.html) section of the
docs! :-)
It makes perfect sense, the authors probably thought it was too easy to need an explaination ...On 6/12/06, Kent Johnson
[EMAIL PROTECTED] wrote:doug
doug shawhan wrote:
Heh. Your example would look very, very nice in the timedelta
(http://docs.python.org/lib/datetime-timedelta.html) section of the
docs! :-)
It makes perfect sense, the authors probably thought it was too easy to
need an explaination ...
It is noted in the Supported
I have about 17 lines of text (about system information) that I need to pass
to
a remote web server AND I've been asked to send this data via Apache. I have
to
write a python script that will fetch a URL to pass this text. I understand
that
if I want to use the POST method, I would need
Hi,
When you say you that you want to send this data via Apache do youmean that the web server you are sending to is running Apache
Yes.If you simply want to emulate a a web page with a submit button thatsends a Post you do it with code a bit like the following
import urllib, urllib2url = ""
On Jun 12, 2006, at 5:53 AM, Andrew Robert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
Does anyone know of any Python related magazines available that would
be
worth subscribing to?
Ideally, a free one, but I would not object to a reasonably priced one
either.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Now that is a real pity.
Wish I were talented enough to do it myself.
Mike Hansen wrote:
On Jun 12, 2006, at 5:53 AM, Andrew Robert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
Does anyone know of any Python related
johnf wrote:
Hi,
I was wondering if there is a pyqt list like the
[EMAIL PROTECTED] list?
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Mon, 2006-06-12 at 21:13 -0400, Andrew Robert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Now that is a real pity.
Wish I were talented enough to do it myself.
Someone could do something like Tux Magazine
(http://www.tuxmagazine.org/) . Each month they put out a free Linux
Andrew Robert wrote:
Does anyone know of any Python related magazines available that would be
worth subscribing to?
Why bother when there are many excellent websites with good python
articles? I have found that my consumption of print media has fallen to
practically zero not including
26 matches
Mail list logo