ely available template engines or other web
framework pieces. When you move to different processes and/or
machines, the access method can remain the same by varying the port
and/or hostname in the URL.
Good luck...
Gary Duzan
In article ,
dmitrey wrote:
>hi all,
>which method should I use to get iterator over (key, value) pairs for
>Python dict, Python v 2.6 and above?
dict.iteritems()
>>> import sys
>>> for (key, value) in sys.modules.iteritems(): print key, value
Exec, '-a', '-v', '--dry-run', '-e', rshArg, source, dest]
or:
rshArgs = [ '-e', '/usr/bin/ssh -i /home/bry/keys/brybackup.key' ]
args = [rsyncExec, '-a', '-v', '--dry-run'] + rshArgs + [ source, dest]
Gary Duzan
Motorola H&NM
--
http://mail.python.org/mailman/listinfo/python-list
the stdin of the parent is a real (or possibly
pseudo-) terminal, which appears not to be the case for programs run
through Eclipse.
Gary Duzan
--
http://mail.python.org/mailman/listinfo/python-list
7;modulename.xxx', fromlist=['xxx'])
Seems a bit weird to me, but that's the way it is, and I'm sure
there is a reason for it.
Good luck.
Gary Duzan
Motorola H&NM
--
http://mail.python.org/mailman/listinfo/python-list
, 2, 3) as func1!
># there must be some better way than args[0]?
>
>def func1(*args):
>
>print args # (1, 2, 3)
>func2(args)
func2(*args) # <<<<<<==
>
>func1(1,2,3)
Gary Duzan
Motorola H&NM
--
http://mail.python.org/mailman/listinfo/python-list
understands)
with multiple processes hitting it, and so our efforts to integrate
Hibernate haven't been terribly smooth. In this environment the
hack seems to be to have Hibernate write to its own tables, then
have stored procedures sync them with the old tables. Not pretty.
r Wars reference, which is
quite on topic for this subthread.
http://starwars.wikia.com/wiki/Kessel_Run
Gary Duzan
Motorola H&NM
--
http://mail.python.org/mailman/listinfo/python-list
hrown out by the compiler in favor of non-generic types, and
casts are inserted as necessary. Practicality wins over Purity
again.
Gary Duzan
Motorola HNM
--
http://mail.python.org/mailman/listinfo/python-list
p:121
>--END ERROR-
>
>Thanks,
>Sarah
Just a guess, but try com.JPypeTest.main(["arg"]).
Gary Duzan
Motorola HNM
>On Aug 14, 8:03 am, Laurent Pointal <[EMAIL PROTECTED]&g
t;f=open(fileBeginning+".tmp", 'w')
>f.write("Hello")
>f.close
f.close()
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
John Nagle <[EMAIL PROTECTED]> wrote:
>
>(P.S. PEP 3117 is a joke, right?)
I expect so, especially given its creation date.
Gary Duzan
Motorola CHS
--
http
ot;
to execute it, with no need for anything but the base Python to be
installed on the remote site, and just one file to copy.
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
actly what you want Real Soon Now.
http://groups.google.com/groups/search?q=group%3Acomp.lang.python+squisher&qt_s=Search
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
nd leaving
the students with both theoretical and practical foundations on
which to build.
Gary Duzan
Motorola CHS
p.s. Then sock them with ML or Haskell to weed out the weak ones. ;-)
Then if they survive Occam, throw Java at them, so they'll
g for
the other spy. The details are left as an exercise for the reader.
:-)
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
reading TIFFs and runs on multiple platforms, including Windows.
http://www.pythonware.com/products/pil/
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
t; b
[1, 2, 6]
>>>
=====
It is easy to think that the scoping rules give you read-only behavior,
but with mutable objects it just isn't correct.
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
, not the 'a' variable itself. The rule is limited to the
rebinding of variables, not the modification of the objects to which
they refer.
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
losing leading zeros
as well:
x = x.strip('0')
Gary Duzan
Motorola CHS
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo