Em Seg, 2006-03-13 às 08:21 +0100, Gregor Horvath escreveu:
> Hi,
>
> I do not understand why __del__ does not get executed in the following
> example.
It only collects when there are no references:
>>> class A(object):
... def __init__(self):
... print "A's init"
... def __
EP wrote:
> This is likely a stupid question,
There seems to be a cult believing that calling one's own question "stupid"
magically diminishes its degree of stupidity. In reality, as a compiler
would put it, "code has no effect".
> but I am confused about what is going
> on with class attribut
"swisscheese" wrote:
> Using the Komodo IDE under XP I often get "python.exe has encountered a
> problem and needs to close". Running python direct on the same app
> gives a list index out of bounds error. Any ideas how to get Komodo to
> give the proper error?
is your application using any non-s
Hi
I wonder if Python is capable of the following: define a function which
returns its argument.
I mean:
def magic_function(arg):
.. some magic code ...
that behaves the following way:
assert magic_function(3+4)=="3+4"
assert magic_function([i for i in range(10)])=="i for i in range(
[EMAIL PROTECTED] writes:
> assert magic_function(3+4)=="3+4"
> assert magic_function([i for i in range(10)])=="i for i in range(10)]"
>
> It is not trivial at all and might require some bytecode hacking that i
> am unable to do myself BUT you are the experts ;-)
Guhhh... you'd want to use the tr
Felipe Almeida Lessa schrieb:
del B
# We'll to tell him to collect the garbage here, but
>
> ... # usually it should not be necessary.
Thanks. If I do
del B
then the __del__ of A gets called.
That surprises me. I thought that B gets del'd by python when it goes
out of scope?
Do I
[Paul Rubin]
> It looks to me like you can't have two threads in the same generator:
You can't even have one thread in a generator-iterator get away with
activating the generator-iterator while it's already active. That's
an example in PEP 255:
"""
Restriction: A generator cannot be resumed w
Gregor Horvath wrote:
> #!/usr/bin/python
> class A(object):
>def __init__(self):
> print "init"
>
>def __del__(self):
> print "del"
>
> test1.py
>
> #!/usr/bin/python
> import test
>
> class B(object):
>a = test.A()
>
> Running test1.py outputs:
>
> init
>
> the "del"
Duncan Booth schrieb:
> What is less obvious is that new style classes always include circular
> references, so a class is never detroyed until the garbage collector runs.
Thanks. I tried the same example with old style classes and A.__del__
gets correctly called.
> Of course, if your __del__
[Duncan Booth]
> No, Python doesn't run the garbage collector when it is exiting.
Actually, it does. What it doesn't do is call the garbage collector
twice when it exits, although it used to ;-)
> What it does is to delete all the globals from each module in turn. So:
Yup. The code is in funct
Paul Rubin wrote:
> [EMAIL PROTECTED] writes:
>> assert magic_function(3+4)=="3+4"
>> assert magic_function([i for i in range(10)])=="i for i in range(10)]"
>>
>> It is not trivial at all and might require some bytecode hacking that i
>> am unable to do myself BUT you are the experts ;-)
>
> Guhhh
Hi all
I am writing a multi-user accounting/business application, which uses
sockets to communicate between client and server. I want to offer the
option of encrypting the traffic between the two. The main reason for
this is to cater for wireless communication.
I have read up on SSL, and more or
>>Can someone post a link or email me an image of the old Python logo?
>>I'd like to save a copy of it, I rather liked it - very retro.
>
>
> the dot matrix logo ?
>
> you can get a copy from this page:
>
>
That website is down. You could try the archive as well:
http://web.archive.org/web/2005
Josef Meile wrote:
>>>Can someone post a link or email me an image of the old Python logo?
>>>I'd like to save a copy of it, I rather liked it - very retro.
>>
>>
>>the dot matrix logo ?
>>
>>you can get a copy from this page:
>>
>>
>
> That website is down. You could try the archive as well:
> ht
Gregor Horvath wrote:
>> Of course, if your __del__ method actually does get invoked during
>> program exit you have to be pretty careful what you do: the chances
>> are any global variables you used in __del__ have already been
>> destroyed in particular any modules you imported may have been
>>
Josef Meile wrote:
> > you can get a copy from this page:
> >
> That website is down. You could try the archive as well:
> http://web.archive.org/web/20050401015445/http://www.python.org/
it's down for maintenance, but it wasn't down when I posted
that link...
you don't have to use the archive,
Duncan Booth schrieb:
> First off, never depend on __del__ to do anything critical. The only
Thanks to all of you!
Everything's clear now!
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
> .. some magic code ...
>
> that behaves the following way:
>
> assert magic_function(3+4)=="3+4"
> assert magic_funct
Hi,
I'd like to know, if it's possible to implement EJB bean classes in
Python. I mean, Jython provides to possible to create *.class files
from python modules. How must my python module look like to create a
valid enterprise bean class from it.
Thanks in advance,
--
http://mail.python.org/mail
A.M. Kuchling wrote:
> On Sat, 11 Mar 2006 16:50:26 +1100,
> richard <[EMAIL PROTECTED]> wrote:
>
>>So I did what people always do in this situation, I asked Barry Warsaw to
>>name. it. And he did, "Cheese Shop". I liked the name, so it was done. When
>>the new pydotorg machines went live l
Hi everyone,
I'm new to python, and I was wondering if anyone could help me with a
couple of problems I've hit please?
I'm trying to write a wrapper script for the passwd command, so that we
can log everytime someone uses it, which options they used with it and
if they succeeded or cancelled the
A.M. Kuchling enlightened us with:
> Given the endless whiny complaints about the name, though, I think
> we should just give up and go back to PyPI (pronounced 'Pippy').
I love The Python Cheese Shop. It's original and distinctive. Besides
that, it gives you more information that PyPI since Pytho
Frank Millman enlightened us with:
> while 1:
> conn,addr = s.accept()
> c = TLSConnection(conn)
> c.handshakeServer(certChain=certChain,privateKey=privateKey)
> data = c.recv(1024)
It's nice that you set up a TLS connection, but you never check the
certificate of the o
> any non-standard (i.e. non-bundled) C extensions ?
No.
--
http://mail.python.org/mailman/listinfo/python-list
> Not every name has to fully reflect the named. I mean, Microsoft is
> the largest software company on the planet, but no way that you can
> guess that from the name.
>
MICRO computer SOFTware. Seems pretty obvious to me and I'd expect the
same from any tech person.pipi and cheese shop both s
reinsn wrote:
> Hi,
>
> I'd like to know, if it's possible to implement EJB bean classes in
> Python. I mean, Jython provides to possible to create *.class files
> from python modules. How must my python module look like to create a
> valid enterprise bean class from it.
You have to compile a cl
In which physical file are the python environmental variables located?
I know I can access them using the:
os.environ.get('PYTHONSTARTUP')
or
os.environ.get('PYTHONPATH')
to get their values. But out of the program, if I need to look at them
and alter their values, where do I find them? Are t
Michael enlightened us with:
>> Microsoft is the largest software company on the planet, but no way
>> that you can guess that from the name.
>
> MICRO computer SOFTware. Seems pretty obvious to me
Where is the size of the company in that story? The fact that they
make software is rather obvious i
>> Anyone knows if this platform is a good one?
It's very good. It's comfortable, helpful and stable. Also looks good.
> Eclipse + Pydev does most, if not all, of your list - I am not sure what
> you mean by conditional pause - plus a whole lot more.
Maybe he means conditional breakpoints? P
Sathyaish wrote:
> In which physical file are the python environmental variables located?
> I know I can access them using the:
>
>
> os.environ.get('PYTHONSTARTUP')
>
> or
>
> os.environ.get('PYTHONPATH')
>
>
> to get their values. But out of the program, if I need to look at them
> and alt
>>> import re
>>> r = re.compile('(a|b*)+')
Traceback (most recent call last):
File "", line 1, in ?
File "c:\python24\lib\sre.py", line 180, in compile
return _compile(pattern, flags)
File "c:\python24\lib\sre.py", line 227, in _compile
raise error, v # invalid expression
sre_constan
Sathyaish wrote:
> In which physical file are the python environmental variables located?
> I know I can access them using the:
>
>
> os.environ.get('PYTHONSTARTUP')
>
> or
>
> os.environ.get('PYTHONPATH')
>
>
> to get their values. But out of the program, if I need to look at them
> and alter the
Sybren Stuvel wrote:
> Frank Millman enlightened us with:
> > while 1:
> > conn,addr = s.accept()
> > c = TLSConnection(conn)
> > c.handshakeServer(certChain=certChain,privateKey=privateKey)
> > data = c.recv(1024)
>
> It's nice that you set up a TLS connection, but you
Skipper wrote:
> Hi All,
>
> I am going to try and learn Python because I want to write at least
> one program to help my disabled son with communitation.
>
> I am not asking for anyone to do this for me I simply want to know if
> I can do what I need to do with Python
>
> Basically the pr
"Frank Millman" <[EMAIL PROTECTED]> writes:
> I was hoping to avoid this step. The point of the exercise for me is
> encryption. I am not too worried about authentication. The next step in
> my app is for the client to enter a user id and password, and the
> server will not proceed without verifyin
Paul Rubin wrote:
> "Frank Millman" <[EMAIL PROTECTED]> writes:
> > I was hoping to avoid this step. The point of the exercise for me is
> > encryption. I am not too worried about authentication. The next step in
> > my app is for the client to enter a user id and password, and the
> > server will
Vim + iPython does most of it doesn't it?
That's where I am after I became a bit frustrated with Idle (which I
still use on odd occasions).
EuGeNe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the replies.
I am trying to have a startup file execute everytime I launch the
interpreter. So, for a test, I wrote a small file I called
"Sathyaish.py". The contents of the file were simply:
# ! This is my new start-up file.
print "Sathyaish is the best."
Then, in the interpreter,
Frank Millman enlightened us with:
> The point of the exercise for me is encryption. I am not too worried
> about authentication.
Encryption can't function fully without authenication.
> The next step in my app is for the client to enter a user id and
> password, and the server will not proceed w
[EMAIL PROTECTED] wrote:
> >>> import re
> >>> r = re.compile('(a|b*)+')
> Traceback (most recent call last):
> File "", line 1, in ?
> File "c:\python24\lib\sre.py", line 180, in compile
> return _compile(pattern, flags)
> File "c:\python24\lib\sre.py", line 227, in _compile
> raise
Fredrik Lundh wrote:
> I have no time to sort out why your second example doesn't give the
> same error
oh, it was there it went.
--
http://mail.python.org/mailman/listinfo/python-list
> was what I got. I checked the at DOS prompt (cmd) for PYTHONSTARTUP,
> and I got an 'unrecognized program/command/batch file' interrupt.
>
> What's the deal with environmental variables? Are they specific to an
> interpreter session? That shouldn't be.
Yes they are - and yes, it should be that
Sathyaish wrote:
> What's the deal with environmental variables? Are they specific to an
> interpreter session? That shouldn't be.
If you think that then complain to Microsoft, or even the people who
developed Unix since that is what Microsoft based their environment
variables on.
Environment
Sathyaish wrote:
> What's the deal with environmental variables? Are they specific to an
> interpreter session?
they're copied from the parent process when a new process is started,
and any changes to them are local to the process.
> That shouldn't be.
that's how environment variables work, on
[EMAIL PROTECTED] wrote:
> >>> import re
> >>> r = re.compile('(a|b*)+')
> Traceback (most recent call last):
> File "", line 1, in ?
> File "c:\python24\lib\sre.py", line 180, in compile
> return _compile(pattern, flags)
> File "c:\python24\lib\sre.py", line 227, in _compile
> raise
Thank you all so much for your input. The feedback was perfect. I
did not realizethis may be difficult under any circumstances.
I am very familiar with PowerPoint and will try the open office
thing...
I can not believe that there isn't a GUI programing tool that will
allow me to build GUI apps
I recall now, the shells in Unix - a child inherited the variables
declared in its parent but not vice-versa. It works the same way in
DOS. So, I wasn't seeing it clearly earlier. I am seeing it clearly
now. I was imagining that the PYTHONPATH had some default value on
installation and was expectin
Sybren Stuvel wrote:
> Frank Millman enlightened us with:
> > The point of the exercise for me is encryption. I am not too worried
> > about authentication.
>
> Encryption can't function fully without authenication.
>
Ok, I have been thinking about the replies from you and Paul, and I am
confused
Gregor Horvath wrote:
> Felipe Almeida Lessa schrieb:
>
>del B
># We'll to tell him to collect the garbage here, but
>>
>> ... # usually it should not be necessary.
>
> Thanks. If I do
>
> del B
>
> then the __del__ of A gets called.
> That surprises me.
Why ?
> I thought that B gets
"Frank Millman" <[EMAIL PROTECTED]> writes:
> What I have not understood is how to prevent this. How can the client
> distinguish between a valid server and a fraudulent one? If it obtains
> the server credentials dynamically, the fraudulent server can supply
> fraudulent credentials. If somehow th
Skipper enlightened us with:
> I can not believe that there isn't a GUI programing tool that will
> allow me to build GUI apps
There are plenty of them.
> just like I use Dreamweaver to build a web page
Which produces horrible HTML.
Sybren
--
The problem with the world is stupidity. Not saying
Frank Millman enlightened us with:
> If I understand correctly, a 'man-in-the-middle' attack would
> involve someone setting up a 'pseudo server', which gives the
> correct responses to the client's attempt to log in
That's right. Usually it's done by proxying the data between the
client and the r
Ive found hk_classes a C++/Python library/module for accesing
databases. It works nice for me but I wonder if someone used
hk_classes in a project, is this module good, etc.
--
http://mail.python.org/mailman/listinfo/python-list
Does anybody know of a tool that will take a module as input, look for
any wildcard imports, and then identify what symbols in the module come
from which wildcard import? It could then expand out the from module
import * to from module import foo, bar. It might need to ask the user
on this, sin
Joel Hedlund wrote:
>> If you install Eclipse and try to use it without reading the
>> Workbench User Guide then you are not going to get anywhere.
>
>
> Woah, easy now! I never read any "Workbench User Guide" and I'm doing
> just fine with PyDev. Fabio Zadrozny (PyDev developer) wrote an
> exce
Hello,
I'm writing a cgi script which only needs to run in a small LAN. I tried
to show dates in a reasonable format by using
import locale
import datetime
locale.setlocale(locale.LC_ALL, '')
...
dt = datetime.date.today()
print dt.strftime('%x')
This works well in other scripts or at the inter
I got it working! There was another thread http://tinyurl.com/pebqc on
this group where someone had the same problem. I changed my code to
the following:
from twisted.internet.task import LoopingCall
from twisted.internet import reactor
import os, sys, wave, audioop
"""
While playing the conten
Paul Rubin enlightened us with:
> for example, OpenSSL (www.openssl.org) comes with a simple Perl
> script that acts as a rudimentary CA.
I never understood those CA scripts. I mean, creating a new CA
certificate only has to be done once, and is:
openssl req -new -x509 -key $KEY -out $OUT -days 3
As the OP, i thought i'd follow up with my experience, in case anyone else
is learning pyopengl and as mystified as i was (am?).
Thank you to all the posters who responded, especially the one who
mentioned display lists...
Initially, i had built a very simple prototype, getting 5 fps. This w
Raymond Hettinger wrote:
>>Is a copy.deepcopy ( -> "cPickle.dump(copy.deepcopy(obj),f)" ) an
>>atomic opertion with a guarantee to not fail?
>
> No. It is non-atomic.
>
> It seems that your application design intrinsically incorporates a race
> condition -- even if deepcopying and pickling were
[EMAIL PROTECTED] wrote:
> Would rsync into a remote encrypted filesystem work for you?
>
the sync (selection) is custom anyway. The remote filesystem is
general/unknow. FTP(S) / SFTP is the only standard given.
--
http://mail.python.org/mailman/listinfo/python-list
Keith Jackson wrote:
> Does anybody know of a tool that will take a module as input, look for
> any wildcard imports, and then identify what symbols in the module come
> from which wildcard import? It could then expand out the from module
> import * to from module import foo, bar. It might need to
Fredrik wrote:
> your definition of "equivalent" is a bit unusual:
>
> >>> re.match("(a|b*c*)+", "abc").groups()
> ('',)
> >>> re.match("(a|b)*", "abc").groups()
> ('b',)
> >>> re.match("(a|b|c)*", "abc").groups()
> ('c',)
>
> that you don't get an error for
>
> >>> r = re.compile('(a|b*c*)+')
>
> Sorry to offend, I was just extrapoloating from personal experience.
No worries, man. No offense taken :-)
> but I could not get going with Eclipse
> ...
> Even installing it the first time seemed to be a mystery.
Yeah I felt the same too when I first installed it. I had in fact given up
usin
Sorry but I doesn't understand your need. If you need a ''dinamic''
import, you can use __import__(module)
--
http://mail.python.org/mailman/listinfo/python-list
perfect!
that worked great!
thank you!
--
http://mail.python.org/mailman/listinfo/python-list
Am Fri, 10 Mar 2006 16:10:09 +0100 schrieb Sybren Stuvel:
> Thomas Guettler enlightened us with:
>> The licence for QT is GPL, this means you cannot use it in
>> commercial application. That is why I never looked at it.
>
> Ehmm... from their website:
>From http://www.trolltech.com/products/qt/l
I believe the problem exists with any processor that supports
hardware-based data execution prevention (DEP).
Goto
Control Panel - System - Advanced tab - Performance Settings - DEP tab.
Turn on DEP for all ... except those I select:
Add the Pythonwin.exe to the list.
Now it should work.
-D
Larr
Hi,
Anyone know of something that can turn an interactive bash or tcsh
session into a test the
way doctest does?
- Cheers, Paddy.
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Guettler enlightened us with:
> There is a GPL version for Linux. But the GPL does not allow linking
> with closed source software.
The availability of a GPL license does not negate the availability of
a commercial license. You can write commercial, closed source software
on Linux using Qt
> robert wrote:
> Meanwhile I think this is a bug of cPickle.dump: It should use .keys()
> instead of free iteration internally, when pickling elementary dicts.
> I'd file a bug if no objection.
What should happen if there's a delete between the time the .keys()
runs and the time that the deleted
While I was reading PEP 8 I came across this part:
"""
Function and method arguments
Always use 'self' for the first argument to instance methods.
Always use 'cls' for the first argument to class methods.
"""
Now I'm rather new to programming and unfamiliar to some basic concepts
of OOP.
Steven D'Aprano wrote:
[Generally fine stuff, I am elaborating rather than dis-agreeing.]
> On Sun, 12 Mar 2006 22:01:46 -0500, John Salerno wrote:
>
>> Erik Max Francis wrote:
>>
>>> You can use the struct module for converting fundamental types to a
>>> portable string representation for writin
[EMAIL PROTECTED] wrote:
> ... Is the Python debugger fairly stable?
Yes, but it is not massively featured. The "Pythonic" way is to
rarely use a debugger (test first and straightforward code should
lead to "shallow" bugs). Often for most of us judiciously placed
print statements suffice.
> The
Martin P. Hellwig wrote:
> While I was reading PEP 8 I came across this part:
>
> """
> Function and method arguments
>Always use 'self' for the first argument to instance methods.
>Always use 'cls' for the first argument to class methods.
> """
>
> Now I'm rather new to programming and u
Skipper wrote:
> ... I am not asking for anyone to do this for me I simply want to
> know if I can do what I need to do with Python
> Can python do this? I realize I am responsible for the menu sets,
> pictures attaching sounds etc
As you have been told by many other respondents
Scott David Daniels wrote:
> > ... Is the Python debugger fairly stable?
> Yes, but it is not massively featured. The "Pythonic" way is to
> rarely use a debugger (test first and straightforward code should
> lead to "shallow" bugs). Often for most of us judiciously placed
> print statements suf
Sathyaish wrote:
> In which physical file are the python environmental variables located?
> I know I can access them using the:
>
>
> os.environ.get('PYTHONSTARTUP')
>
> or
>
> os.environ.get('PYTHONPATH')
>
>
> to get their values. But out of the program, if I need to look at them
> and alte
In order to facilitate small groups
working on specific Python-in-Education projects, we have launched an
edupython list on google groups(http://groups.google.com/group/edupython
or [EMAIL PROTECTED]).
We envision participation by people trying to coordinate work on the
nuts and bolts implementati
Hell, this sounds interesting. Do you mean like matching commands when
they are not yet complete, like
sh tech
instead of:
show tech-support
?
--
http://mail.python.org/mailman/listinfo/python-list
BWill wrote:
> and ixnay on the ubyray or else I'll tell you where to stick your
> endblock delimiter :P
OK, I can't help it... which is more readable:
a_string.reverse(ruby)
a_string[::-1] (python)
--
http://mail.python.org/mailman/listinfo/python-list
Kay Schluehr wrote:
> Storing arguments away before they are evaluated doesn't work in
> Python. You have to hack the compiler in order to access the parsetree.
> You might take a look at the compiler package of the standard library
> that enables access to ASTs. Thus you could define lazy evaluat
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
> .. some magic code ...
>
> that behaves the following way:
>
> assert magic_funct
rtilley <[EMAIL PROTECTED]> writes:
> a_string.reverse (ruby)
> a_string[::-1](python)
reversed(a_string) (python)
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I'm trying to find substrings that look like 'FOO blah blah blah'
in a string. For example give 'blah FOO blah1a blah1b FOO blah2
FOO blah3a blah3b blah3b' I want to get three substrings,
'FOO blah1a blah1b', 'FOO blah2', and 'FOO blah3a blah3b blah3b'.
I've tried numerous variations o
Paul Rubin wrote:
> reversed(a_string) (python)
Which version of Python offers this function? It doesn't seem to be
available in the 2.3 version I have installed...
--
http://mail.python.org/mailman/listinfo/python-list
"gregarican" <[EMAIL PROTECTED]> writes:
> > reversed(a_string) (python)
>
> Which version of Python offers this function? It doesn't seem to be
> available in the 2.3 version I have installed...
I think it's new in 2.4.
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Guettler wrote:
>
> Have you read all the text?
>
> """
> Two qualities of the Qt Commercial License should be emphasized:
>
> You need it before you start development of proprietary software.
>
> You must purchase a Qt Commercial License from Trolltech or from any of
> its authorized resell
Dennis Lee Bieber wrote:
> The Amiga did have a means for such... It differentiated between
> local and global environment variables. Locals were kept in a process
> memory structure and behaved as they do on most other OSs... Globals,
> however, were short files maintained in ENV: (a logical name
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
>.. some magic code ...
>
> that behaves the following way:
>
> assert magic_functi
Hi
I don't think this is what you want (a string representation of the
argument passed to a function as that argument is at runtime is way
beyond my abilities), but this can retrieve the literal text in the
function call as it appears in the .py file, assuming you have the .py
file available a
"Paul Boddie" <[EMAIL PROTECTED]> writes:
> What people don't usually understand (or rather complain about loudly)
> is that Trolltech can refuse to license Qt to you under the commercial
> licence, as is their right as the owner of the copyrighted work.
What is the deal here? Why would they refu
Well that definitly works, thanks. Is there any way to keep the themes
though?
--
http://mail.python.org/mailman/listinfo/python-list
Skipper wrote:
> I can not believe that there isn't a GUI programing tool that will
> allow me to build GUI apps - just like I use Dreamweaver to build a
> web page ... a WYSIWYG builder that does a few simplet things and
> calls other programs ...
>
> Oh well no silver bullet!
If you are int
Doh, I am indeed referring to the standard "cmd" module - thanks!
To [EMAIL PROTECTED], the above module does what you describe.
Thanks again,
David.
--
http://mail.python.org/mailman/listinfo/python-list
Ravi Teja wrote:
> I do not think that technology has gone backwards. Hyper card
> alternatives still exist.
> http://www.metacard.com/
At $995 per seat it's not likely to be used for a home project.
Kent
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Pardon my English...
Does anybody know what I have to do to run only 1 instance of my Python
Application?
How do I check if I'm running more instances of a Application?
Thank you all
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> "gregarican" <[EMAIL PROTECTED]> writes:
>> > reversed(a_string) (python)
>>
>> Which version of Python offers this function? It doesn't seem to be
>> available in the 2.3 version I have installed...
>
> I think it's new in 2.4.
Needs a little help, though:
>>> print re
On 13 Mar 2006 10:19:05 -0800, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> "Paul Boddie" <[EMAIL PROTECTED]> writes:
> > What people don't usually understand (or rather complain about loudly)
> > is that Trolltech can refuse to license Qt to you under the commercial
> > licence, as is thei
Robert Dodier wrote:
> Hello all,
>
> I'm trying to find substrings that look like 'FOO blah blah blah'
> in a string. For example give 'blah FOO blah1a blah1b FOO blah2
> FOO blah3a blah3b blah3b' I want to get three substrings,
> 'FOO blah1a blah1b', 'FOO blah2', and 'FOO blah3a blah3b blah3b'.
1 - 100 of 178 matches
Mail list logo