Warren Stringer wrote:
> `c[:]()` is unambiguous because:
>
> def c(): print 'yo'
>
> c() # works, but
> c[:]() # causes:
>
> Traceback (most recent call last)...
> c[:]() # causes:
> TypeError: unsubscriptable object
>
> There are many `c()` to be found in th
Warren Stringer wrote:
> As mentioned a while back, I'm now predisposed towards using `do(c)()`
> because square brackets are hard with cell phones. The one mitigating factor
> for more general use, outside of cell phones, is speed.
The speed at which you can type code is almost _never_ a valid r
"Lee Sander" <[EMAIL PROTECTED]>wrote:
> I wanted to also say that this file is really huge, so I cannot
> just do a read() and then split on ">" to get a record
> thanks
> lee
>
> On May 31, 1:26 pm, Lee Sander <[EMAIL PROTECTED]> wrote:
> > Dear all,
> > I would like toreada really hugefileth
Ron Provost wrote:
> class X( object ):
>fn = None
>@staticmethod
>def callX( n ):
> return X.fn( n )
> Now, the following global stuff represents my higher-level routines:
> def fn_impl( n ): # my callback
>return n + 1
> X.fn = fn_impl # register my callback
> No
Bjoern Schliessmann wrote:
> Eduardo "EdCrypt" O. Padoan wrote:
>
>> No. Quoting PEP 8:
>> Functions:
>> """
>> mixedCase is allowed only in contexts where that's already the
>> prevailing style (e.g. threading.py), to retain backwards
>> compatibility.
>> """
>> Methods and instances:
On 2007-06-01, Warren Stringer <[EMAIL PROTECTED]> wrote:
>> python-ideas lists are the correct forum for those issues,
>> though you will of course get all sorts of opinions on c.l.py.
>
> Oh well. Perhaps I can relax and actually write functioning
> code ;-) What do you mean by 'c.l.py'?
comp.l
The APL2007 URL was given incorrectly should be
http://www.sigapl.org/apl2007.html
--
http://mail.python.org/mailman/listinfo/python-list
> I created a file and specifically set the created date, last accessed date
> and last write date to
>
> 01/02/2003 12:34:56
How did you do that?
> In the case of my above test I know exactly what the timestamp on the file
> is because I manually set it so that all 3 timestamps are the sa
On 2007-06-01, Warren Stringer <[EMAIL PROTECTED]> wrote:
> As mentioned a while back, I'm now predisposed towards using
> `do(c)()` because square brackets are hard with cell phones.
Yet you insist on adding gratuitous instances of [:] in your
code. Methinks you're being disingenuous.
> The on
Steve Holden Wrote
> The general rule in Python is that you provide the right objects and
> expect error tracebacks if you do something wrong. So I don't really see
> why you feel it's necessary to "[be] unambiguous about using a
> container" when you don't appear to feel the same about its contain
Carl Banks <[EMAIL PROTECTED]> wrote:
>
>Identifiers should just allow spaces.
>
>first element.get item(selected value)
>
>This is not a joke. I don't mean Python should necessarily do this
>(though it could be done without any ambiguity or backward
>incompatibility: there is currently nowhere in
Hi!
> to embed object in excel
An example come with PyWin32. This example create a toolbar inside
Excel. This toolbar is write with Python.
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
How to embed object in excel using python?
Thanks,
padma
--
http://mail.python.org/mailman/listinfo/python-list
It seems to be a commonly held belief that basic dict operations (get,
set, del) are atomic. However, since I know searching the hash table
is a multistep process, I thought I'd check it out for sure.
First, my assumption is that one thread is attempting to get a single
key, while other threads a
I'm sharing with you my secret of the ultimate comfort using a laptop.
Working with a laptop desk helps cool my laptop and it's a lot more
easier to handle. The painful experience of aching wrists, strained
neck and back is a story of the past with ergonomic typing and viewing
angles. I feel more a
Warren Stringer wrote:
> As mentioned a while back, I'm now predisposed towards using `do(c)()`
> because square brackets are hard with cell phones. The one mitigating factor
> for more general use, outside of cell phones, is speed. If a PEP enables a
> much faster solution with c[selector()]() the
As mentioned a while back, I'm now predisposed towards using `do(c)()`
because square brackets are hard with cell phones. The one mitigating factor
for more general use, outside of cell phones, is speed. If a PEP enables a
much faster solution with c[selector()]() then it may be worthwhile. But, I
Utilize the Internet's search engines to promote your specific
business website.
Yahoo, Google, MSN, Business, Ask, and many more!
If you have a website for your business, take it to the next level!
Market locally, regionally, nationally or worldwide!
*Promote Events
*Produce Leads
*Increase Sa
On May 31, 2007, at 8:08 PM, Sick Monkey wrote:
I ran into another slight problem. And I attempted to fix it, but
have not been able to do so yet. If a filename does not contain a
space, then this method works like a charm. But if there is a
space then the code throws a nasty error.
i
Perhaps you misundstand me. I means if you reedit a module file and
reload it, the interpreter doesn't follow the change you have made
exactly.
For example, you import a module, edit the module file (you may
remove a global variable or change its name), save the change, reload
the module (or del t
I see that changing self._fields_ doesn't change ctypes.sizeof(self).
I guess ctypes.Structure.__init__(self) fetches
self.__class__._fields_ not self._fields_.
--
http://mail.python.org/mailman/listinfo/python-list
Yes, you are right.
But from this problem, could I infer that the statement "del xxx"
doesn't release the memory which xxx used?
On May 31, 11:21 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> ai schrieb:
>
> > It assumes that there is a module A which have two global variables X
> > and Y.
Warren Stringer wrote:
>>> What?!? I started this thread.
>>>
>> No you didn't. Your original post was a reply to a message whose subject
>> line was 'Re: "is" and ==', and included the header
>>
>> In-Reply-To: <[EMAIL PROTECTED]>
>
> You're right, thanks.
>
I think the fundamental mistake
Hi,
Is there any way i can get a message form internet explorer into my
python script when internet explorer completes loading a page?
_
ashok
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm using the roundup issue tracker (http://roundup.sourceforge.net)
which uses smtplib to send mail. It all worked until we moved to a
hosted Exchange MTA. The hosting provider requires the use of TLS. Now
roundup can't send mail.
My version of python is:
Python 2.3.4 (#1, Feb 6 2006, 10:38
> > I did not hijack another thread
>
> You really did. In the first message you sent, we see the following
> header:
>
> > In-Reply-To: <[EMAIL PROTECTED]>
...
Damn! I suck. Outlook as a newsreader sucks. I need to use something else.
> I retyped the code you posted in the first pos
> > What?!? I started this thread.
> >
> No you didn't. Your original post was a reply to a message whose subject
> line was 'Re: "is" and ==', and included the header
>
> In-Reply-To: <[EMAIL PROTECTED]>
You're right, thanks.
> >> I think the fundamental mistake you have made is to convince you
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 31, 2007 11:46 PM
Subject: Python-list Digest, Vol 45, Issue 2
> Send Python-list mailing list submissions to
> python-list@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.pyth
I ran into another slight problem. And I attempted to fix it, but have not
been able to do so yet. If a filename does not contain a space, then this
method works like a charm. But if there is a space then the code throws a
nasty error.
import os
import subprocess
from os import *
imagefile = "
--- Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> There was just recently a thread with a
> `itertools.groupby()` solution.
Yes, indeed. I think it's a very common coding problem
(with plenty of mostly analogous variations) that has
these very common pitfalls:
1) People often forget t
Hi Martin,
Please see my response to Tony Meyer titled "Python 2.5.1 broke os.stat
module"
I provide a sample program that demonstrates that the results that are
produced by the Python 2.4.2 os.stat module ALWAYS match the results that
Windows Explorer displays as well as the results of the di
Hi Tony,
I still believe there is a problem.
I was searching for os.stat problems so I hadn't seen that one yet. (THANKS)
I just read that thread but it seems that the conclusion was that this was a
bug in a Microsoft c runtime library.
Here's why I think there is still a problem:
I created a
Ron Provost wrote:
> Within an application I'm working on. The app is written in multiple
> layers such that lower layers provided services to higher layers.
> Ideally in such an architecture, the high-level objects know about
> lower-level ones, but lower-level objects know nothing about the
On May 31, 10:01 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> I have a project that I wanted to solicit some advice
> on from this group. I have millions of pages of scanned
> documents with each page in and individual .JPG file.
> When the documents were scanned the people that did
> the scanning
Troels Thomsen wrote:
> Hello,
>
> I am wondering if I can write some code, that allows me to call functions in
> the console , IDLE, without using the paranthesis notation. Like print.
> This will improve "intreractive'ness"
>
> serialOpen() # some magic is issued here !!!
> tx Hello
>
> inste
I am having a problem with python threads and M2Crypto. It appears
the M2Crypto used in multi-thread application blocks other threads
from running:
Environment: Linux 2.6 (centos 5.0), OpenSSL 0.9.8b, M2Crypto-0.17
I am using echod-thread.py and echo.py as test vehicles.
Start up echod-thread.p
Warren Stringer wrote:
> Quotes out of context with mistaken assumptions, now follow:
>
>> So c[:]() -- or the more recent go(c)() -- executes all those
>> behaviors.
>> No it doesn't. See below.
>>> If c[:]() works, the so does this, using real world names
>>>
>>> orchestra[:].pickle(
Warren Stringer wrote:
> I'm still a bit new at this, was wondering why c[:]() doesn't work, and
> implicitly wondering why it *shouldn't* work.
It does work. It means "make a sliced copy of `c`, and then call it
with no arguments." Functionally that is _no different_ from `c()`,
which means
Troels Thomsen wrote:
> Hello,
>
> I am wondering if I can write some code, that allows me to call functions in
> the console , IDLE, without using the paranthesis notation. Like print.
> This will improve "intreractive'ness"
>
Matlab-like, right?
In a nutshell: No, not possible in python *its
On 2007-05-31, Jerry Hill <[EMAIL PROTECTED]> wrote:
> On 5/31/07, Warren Stringer <[EMAIL PROTECTED]> wrote:
>> In summation:
>> I started this thread asking why c[:]() wouldn't work
>
> Because it's not part of the language.
It's got nothing to do with the OP's usage, but it will work if
Hi,
I'm going to post this here in case somebody else searches for an
example Tkinter Text Widget for entering multiline text. I don't like
GUI and don't even quite understand how it works, but it seems to
work. In my case it's part of a program for pasting a quote from the
clipboard into a MySQL
On 5/31/07, Warren Stringer <[EMAIL PROTECTED]> wrote:
> In summation:
> I started this thread asking why c[:]() wouldn't work
Because it's not part of the language. Did you read something that
made you think it would work? Or are you proposing a change to the
language? I think you're
On Jun 1, 9:16 am, "Joe Salmeri" <[EMAIL PROTECTED]> wrote:
> I just upgraded from Python 2.4.2 to Python 2.5.1 and have found some
> unexpected behavior that appears to be a bug in the os.stat module.
Have you read this thread?
http://groups.google.com/group/comp.lang.python/browse_thread/thread
Quotes out of context with mistaken assumptions, now follow:
> So c[:]() -- or the more recent go(c)() -- executes all those
> behaviors.
>
> No it doesn't. See below.
> >
> > If c[:]() works, the so does this, using real world names
> >
> > orchestra[:].pickle()
> > orchestra[c
""" Thomas,
Ouch ouch I must have misunderstood what you meant by "use the dynamic
nature of Python, and (re-)define the data type after the required
size is already known, on a case by case basis".
Do you have an example of what you meant? I searched but did not find.
Are those your words?
Yes,
ctypes.sizeof(a) is still zero, as if ctypes.Structure.__init__
fetches a.__class__._fields_ rather than a._fields_
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I am wondering if I can write some code, that allows me to call functions in
the console , IDLE, without using the paranthesis notation. Like print.
This will improve "intreractive'ness"
serialOpen() # some magic is issued here !!!
tx Hello
instead of
serialObj = mySerial()
serialObj
Within an application I'm working on. The app is written in multiple layers
such that lower layers provided services to higher layers. Ideally in such an
architecture, the high-level objects know about lower-level ones, but
lower-level objects know nothing about the higher-level ones. There's
I just upgraded from Python 2.4.2 to Python 2.5.1 and have found some
unexpected behavior that appears to be a bug in the os.stat module.
My OS is Windows XP SP2 + all updates.
I have several programs that have worked flawlessly on all previous Python
versions for years and they are now produc
On Thu, 31 May 2007 14:07:00 -0400, Christopher Stawarz <[EMAIL PROTECTED]>
wrote:
>Does anyone know of a standalone module for parsing and generating
>HTTP messages? I'm looking for something that will take a string and
>return a convenient message object, and vice versa. All the Python
>HTTP p
> thanks for that. I guess the problem is that when a path is obtained
> from such an object the code that gets the path usually has no way of
> knowing what the intended use is. That makes storage as simple bytes
> hard. I guess the correct way is to always convert to a standard (say
> utf8) and t
On 5/31/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Chris Mellon (Thu, 31 May 2007 12:10:07 -0500)
> > > Like:
> > > import pool
> > > pool.free()
> > > pool.limit(size in megabytes)
> > >
> > > Why not letting the user choosing that, why not giving the user more
> > > flexibility ?
> > > I w
Josh Bloom <[EMAIL PROTECTED]> wrote:
> If the memory usage is that important to you, you could break this out
> into 2 programs, one that starts the jobs when needed, the other that
> does the processing and then quits.
> As long as the python startup time isn't an issue for you.
And if python st
Wildemar Wildenburger wrote:
> This may be a nice
> idea for the Next Overwhelming Programming Escapade (Codename: NOPE)
> ...
> You may want to elaborate on the "new way to think about names". Maybe
> you have a point which I just don't see.
Is it considered pythonic to LOL?
Nietzsche would lov
Christopher Stawarz wrote:
> Does anyone know of a standalone module for parsing and generating
> HTTP messages? I'm looking for something that will take a string and
> return a convenient message object, and vice versa. All the Python
> HTTP parsing code I've seen is either intimately boun
En Thu, 31 May 2007 15:07:00 -0300, Christopher Stawarz
<[EMAIL PROTECTED]> escribió:
> Does anyone know of a standalone module for parsing and generating
> HTTP messages? I'm looking for something that will take a string and
> return a convenient message object, and vice versa. All the Python
Larry Bates wrote:
> I have a project that I wanted to solicit some advice
> on from this group. I have millions of pages of scanned
> documents with each page in and individual .JPG file.
> When the documents were scanned the people that did
> the scanning put a colored (hot pink) separator page
Eduardo "EdCrypt" O. Padoan wrote:
> No. Quoting PEP 8:
> Functions:
> """
> mixedCase is allowed only in contexts where that's already the
> prevailing style (e.g. threading.py), to retain backwards
> compatibility.
> """
> Methods and instances:
> """
> Use the function naming rules:
Warren Stringer wrote:
c[:] holds many behaviors that change dynamically.
>>> I've absolutely no clue what that sentence means. If c[:] does
>>> behave differently than c, then somebody's done something
>>> seriously weird and probably needs to be slapped around for
>>> felonious overriding.
On May 31, 8:30 pm, Maciej Bliziński <[EMAIL PROTECTED]>
wrote:
> Hi Pythonistas!
>
> I've got a question about storing tuples in a dictionary. First, a
> small test case which creates a list of dictionaries:
>
> import time
>
> list_of_dicts = []
> keys = [str(x) for x in range(20)]
> prev_clk
I'm looking for a Squirrelmail* like webmail application, that I
can hook up into mod_python. Is there anything ready to use or
do I have to hack it myself?
I don't like Squirrelmail, since I don't like PHP, and
Squirrelmail depends on it.
In the danger of getting my ears biten off in this NG: we
[EMAIL PROTECTED] schrieb:
> How do I vary the byte offset of a field of a ctypes.Structure?
>
> How do I "use the dynamic nature of Python, and (re-)define the data
> type after the required size is already known, on a case by case
> basis"?
>
> \\\
>
> For example, suppose sometimes I receive
* (31 May 2007 12:15:48 -0700)
> On May 31, 12:44 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > This is a fairly general question: is there some kind of module or
> > framework that allows building a tree like structure from certain kind
> > of data?
> >
> > To be specific: I have a program th
http://www.evolt.org/article/OO_programming_the_Python_way/18/449/
-
The last article gives you the absolute basics of using Python. This
time, we'll do the OO side of Python. Yes, Python: a true object-
oriented language with classes, inheritance and all.
Ok, my OO background comes from the
On May 31, 12:44 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is a fairly general question: is there some kind of module or
> framework that allows building a tree like structure from certain kind
> of data?
>
> To be specific: I have a program that dumps the content of a LDAP
> dir
[EMAIL PROTECTED] wrote:
> I will try later with python 2.5 under linux, but as far as I can see,
> it's the same problem under my windows python 2.5
> After reading this document :
> http://evanjones.ca/memoryallocator/python-memory.pdf
>
> I think it's because list or dictionnaries are used by t
On Thu, 31 May 2007 07:49:22, Warren Stringer <[EMAIL PROTECTED]> wrote
>> >>def a(): return 'b'
>> >>def b(): print 'polly! wakey wakey'
>> >>c = {}
>> >>c['a'] = b
>> >>c[a()]() #works!
>> >
>> >
>> >(typo correction for other easily-confused newbies like myself)
>> >
>> >I think you mean
[...]
Maciej Blizi?ski wrote:
> Hi Pythonistas!
>
> I've got a question about storing tuples in a dictionary. First, a
> small test case which creates a list of dictionaries:
>
> import time
>
> list_of_dicts = []
> keys = [str(x) for x in range(20)]
> prev_clk = time.clock()
> for i in range(20)
Hi Pythonistas!
I've got a question about storing tuples in a dictionary. First, a
small test case which creates a list of dictionaries:
import time
list_of_dicts = []
keys = [str(x) for x in range(20)]
prev_clk = time.clock()
for i in range(20):
my_dict = {}
for key in keys:
On 5/31/07, Bjoern Schliessmann
<[EMAIL PROTECTED]> wrote:
> Alexander Eisenhuth wrote:
>
> > Pylint is one of them (http://www.logilab.org/857)
>
> BTW: Why does pylint want all names with underscores? I tested it
> and it complains about malformed names in e.g. the following cases
> that are conf
[EMAIL PROTECTED] wrote:
> How do I vary the byte offset of a field of a ctypes.Structure?
>
> How do I "use the dynamic nature of Python, and (re-)define the data
> type after the required size is already known, on a case by case
> basis"?
>
> \\\
>
> For example, suppose sometimes I receive th
On May 31, 11:00 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> If it's swapped to disk than this is a big concern. If your Python app
> allocates 600 MB of RAM and does not use 550 MB after one minute and
> this unused memory gets into the page file then the Operating System
> has to allocate an
Does anyone know of a standalone module for parsing and generating
HTTP messages? I'm looking for something that will take a string and
return a convenient message object, and vice versa. All the Python
HTTP parsing code I've seen is either intimately bound to the
corresponding socket I/O
* Chris Mellon (Thu, 31 May 2007 12:10:07 -0500)
> > Like:
> > import pool
> > pool.free()
> > pool.limit(size in megabytes)
> >
> > Why not letting the user choosing that, why not giving the user more
> > flexibility ?
> > I will try later under linux with the latest stable python
> >
> > Regards,
Alexander Eisenhuth wrote:
> Pylint is one of them (http://www.logilab.org/857)
BTW: Why does pylint want all names with underscores? I tested it
and it complains about malformed names in e.g. the following cases
that are conformant to PEP 8:
- single letter as parameter
- firstLowerCamelCase na
How do I vary the byte offset of a field of a ctypes.Structure?
How do I "use the dynamic nature of Python, and (re-)define the data
type after the required size is already known, on a case by case
basis"?
\\\
For example, suppose sometimes I receive the value '\x03hi' + \x04bye'
for the struct:
* (31 May 2007 06:15:18 -0700)
> On 31 mai, 14:16, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> > In <[EMAIL PROTECTED]>, frederic.pica
> > wrote:
> And I'm not sure that the system will swap first this
> unused memory, it could also swap first another application... AFAIK.
Definitely no
Warren Stringer wrote:
> i.prefer.dots-- no, seriously
>
> sure it's slow, but forces you the think about names in a new way.
>
Are you now suggesting that "addinfourl()" should actually be called
"url()", placed in a module named "info", which is part of a package
called "add", so as to
I am trying to figure out how to stack two widgets in a frame
vertically so that they both expand horizontally and during vertical
expansion, the top one sticks to the top of the frame and the bottom
one consumes the remaining vertical space. I thought this would do it
but it doesn't. What am I m
> >> c[:] holds many behaviors that change dynamically.
> >
> > I've absolutely no clue what that sentence means. If c[:] does
> > behave differently than c, then somebody's done something
> > seriously weird and probably needs to be slapped around for
> > felonious overriding.
I'm still a bit ne
Hi,
This is a fairly general question: is there some kind of module or
framework that allows building a tree like structure from certain kind
of data?
To be specific: I have a program that dumps the content of a LDAP
directory including all properties and values and groups the result
from the
On May 31, 5:19 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> mosscliffe wrote:
> > Excellent - thanks for all your help. I now have a form created by a
> > python script executing an HTML page, doing everything I need, except
> > for Session Data (probably use hidden fields ?? future research) an
On 31 May 2007 03:45:32 -0700, bullockbefriending bard
<[EMAIL PROTECTED]> wrote:
> Thanks this is good news. I think my C/C++ background is sufficient to
> manage to figure things out if I RTFM carefully.
>
> Basically I want to pass in a Python list of integer tuples, create an
> STL container fu
On 2007-05-31, Steve Holden <[EMAIL PROTECTED]> wrote:
>> I still don't see how c[:] is any different from c.
>
> It isn't. The OP is projecting a wish for a function call on a
> list to be interpreted as a call on each member of the list
> with the same arguments.
Yea, I got that part.
> The al
In article <[EMAIL PROTECTED]>,
kaens <[EMAIL PROTECTED]> wrote:
>On 30 May 2007 17:28:39 -0700, Aahz <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>,
>> kaens <[EMAIL PROTECTED]> wrote:
>>>
>>>I would also recommend to stay away from any "for dummies" or "in x
>>>(hours/days)" books
> Like:
> import pool
> pool.free()
> pool.limit(size in megabytes)
>
> Why not letting the user choosing that, why not giving the user more
> flexibility ?
> I will try later under linux with the latest stable python
>
> Regards,
> FP
>
The idea that memory allocated to a process but not being us
I have a project that I wanted to solicit some advice
on from this group. I have millions of pages of scanned
documents with each page in and individual .JPG file.
When the documents were scanned the people that did
the scanning put a colored (hot pink) separator page
between the individual docume
Grant Edwards wrote:
> On 2007-05-31, Warren Stringer <[EMAIL PROTECTED]> wrote:
>>> How is it more expressive? In the context you're concerned
>>> with, c[:] is the exactly same thing as c. You seem to be
>>> worried about saving keystrokes, yet you use c[:] instead of c.
>>>
>>> It's like havin
On 2007-05-31, Warren Stringer <[EMAIL PROTECTED]> wrote:
>> How is it more expressive? In the context you're concerned
>> with, c[:] is the exactly same thing as c. You seem to be
>> worried about saving keystrokes, yet you use c[:] instead of c.
>>
>> It's like having an integer variable i and
> How is it more expressive? In the context you're concerned
> with, c[:] is the exactly same thing as c. You seem to be
> worried about saving keystrokes, yet you use c[:] instead of c.
>
> It's like having an integer variable i and using ((i+0)*1)
> instead of i.
Nope, different.
c[:] holds
ai a écrit :
> It assumes that there is a module A which have two global variables X
> and Y. If I run "import A" in the IDLE shell, then I can use A.X and
> A.Y correctly. But if I want to change the module A and then delete
> the variable Y, I find I can use A.Y just the same as before!
It's unl
mosscliffe wrote:
> Excellent - thanks for all your help. I now have a form created by a
> python script executing an HTML page, doing everything I need, except
> for Session Data (probably use hidden fields ?? future research) and
> the actual paging logic !!!
>
In fact you should find you can n
Perhaps a foot pedal? Hmmm
My two cellphones don't like underbars very much. And the shift key -- while
much easier -- still is cumbersome. If outlook didn't autocaps on me, this
message would be in all lowercase. In fact, when communicating with friends
from outlook, to their sms, I take the
On May 31, 5:59 pm, "Warren Stringer" <[EMAIL PROTECTED]> wrote:
> Still I prefer
>
> funcs[:]()
>
> Because, I can describe it in English as "call everything that funcs has"
Wouldn't funcs() be even better? It's shorter, and it seems like
that's the only thing you're striving for. Why do you wan
On Thu, 31 May 2007 07:59:35 -0700, Warren Stringer wrote:
> Still I prefer
>
> funcs[:]()
>
> Because, I can describe it in English as "call everything that funcs has"
But that's not what it says. It says, "call a copy of funcs".
The simplest, most straightforward way of calling everything t
On 31 mai, 17:29, "Josh Bloom" <[EMAIL PROTECTED]> wrote:
> If the memory usage is that important to you, you could break this out
> into 2 programs, one that starts the jobs when needed, the other that
> does the processing and then quits.
> As long as the python startup time isn't an issue for yo
montyphyton wrote this on Thu, 31 May 2007 05:16:30 -0700. My reply
is below.
> I understand that there are a lot of code beautifiers out there, but
> i haven't seen one specially tailored for Python.
Consider PythonTidy:
o http://lacusveris.com/PythonTidy/PythonTidy.python
--
.. Chuck Rhode,
On 2007-05-31, Warren Stringer <[EMAIL PROTECTED]> wrote:
>> > But that still isn't as simple or as direct as:
>> >
>> > c[:]()
>>
>> Why do you always use a _copy_ of c in your examples? As long
>> as you're wishing, why not just
>>
>> c()
>
> Oh hey Grant, yes, I misunderstood your question
In article <[EMAIL PROTECTED]>,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > Are you aware of nntplib?
> >
> > http://docs.python.org/lib/module-nntplib.html
>
> I am, but I once I got into the article itself, I couldn't figure out
> how to "call" a link inside the resulting message text:
> >
> > But that still isn't as simple or as direct as:
> >
> > c[:]()
>
> Why do you always use a _copy_ of c in your examples? As long
> as you're wishing, why not just
>
> c()
Oh hey Grant, yes, I misunderstood your question for a bit. I thought you
meant the difference between List compr
1 - 100 of 183 matches
Mail list logo