ANNOUNCING twill v0.8.5.
twill is a simple language for browsing the Web. It's designed for
automated testing of Web sites, but it can be used to interact with
Web sites in a variety of ways. In particular, twill supports form
submission, cookies, redirects, and HTTP authentication.
A twill
Neuruss wrote:
Dennis Lee Bieber wrote:
What most of us saw was a blunt request on how to implement a Python
construct in some other language that may not be familiar to us.
I'm curious, who are us?
The regular readers of comp.lang.python. If you don't think we haven't
seen this a
hi
i have script like this:
from fnmatch import fnmatch
from glob import glob
...
f = ['file1','file2','file3']
r = d:\\somepath
pat = *.bat
listof_files = [i for i in f if not fnmatch(os.path.join(r,i),pat) and
os.path.isfile(os.path.join(r,i))]
...
..
I get this error:
File
Tim Golden wrote:
[placid]
| Just wondering is there a way (not brute force) to check if a usb
| storage device is connected?
Hmmm. How do you identify a usb storage device to know that
it is or isn't connected?
You can certainly do something useful with wmi. eg,
code
import wmi
c =
[EMAIL PROTECTED] wrote:
listof_files = [i for i in f if not fnmatch(os.path.join(r,i),pat) and
os.path.isfile(os.path.join(r,i))]
...
..
I get this error:
File C:\Python24\Lib\fnmatch.py, line 37, in fnmatch
pat = os.path.normcase(pat)
File C:\Python24\lib\ntpath.py, line 42,
did you verify that the code you posted really has the problem (it does
use the 'os' module which isn't important
message.replace(important, imported)
--
http://mail.python.org/mailman/listinfo/python-list
David Isaac wrote:
I am just starting to think about image processing. What are the
overlaps and differences in intended functionality between
FreeImagePy and PIL?
Thanks, Alan Isaac
http://tinyurl.com/m5kal
For any other questions, I'm here :)
Bye,
Michele
--
Michele Petrazzo wrote:
Iain King wrote:
I'll try out FIPY's resizing tomorrow too. OTOH, I have functions
to convert between PIL and wxPython, and functions to convert
betweem PIL and FIPY, but I don't see a function to convert FIPY to
wxPython?
Image at:
Ilpo Nyyssönen wrote:
Buggy library code is what prompted that article.
Yes, but it is an error type that happens very rarely still. And so it
seems that very few programs even notice that bug in that library.
That's certainly the case. The bug went unnoticed in the Java library
for nearly
Joachim Durchholz [EMAIL PROTECTED] writes:
Ilias Lazaridis schrieb:
crossposted to 5 groups, which are affected by this case.
followup not applicable.
Actually, in this case, yes.
It _seems_ that Mr. Xah Les's account was terminated by dreamhost.com
because of
a) the inability of
My apologies for not trimming the long list of crossposted groups. I
hit 'y' when thinking 'n'!
Tim
--
tcross (at) rapttech dot com dot au
--
http://mail.python.org/mailman/listinfo/python-list
Christoph Zwerschke wrote:
Anyway, in Python, you would first define:
def wrap(x, at=131):
if x -at:
x += at*2
elif x = at:
x -= at*2
return x
Then, the Python program would be as simple:
Distance = lambda t1,t0: wrap(t1-t0)
In Python 2.4 and later, you
[EMAIL PROTECTED] wrote:
Python seems to be missing a UCS-32 codec, even in wide builds (not
that it the build should matter).
Is there some deep reason or should I just contribute a patch?
The only reason is that nobody has needed one so far, and because
it is quite some work to do if done
Hi, I've got a ScrolledCanvas object (sc) and have identified an item
on the canvas to which I wish to scroll. I've been reading around and
experimenting but with not much success.
So far I've managed to get the item's bbox using sc.bbox(item)
And got the proportion of the canvas that's visible
Michele Petrazzo wrote:
Yes it's min-is-white::
michele:~$ tiffinfo example.tif
TIFFReadDirectory: Warning, example.tif: unknown field with tag 37680
(0x9330) encountered.
TIFF Directory at offset 0x1520 (5408)
Subfile Type: (0 = 0x0)
Image Width: 1696 Image Length: 1162
I wrote the following code to concatenate every 2 keys of a dictionary and
their corresponding values.
e.g if i have tiDict1 = tiDict1 = {'a':[1,2],'b':[3,4,5]} i should get
tiDict2={'ab':[1,2][3,4,5]} and similarly for dicts with larger no. of
features.
Now i want to check each pair to see if
Martin v. Löwis wrote:
The only reason is that nobody has needed one so far, and because
it is quite some work to do if done correctly. Why do you need it?
Why would it be quite some work? Converting from UTF-16 to UTF-32 is
pretty straightforward, and UTF-16 is already supported.
--
Erik
Bruno Desthuilliers wrote:
python a écrit :
in python , could I accomplish the purpose that a=Console.read() used
in C?
ot mode='pedantic'
There's nothing like Console.read() in ansi-C.
/ot
He probably got it mixed up with C# which ( almost - Console.Read() )
has that.
--
John Machin a écrit :
On 5/06/2006 10:38 AM, Bruno Desthuilliers wrote:
SuperHik a écrit :
hi all,
(snip)
I have an old(er) script with the
following task - takes a string I copy-pasted and wich always has the
same format:
(snip)
def to_dict(items):
items =
Joachim Durchholz wrote:
People can then decide if they still wish to send the abuse complain
(e.g. can follow a link within the autoresponder).
Nope. Finding out the provider is enough of a barrier. Additional
barriers are not really necessary.
Xah Lee has been irritating people for
Fredrik Lundh wrote:
So you *need* to invert it to work correctly with PIL!
PIL has no problem reading min-is-white TIFF images.
it would be nice if you stopped posting bogus support information
for other libraries.
Sorry if my posts make to seem that other libraries has problems! Sure
[EMAIL PROTECTED] a écrit :
hi
in my code, i use dict(a) to make to a into a dictionary , a comes
from user input, so my program does not know in the first place. Then
say , it becomes
a = { '-A' : 'value1' , '-B' : value2 , -C : value3 , '-D' :
'value4' }
somewhere next in my code, i
In article [EMAIL PROTECTED],
Scott David Daniels [EMAIL PROTECTED] wrote:
For example, time timsort (Python's internal sort) on pre-sorted
data; you'll find it is handled faster than random data.
But isn't that how a reasonable sorting algorithm should behave? Less
work to do if the data is
... sorry, I thought you said summarize Proust.
:)
--
http://mail.python.org/mailman/listinfo/python-list
sendhil kumar:
Hi all,
whwn working with xml connectvity to python, i have a
sash window, in which first window has a Tree Control
that has 'n' parent fields preceded by + sign and on
leftdown all the childs got from external xml file.
when the particular parent field is selected and
John Machin wrote:
Fantastic -- at least for the OP's carefully copied-and-pasted input.
Meanwhile back in the real world, there might be problems with multiple
tabs used for 'prettiness' instead of 1 tab, non-integer values, etc etc.
yeah, that's probably why the OP stated which always has
On Sat, 03 Jun 2006 17:03:00 -0700
[EMAIL PROTECTED] (Alex Martelli) wrote:
# Terry Reedy [EMAIL PROTECTED] wrote:
#
# Depends what one means by 'copy'. See below for your alternate wording.
#
# Please give me a reasonable definition of the unadorned word copy
# which would make this
Erik Max Francis wrote:
The only reason is that nobody has needed one so far, and because
it is quite some work to do if done correctly. Why do you need it?
Why would it be quite some work? Converting from UTF-16 to UTF-32 is
pretty straightforward, and UTF-16 is already supported.
I would
Martin v. Löwis wrote:
In Python 2.4 and later, you could write
def Distance(t1, t0, maxint=(132)-1):
return (t1-t0) maxint
No, this function behaves differently. It never returns a negative
value. The only difference in Python 2.4 is that 132 was 0 before.
-- Christoph
--
Given a length k string,i want to search for 2 substrings (overlap
possible) in a list consisting of length k-1 strings. These 2 substrings
when 'united' give the original string.
e.g given 'abc' i want to search in the list of 2-length strings
['ab',ac','cd','bc','bd'] to extract either
1) 'ab
Ilpo Nyyssönen wrote:
It is not different. Your crash can tell you that it was a null
pointer. Your crash can tell you that you stomped over memory. You
just get the information about the error in different way.
Not all stomping over memory must result in a crash. You might just get
wrong
SuperHik wrote:
I'm trying to understand regex for the first time, and it would be very
helpful to get an example. I have an old(er) script with the following
task - takes a string I copy-pasted and wich always has the same format:
print stuff
Yellow hat2 Blue shirt 1
BJörn Lindqvist [EMAIL PROTECTED] wrote:
What is the best way to check that a process is running (or better yet
number of instances) based on the name of the process? Would have to
work on a unix/linux system.
Use ps -C proc_name. Then either read the nr of lines in the output
(for the
Tim X wrote:
[...]
I think the other point here is that everyone *assumes* Xah's account
was cancelled simply because of a campaign to report him for spamming
multiple newsgroups. I suspect there were other factors involved. for
all anyone knows, the provider might have been getting complaints
Marshall Dudley wrote:
Is it not possible to install the latest version of python on my FreeBSD
system? Upgrading the FreeBSD is not an option since this is a production
system and everything else is working fine.
that's really a FreeBSD question, isn't it?
You are using: 2.2.2 (#1, Jun
Delaney, Timothy (Tim) wrote:
Note that it's a particularly bad idea to just replace one exception
with another exception (not suggesting that that is what you intended -
just something I've seen a lot ;)
try:
int(val)
except ValueError:
raise MyValueError('Bad
Fredrik Lundh a écrit :
John Machin wrote:
Fantastic -- at least for the OP's carefully copied-and-pasted input.
Meanwhile back in the real world, there might be problems with
multiple tabs used for 'prettiness' instead of 1 tab, non-integer
values, etc etc.
yeah, that's probably why
Ravi Teja a écrit :
Bruno Desthuilliers wrote:
python a écrit :
in python , could I accomplish the purpose that a=Console.read() used
in C?
ot mode='pedantic'
There's nothing like Console.read() in ansi-C.
/ot
He probably got it mixed up with C# which ( almost - Console.Read() )
has
Girish Sahani schrieb:
Given a length k string,i want to search for 2 substrings (overlap
possible) in a list consisting of length k-1 strings. These 2 substrings
when 'united' give the original string.
e.g given 'abc' i want to search in the list of 2-length strings
['ab',ac','cd','bc','bd']
Xah Lee wrote:
Thanks to the great many people who has written to my ISP in support of
[...]
As to dreamhost my webhosting company canceling my account, i will try
to reason with them, and see what is the final outcome. They have the
legal right to kick me because in the contract that allowed
Hi All,
I have an application return in python. I want this to be
converted to C. I will be kind enough if somebody suggest is there any
tool or compiler to do that.
Regards-
Praveen Kumar A.S
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
Scott David Daniels [EMAIL PROTECTED] wrote:
For example, time timsort (Python's internal sort) on pre-sorted
data; you'll find it is handled faster than random data.
But isn't that how a reasonable sorting algorithm should
Laurent Pointal wrote:
[for those who dont read clp.announce]
The Python Quick Reference Card (PQRC) aims to provide a printable quick
reference documentation for the Python language and some of its main
standard libraries (currently for Python 2.4).
[etc.]
Great job, Laurent! If this is
[EMAIL PROTECTED] wrote:
Yes. You stated it quite precisely. I believe l1==l2 should always
return True and l1==l3 should always be False. (unless l3 is reassigned
as l3=l1). Your idea of a separate operator for 'all elements have
numerically equal values at the moment of comparision' is a
[EMAIL PROTECTED]:
I have an application return in python. I want this to be
converted to C.
http://www.python.org/doc/faq/general/#can-python-be-compiled-to-machine-code-c-or-some-other-language
--
René Pijlman
--
http://mail.python.org/mailman/listinfo/python-list
Ilias Lazaridis wrote:
Xah Lee wrote:
for whatever advice or action i can solicit. Meanwhile, if you do know
a web hosting company that can take some 80 G of bandwidth/month for
less than $25 a month, please let me know! (i do hope if someone here
runs a hosting business and can host my site.
On 5/06/2006 7:47 PM, Fredrik Lundh wrote:
John Machin wrote:
Fantastic -- at least for the OP's carefully copied-and-pasted input.
Meanwhile back in the real world, there might be problems with
multiple tabs used for 'prettiness' instead of 1 tab, non-integer
values, etc etc.
yeah,
Erik Max Francis wrote:
I'm curious, who are us?
The regular readers of comp.lang.python. If you don't think we haven't
seen this a zillion times before, you're kidding yourself.
If you want help on a language, ask in that language's newsgroup/mailing
list/forum/whatever.
It surprises
Hi , I am trying to understand myself with some basic programs in
python, I have written a small script to search for core files in the
current dir. but when i tried to execute, it is searching the core
files in the subdir also. could someone help me on how can i restrict
my code to search the
su wrote:
could someone help me on how can i restrict
my code to search the file in the current dir only
Use os.listdir().
-- Christoph
--
http://mail.python.org/mailman/listinfo/python-list
su wrote:
import os, os.path
import re
def core_finder(arg, dir, files):
for file in files:
path = os.path.join (dir, file)
if re.search(core.*, path):
print found
print path
os.path.walk('.', core_finder, 0)
Here's a simpler solution:
Hello ,
is it possible to add( with PYTHON language) several image files into
one?
Thanks for reply
L.
--
http://mail.python.org/mailman/listinfo/python-list
On 5/06/2006 10:30 PM, Bruno Desthuilliers wrote:
John Machin a écrit :
On 5/06/2006 10:38 AM, Bruno Desthuilliers wrote:
SuperHik a écrit :
hi all,
(snip)
I have an old(er) script with the following task - takes a string I
copy-pasted and wich always has the same format:
(snip)
K.S.Sreeram wrote:
filepaths = [os.path.join(os.getcwd(),f) for f in filenames]
you can use os.path.abspath
filepaths = [os.path.abspath(f) for f in filenames]
signature.asc
Description: OpenPGP digital signature
--
http://mail.python.org/mailman/listinfo/python-list
Lad wrote:
Hello ,
is it possible to add( with PYTHON language) several image files into
one?
Google for 'Python Imaging Library'...
Regards
Sreeram
signature.asc
Description: OpenPGP digital signature
--
http://mail.python.org/mailman/listinfo/python-list
Will Ware wrote:
I am trying to freeze a static executable. I built a static Python
executable this way:
./configure --disable-shared --prefix=/usr/local
make
make install
Even that didn't give me a really static executable, though:
AFAIK it's not supported because the
Rene Pijlman wrote:
[EMAIL PROTECTED]:
I have an application return in python. I want this to be
converted to C.
http://www.python.org/doc/faq/general/#can-python-be-compiled-to-machine-code-c-or-some-other-language
Hi guys!
I'm a complete newbie in Python and I'm trying to make a small software
to watch my network. It will be a simple snmpget report for a specific
machine.
I would like to make a small program in python to be runed with
crontrab that will store the whole output in a txt file. I know its not
A.M [EMAIL PROTECTED] writes:
Hi,
I developed a HTML reporting tool that renders Oracle data to HTML and
Oracle.
At this point I have to add charts (3d bars and pie charts) to this
application. I don't think that I have to do it from scratch.
Is there any open source
to find which process dumped core at the promt we give
$ file core.28424
core.28424: ELF 32-bit LSB core file of 'soffice.bin' (signal 11),
Intel 80386, version 1 (SYSV), from 'soffice.bin'
from this command we know 'soffice.bin' process dumped core. Now can i
do the same using python i.e.
SOLVED,
thanks for your time. :)
bigodines wrote:
Hi guys!
I'm a complete newbie in Python and I'm trying to make a small software
to watch my network. It will be a simple snmpget report for a specific
machine.
I would like to make a small program in python to be runed with
crontrab
bigodines wrote:
Hi guys!
I'm a complete newbie in Python and I'm trying to make a small software
to watch my network. It will be a simple snmpget report for a specific
machine.
I would like to make a small program in python to be runed with
crontrab that will store the whole output in a
su wrote:
from this command we know 'soffice.bin' process dumped core. Now can i
do the same using python i.e. finding which process dumped core? if so
how can i do it?
You're best bet would be to run the 'file' program using the subprocess
module and parse the output that it generates.
su wrote:
to find which process dumped core at the promt we give
$ file core.28424
core.28424: ELF 32-bit LSB core file of 'soffice.bin' (signal 11),
Intel 80386, version 1 (SYSV), from 'soffice.bin'
from this command we know 'soffice.bin' process dumped core. Now can i
do the same
In article [EMAIL PROTECTED],
Lawrence D'Oliveiro [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Scott David Daniels [EMAIL PROTECTED] wrote:
For example, time timsort (Python's internal sort) on pre-sorted
data; you'll find it is handled faster than random data.
But isn't that how a
Hi python experts
In C++ I can do something like this:
class Base {
public:
void f() { this-f_(); }
private:
virtual void f_() = 0;
};
class Derived : public Base {
private:
void f_() { // Do something }
};
int main() {
Derived d;
d.f();
}
The point of this is that
gene tani wrote:
Rene Pijlman wrote:
[EMAIL PROTECTED]:
I have an application return in python. I want this to be
converted to C.
http://www.python.org/doc/faq/general/#can-python-be-compiled-to-machine-code-c-or-some-other-language
K.S.Sreeram wrote:
Lad wrote:
Hello ,
is it possible to add( with PYTHON language) several image files into
one?
Google for 'Python Imaging Library'...
Regards
Sreeram
Thank you for your reply.
I was thinking about this:
to open each image file in binary mode , read it and write
Slawomir Nowaczyk [EMAIL PROTECTED] wrote:
On Sat, 03 Jun 2006 17:03:00 -0700
[EMAIL PROTECTED] (Alex Martelli) wrote:
# Terry Reedy [EMAIL PROTECTED] wrote:
#
# Depends what one means by 'copy'. See below for your alternate wording.
#
# Please give me a reasonable definition of the
wrote:
The users of the derived classes are unable to bypass this base class
function.
Just to be clear, the users of the derived C++ classes *are* able to bypass
the base class function and call f_() directly, they just have to be
prepared to twist the rules somewhat. I know: I've been in
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
Scott David Daniels [EMAIL PROTECTED] wrote:
For example, time timsort (Python's internal sort) on pre-sorted
data; you'll find it is handled faster than random data.
But isn't that how a reasonable sorting algorithm should behave?
[EMAIL PROTECTED] wrote:
Just translating this code to python won't work, due to the name
mangling of private functions:
class B(object):
def f(self):
self.__f()
class D(B):
def __f(self):
pass
d = D()
d.f()
So my questions are:
1. Is there a pythonic way
su wrote:
to find which process dumped core at the promt we give
$ file core.28424
core.28424: ELF 32-bit LSB core file of 'soffice.bin' (signal 11),
Intel 80386, version 1 (SYSV), from 'soffice.bin'
from this command we know 'soffice.bin' process dumped core. Now can i
do the same using
Harry George wrote:
See pygdchart
http://www.nullcube.com/software/pygdchart.html
this looks pretty nice. i don't see in the docs if and how it can be
integrated
with other gui toolkits such wxpython. :(
bryan
--
http://mail.python.org/mailman/listinfo/python-list
[Scott David Daniels]
For example, time timsort (Python's internal sort) on pre-sorted
data; you'll find it is handled faster than random data.
O(N) vs O(N log N), in fact.
[Lawrence D'Oliveiro]
But isn't that how a reasonable sorting algorithm should behave? Less
work to do if the data is
On 2006-06-05, Lad [EMAIL PROTECTED] wrote:
is it possible to add( with PYTHON language) several image
files into one?
Google for 'Python Imaging Library'...
I was thinking about this: to open each image file in binary
mode , read it and write into the result image file? Is that
possible?
Lad wrote:
K.S.Sreeram wrote:
Lad wrote:
Hello ,
is it possible to add( with PYTHON language) several image files into
one?
Google for 'Python Imaging Library'...
Regards
Sreeram
Thank you for your reply.
I was thinking about this:
to open each image file in binary mode , read it
Hi,
I have a problem which is quite circular, and hopefully either someone
has encountered something similar or has a reason why this will not
work.
We have a COM library providing mathematics to various systems, most
functions are hard-coded but we want to embed a scripting language to
allow
gene tani wrote:
http://pyfaq.infogami.com/can-python-be-compiled-to-machine-code-c-or-some-other-language
shd probably mention Shedskin, boost, ctypes, any others?
I've added a comment, which is seemingly all that can be done right now
on that page. See also this overview I wrote about Python
Hello,
I have this Tkinter window that when you click on a certain button,
another instance of Tk is created, and thus a new windows is spawned.
That second windows holds a few widgets to browse files and
directories.
Now, as soon as I start browsing files and directories, the first
window comes
MrBlueSky wrote:
Hi, I've got a ScrolledCanvas object (sc) and have identified an item
on the canvas to which I wish to scroll. I've been reading around and
experimenting but with not much success.
So far I've managed to get the item's bbox using sc.bbox(item)
And got the proportion of the
If I want to get all the values that are entered into an HTML form and
write them to a file, is there some way to handle them all at the same
time, or must FieldStorage be indexed by each specific field name?
--
http://mail.python.org/mailman/listinfo/python-list
Sorry to bring it back up, but is there a way to spawn the process
without Twisted?
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
Marshall Dudley wrote:
Is it not possible to install the latest version of python on my FreeBSD
system? Upgrading the FreeBSD is not an option since this is a production
system and everything else is working fine.
that's really a FreeBSD question, isn't it?
You
Le Lundi 05 Juin 2006 16:07, [EMAIL PROTECTED] a écrit :
class Base {
public:
void f() { this-f_(); }
private:
virtual void f_() = 0;
};
class Derived : public Base {
private:
void f_() { // Do something }
};
int main() {
Derived d;
d.f();
}
This is just
Hi all,
I'm learning Twisted and downloaded pyOpenSSL and pycrypto win32
installer on http://twisted.sourceforge.net/contrib/ . But I find the
lastest version are for Python 2.3. I try to rebuild pyOpenSSL from
source, but get lots of compile errors. Are these two packages
obsolated? Where
Hey all, I recently came across the xml.sax libraries and am trying to
use them. I am currently making a string variable, and am attempting
to pass it into a parser instance as follows:
def parseMessage(self, message):
#create a XML parser
parser = make_parser()
Girish Sahani [EMAIL PROTECTED]:
I wrote the following code to concatenate every 2 keys of a dictionary and
their corresponding values.
e.g if i have tiDict1 = tiDict1 = {'a':[1,2],'b':[3,4,5]} i should get
tiDict2={'ab':[1,2][3,4,5]} and similarly for dicts with larger no. of
features.
Note
Marshall Dudley wrote:
That is what I did originally, downloaded the latest version from the main
python site. I compiled by the README file instructions, and I compiled by
the
instructions on the python url which are different, but both gave identical
results, compiles fine, runs fine
[EMAIL PROTECTED] wrote:
So in recap, it looks like it is trying to take my string argument as a
file handler. How can I get around this?
if you want to parse a string, use xml.sax.parseString instead of
xml.sax.parse.
/F
--
http://mail.python.org/mailman/listinfo/python-list
Thanks all for your help!
--
http://mail.python.org/mailman/listinfo/python-list
This is the beginning of a script that I wrote to open all the text
files in a single directory, then process the data in the text files
line by line into a single index file.
os.chdir(C:\\Python23\\programs\\filetree)
mydir = glob.glob(*.txt)
index = open(index.rtf, 'w')
for File in mydir:
Hi,
I'm writing a hand-written recursive decent parser for SPICE syntax
parsing. In one case I have one function that handles a bunch of
similar cases (you pass the name and the number of tokens you're
looking for). In another case I have a function that handles a
different set of tokens and so
Hello Vinay,
On Sun, Jun 04, 2006 at 05:23:55AM -0700, Vinay Sajip wrote:
It's not propagated to the root logger (or to ancestor loggers in
general) - just to the handlers associated with ancestor loggers.
...
You can set levels on handlers as well as loggers. So if you add a
syslog handler
try os.spawn() using the os module
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Hi,
I'm writing a hand-written recursive decent parser for SPICE syntax
parsing. In one case I have one function that handles a bunch of
similar cases (you pass the name and the number of tokens you're
looking for). In another case I have a function that handles a
Le Lundi 05 Juin 2006 19:18, [EMAIL PROTECTED] a écrit :
Any thoughts?
In [24]: a, b = (lambda : 'works like this'), (lambda a, b : (a,b))
In [25]: a(*())
Out[25]: 'works like this'
In [26]: b(4,3)
Out[26]: (4, 3)
--
_
Maric Michaud
_
Aristote - www.aristote.info
Le Lundi 05 Juin 2006 19:40, Maric Michaud a écrit :
Le Lundi 05 Juin 2006 19:18, [EMAIL PROTECTED] a écrit :
Any thoughts?
oups wanted to wirte this :
In [27]: a, b = (lambda : 'works like this'), (lambda *a : a)
In [28]: a(*())
Out[28]: 'works like this'
In [29]: b(*())
Out[29]: ()
--
WOW!
Thanks for all the answers, even those not related to regular
expressions tought me some stuff I wasn't aware of.
I appreciate it very much.
SuperHik wrote:
hi all,
I'm trying to understand regex for the first time, and it would be very
helpful to get an example. I have an old(er)
Steve Holden wrote:
Lad wrote:
K.S.Sreeram wrote:
Lad wrote:
Hello ,
is it possible to add( with PYTHON language) several image files into
one?
Google for 'Python Imaging Library'...
Regards
Sreeram
Thank you for your reply.
I was thinking about this:
to open each
1 - 100 of 185 matches
Mail list logo