Brian van den Broek wrote:
> The code below exhibits an attempt to refer to the type of a __Class
> from within a method of that class. I've been unable to figure out how
> to make it work as I want, and would appreciate any insight.
>
> The problem emerged out of a bad design that the good folks
Shi Mu wrote_
> There are four points with coordinates:
> 2,3;4,9;1,6;3,10.
> How to use Python to draw one perpendicular bisector
> between (2,3) and (4,9);
the same was as you'd do it in any other computer language ?
once you know the algorithm, implementing it in Python should be
trivial. ma
Why do you want to know? This list isn't a tool to get others to do
your homework.
Greg
--
http://mail.python.org/mailman/listinfo/python-list
it is not a homework, just interested.
On 10 Oct 2005 00:04:23 -0700, gsteff <[EMAIL PROTECTED]> wrote:
> Why do you want to know? This list isn't a tool to get others to do
> your homework.
>
> Greg
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman
Peter Milliken wrote:
> There were Tkinter binaries with it so I installed those as well. When I
> attempt to run the most simplistic of python programs using Tkinter, I get
> an error message stating that Python can't find any tkinter module.
>
> Any ideas what I have done wrong anybody?
what do
Peter Milliken wrote:
> Hi,
>
> I (think I have :-)) installed Python on my Pocket PC (obtained from
> http://fore.validus.com/~kashtan/).
>
> There were Tkinter binaries with it so I installed those as well. When I
> attempt to run the most simplistic of python programs using Tkinter, I get
> an
I have a cgi script from which I wish to return a zipped file with an
extension other than .zip (ie .zzz)
I am creating a file-type object (cStringIO) and adding some zipped
information to it using zipfile.
I then return this with Content-Type: application/zip
The problem is that the file the br
Xah Lee wrote:
> i'm trying to lookup on the detail of language Python's “lambda”
> function feature.
google("site:docs.python.org lambda")
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http
I always pronounced it double-you-ex-python. I am almost positive this
is the way it is pronounced.
Although the wxPyWiki seems to be pronounced wix-pee-wi-kee (as it says
on the front page) so maybe it is pronounced wix-Python... you never know...
HTH,
Peter
Alex wrote:
>My native language i
I have to lists, A and B, that may, or may not be equal. If they are not
identical, I want the output to be three new lists, X,Y and Z where X has
all the elements that are in A, but not in B, and Y contains all the
elements that are B but not in A. Z will then have the elements that are
in bot
Xah Lee เขียน:
> i'm trying to lookup on the detail of language Python's “lambda”
> function feature. I've seen it before, but today i need to read about
> it again since i'm writing. I quickly went to the index page:
> http://python.org/doc/2.4.1/lib/genindex.html
> but all i got is a LambdaType.
Odd-R. wrote:
>I have to lists, A and B, that may, or may not be equal. If they are not
>identical, I want the output to be three new lists, X,Y and Z where X has
>all the elements that are in A, but not in B, and Y contains all the
>elements that are B but not in A. Z will then have the elemen
The Effbot wrote:
> here's a robust parser for various LIST output formats:
>
>http://cr.yp.to/ftpparse.html
>
> (google for "ftpparse" to find python bindings for that module)
Well, I have downloaded the one from your site (ftpparse-1.1-20021124)
and I have given a python setup.py install. No
Hi there,
I would like to parse a string in Python.
If the string is e.g. '[url=http://www.whatever.org][/url]' I would like
to generate this string:
'http://www.whatever.org";>http://www.whatever.org'
If the string is e.g. '[url=http://www.whatever.org]My link[/url]' I
would like to generate
try to use set.
L1 = [1,1,2,3,4]
L2 = [1,3, 99]
A = set(L1)
B = set(L2)
X = A-B
print X
Y = B-A
print Y
Z = A | B
print Z
Cheers,
pujo
--
http://mail.python.org/mailman/listinfo/python-list
Op 2005-10-07, Diez B. Roggisch schreef <[EMAIL PROTECTED]>:
>
> Well, that exactly is the point where we make the transition from "this
> is how things work" to pure speculation.
Everything starts with pure speculation. I had no intention of
introducing the big type system here. I just think peop
Hello,
As a Python beginner, I feel a bit lost among all
possible libraries... so I wondered whether soemone could help me find my way...
I just need to generate animated sequences of 2D primitives (dots and lines), as
fast as possible, checking the computer clock for the time elapsed for eac
Nico Grubert wrote:
> I would like to parse a string in Python.
>
> If the string is e.g. '[url=http://www.whatever.org][/url]' I would like
> to generate this string:
> 'http://www.whatever.org";>http://www.whatever.org'
>
> If the string is e.g. '[url=http://www.whatever.org]My link[/url]' I
> w
"Peres" wrote:
> As a Python beginner, I feel a bit lost among all possible libraries...
> so I wondered whether soemone could help me find my way... I
> just need to generate animated sequences of 2D primitives (dots
> and lines), as fast as possible, checking the computer clock for
> the time el
Nico Grubert <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I would like to parse a string in Python.
>
> If the string is e.g. '[url=http://www.whatever.org][/url]' I would like
> to generate this string:
> 'http://www.whatever.org";>http://www.whatever.org'
>
> If the string is e.g. '[url=http://
Roedy Green <[EMAIL PROTECTED]> writes:
> On Sat, 08 Oct 2005 23:33:13 GMT, Rich Teer <[EMAIL PROTECTED]>
> wrote or quoted :
>
>> What the hell has that got to do with HTML email? Sending photos
>> is an example of what attachments are for.
>
> Normally you send photos to grandma with captions un
Dear Fredrik,
Thanks for your answer. yes it means animated on
the screen.
I downloaded Python2.4, pygame and vision, but the
animation is slow, and i cannot set a graphic priority to my program. Someone
suggested PyopenGL.sourceforge, but it seems complicated.
Thanks again
Valerie
--
http
Michele Simionato wrote:
> the README says "for a usage example, see the sanity.py test
> script" but there is not such a script in the distribution :-(
looks like a distutils glitch... try this one:
# $Id$
# minimal sanity check
import string
TESTS = [
"# examples taken from ftpparse.c",
In article <[EMAIL PROTECTED]>, Paul Rubin wrote:
> I would say give the app the heaviest stress testing that you can
> before deploying it, checking carefully for leaks and crashes. I'd
> say that regardless of the implementation language.
Goes without saying. But I would like to be confident (
Op 2005-10-09, jena schreef <[EMAIL PROTECTED]>:
> Hi
> I have code
>
> # BEGIN CODE
> def test():
> def x():
> print a
> a=2 # ***
>
> a=1
> x()
> print a
>
> test()
> # END CODE
>
> This code fails (on statement print a in def x), if I omit line marked
> ***, it works (it print
In article <[EMAIL PROTECTED]>,
Steven D'Aprano wrote:
> If performance is really not such an issue, would it really matter if you
> periodically restarted Python? Starting Python takes a tiny amount of time:
Uhhh. Sounds like playing with Microsoft :) I know of a mission-
critical system which
I've designed a virtual keyboard (on screen)with Python. I've used
Pithonwin and Tkinter. Well, I'd like to use this keyboard with some
Windows's Application.
This keyboard should find which application is running (with an Active
window) and then write on it.
The keybord should remain always on des
al <[EMAIL PROTECTED]> wrote:
> And it solve a problem that in all object oriented langages, a method
> that process 2 or more different classes of objets belongs just to one
> of those classes.
Your use of the word "all" in the phrase "all object oriented languages"
is erroneous. There ARE seve
hrh1818 <[EMAIL PROTECTED]> wrote:
> This book is not a new book. It is an updated version of Magnus's 2002
> Practical Python book.
Then it's probably a good book, because Practical Python sure was!
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Ville Voipio <[EMAIL PROTECTED]> writes:
> Goes without saying. But I would like to be confident (or as
> confident as possible) that all bugs are mine. If I use plain
> C, I think this is the case. Of course, bad memory management
> in the underlying platform will wreak havoc. I am planning to
> u
Yes, it works fine, thanks (still I am a bit surprised there is not
ftpparse.py but only
an _ftpparse.so).
Michele Simionato
--
http://mail.python.org/mailman/listinfo/python-list
Ville Voipio wrote:
> There are a gazillion things which may go wrong. A stray cosmic
> ray may change the state of one bit in the wrong place of memory,
> and that's it, etc. So, the system has to be able to recover from
> pretty much everything. I will in any case build an independent
> process
When building a C extension, Distutils standard command 'install' calls
the 'build' command before performing the installation (see
Lib/distutils/command/install.py and build.py).
Reusing the build command is the correct way to ensure the installation
payload is ready, but the two commands support
Sort a List
Xah Lee, 200510
In this page, we show how to sort a list in Python & Perl and also
discuss some math of sort.
To sort a list in Python, use the “sort” method. For example:
li=[1,9,2,3];
li.sort();
print li;
Note that sort is a method, and the list is changed in place.
Suppose you
Thank you all for your advice, I currently have several offers that
I'm really tempted about - I will take a closer look at both of them
(as well as continue searching) and will make an educated decision
within the next few days.
I've also decided to get rid of the sily pseudonym...
--
ht
Can someone suggest a package that allows me to write a data file for
xmgr.
So far I have found some packages that allow me to start an
interactive xmgrace session from python, but I would rather have a
package that write a text file.
I realize that xmgr can read text-files, and that the format
Diez B. Roggisch wrote:
> Frank Millman wrote:
> > Hi all
> >
> > I understand that StringIO creates a file-like object in memory.
> >
> > Is it possible to invoke another program, using os.system() or
> > os.popen(), and use the < redirect operator, so that the other program
> > reads my StringIO
Followup-To: comp.lang.scheme
"Xah Lee" <[EMAIL PROTECTED]> writes:
> Since this is frequently used, Python provides a somewhat shorter
> syntax for it, by specifying the column used as the ordering “key”.
[...]
> Because Python's implementation is not very refined , this specialized
> syntax is
Nicolas,
I am aware of some shortcomings and design flaws of Simulink,
especially in the code generation area. I am interested by
your paper nonetheless, please send me copy.
However, Simulink is used by many people on a day-to-day basis
in the context of big, industrial projects. The claim that
Is it possible compiler.parse a statement, then change and then
execute/resolve it?
Background:
I'm probably to lazy to write my own parser.
I have such a statement as string: "distance = x**2 + y**2"
x and y are undefined, so it is no executable Python code, but it is
parseable. Now i'd like tra
Hi Diez,
thank you for your replay, but I didn't succeed (I am almost a newbye).
So I solved the problem in another manner:
I changed distribution from kubuntu to SUSE 9.3 (base installation).
Now I can import dcop and also pcop.
Bye.
--
http://mail.python.org/mailman/listinfo/python-list
"beza1e1" <[EMAIL PROTECTED]> wrote:
> I have such a statement as string: "distance = x**2 + y**2"
> x and y are undefined, so it is no executable Python code, but it is
> parseable. Now i'd like traverse through the AST and change Name('x')
> for the value i have elsewhere. And finally let Python
In article <[EMAIL PROTECTED]>, Steven D'Aprano wrote:
> If you have enough hardware grunt, you could think
> about having three independent processes working in
> parallel. They vote on their output, and best out of
> three gets reported back to the user. In other words,
> only if all three r
beza1e1 wrote:
> Is it possible compiler.parse a statement, then change and then
> execute/resolve it?
This should work:
>>> from compiler.pycodegen import ModuleCodeGenerator
>>> from compiler.misc import set_filename
>>> from compiler import parse
>>>
>>> tree = parse('foo = 42')
>>> set
In article <[EMAIL PROTECTED]>, Paul Rubin wrote:
> You might be better off with a 2.6 series kernel. If you use Python
> conservatively (be careful with the most advanced features, and don't
> stress anything too hard) you should be ok. Python works pretty well
> if you use it the way the imple
Thank you! this "compile/exec in context" is the thing i wanted.
It is not that performant i think. But it should ease the prototyping.
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
> To sort a list in Python, use the “sort” method. For example:
>
> li=[1,9,2,3];
> li.sort();
> print li;
Likewise in Common Lisp. In Scheme there are probably packages for that
as well. My apologies for not being very fluent anymore.
CL-USER> (setf list (sort '(1 9 2 3) #'<))
Ville Voipio <[EMAIL PROTECTED]> writes:
> Just one thing: how reliable is the garbage collecting system?
> Should I try to either not produce any garbage or try to clean
> up manually?
The GC is a simple, manually-updated reference counting system
augmented with some extra contraption to resolve
Ville Voipio wrote:
> In article <[EMAIL PROTECTED]>, Paul Rubin wrote:
>
>>I would say give the app the heaviest stress testing that you can
>>before deploying it, checking carefully for leaks and crashes. I'd
>>say that regardless of the implementation language.
>
> Goes without saying. But I
I would like to install several copies of Python 2.4.2 on my machine,
but it doesn't seem to be possible.
If I allready has a version installed, the installer only gives the
options to:
- change python 2.4.2
- repair python 2.4.2
- remove python 2.4.2
I would like to install different versions
Frank Millman wrote:
> I will try to explain my experience with popen() briefly.
>
> I have some sql scripts to create tables, indexes, procedures, etc. At
> present there are about 50 scripts, but this number will grow. I have
> been running them manually so far. Now I want to automate the proce
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> try to use set.
>L1 = [1,1,2,3,4]
>L2 = [1,3, 99]
>A = set(L1)
>B = set(L2)
>
>X = A-B
>print X
>
>Y = B-A
>print Y
>
>Z = A | B
>print Z
But how "efficient" is this? Could you be a bit
more expl
On Sat, 2005-10-08 at 14:09 -0700, Paul Rubinhttp: wrote:
> rbt <[EMAIL PROTECTED]> writes:
> > Off-topic here, but you've caused me to have a thought... Can hmac be
> > used on untrusted clients? Clients that may fall into the wrong hands?
> > How would one handle message verification when one can
rbt <[EMAIL PROTECTED]> writes:
> > I don't understand the question. HMAC requires that both ends share a
> > secret key; does that help?
>
> That's what I don't get. If both sides have the key... how can it be
> 'secret'? All one would have to do is look at the code on any of the
> clients and
I've read more about sockets and now, I have a better understanding of
them. However, I still have a few SocketServer module questions:
When used with SocketServer how exactly does socket.setdefaulttimeout()
work? Does it timeout the initial connect request to the socket server
or does it timeout
Ulrich Hobelmann wrote:
> Xah Lee wrote:
>
>> To sort a list in Python, use the “sort” method. For example:
>>
>> li=[1,9,2,3];
>> li.sort();
>> print li;
>
> Likewise in Common Lisp. In Scheme there are probably packages for that
> as well. My apologies for not being very fluent anymore.
>
>
"Alex Martelli" <[EMAIL PROTECTED]> wrote:
> George Sakkis <[EMAIL PROTECTED]> wrote:
>...
> > > manipulation of a heap to place an item in the right spot, but with 4-5
> > > or a few more sources might not make an impact at all.
> >
> > Unless you're talking about hundreds or thousands source
Alex Martelli wrote:
>George Sakkis <[EMAIL PROTECTED]> wrote:
> ...
>
>
>>>manipulation of a heap to place an item in the right spot, but with 4-5
>>>or a few more sources might not make an impact at all.
>>>
>>>
>>Unless you're talking about hundreds or thousands sources, it probably
>
Download Unlimited Free Music Click Here!
--
http://mail.python.org/mailman/listinfo/python-list
When you install Python it plug entries into the registry, so that when
you go to install add-ons that are pre-compiled binaries, they look into
the registry for the python directory. If you can find out how to
manipulate the registry so that the binaries would recognize different
installation
"Satchidanand Haridas" <[EMAIL PROTECTED]> wrote:
> >So, I want to sort myList by the return of myFunction( value3 )
> >
> >I tried doing the following... with no luck so far
> >myList.sort(lambda x, y: cmp(myFunction(x[2]), myFunction(y[2]))
> >
> >
> >
> I think the above statement should be as
Daniel Delay wrote:
> I agree the comparison to the mathematical o-operator is misleading, it
> was just to say sometimes, it can be usefull introduce new syntax to
> avoid too many nested parenthesis
To replace them by the same amount of parentheses with a dot in front?
Not very convincing.
> T
rbt wrote:
> I've read more about sockets and now, I have a better understanding of
> them. However, I still have a few SocketServer module questions:
>
> When used with SocketServer how exactly does socket.setdefaulttimeout()
> work? Does it timeout the initial connect request to the socket serve
In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote:
> Roedy Green <[EMAIL PROTECTED]> wrote:
>> On 8 Oct 2005 23:39:27 GMT, John Bokma <[EMAIL PROTECTED]> wrote or
>> quoted :
>>>Yeah, yeah, and 640K is enough for everybody. Same song, different tune.
>> For how long. Surely attachmen
In comp.lang.perl.misc Tim Tyler <[EMAIL PROTECTED]> wrote:
> In comp.lang.java.programmer Steven D'Aprano <[EMAIL PROTECTED]> wrote or
> quoted:
>> Only if your photos are so obscure and confusing that they need captions.
>> "Here's Johnny with the dog. Here is Johnny with the dog again. This o
"Christian Stapfer" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote:
> > try to use set.
>
> Sorting the two lists and then extracting
> A-B, B-A, A|B, A & B and A ^ B in one single
> pass seems to me very likely to be much faster
> for large lists.
Why don't you implement it, test it
On Wed, 05 Oct 2005 21:36:47 -0600, rumours say that Mahesh Padmanabhan
<[EMAIL PROTECTED]> might have written:
>In article <[EMAIL PROTECTED]>,
> "Xah Lee" <[EMAIL PROTECTED]> wrote:
>
>
>While I don't like to feed the trolls, I do find his posts amusing. He
>is like a spoilt child seeking atte
On Mon, 2005-10-10 at 05:54 -0700, Paul Rubinhttp: wrote:
> rbt <[EMAIL PROTECTED]> writes:
> > > I don't understand the question. HMAC requires that both ends share a
> > > secret key; does that help?
> >
> > That's what I don't get. If both sides have the key... how can it be
> > 'secret'? Al
"TurboGears: Python on Rails?" post:
http://developers.slashdot.org/developers/05/10/10/0650207.shtml?tid=156
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis <[EMAIL PROTECTED]> wrote:
...
> > i.e., a heap solution may be over 4 times faster than a sort-based one
> > (in the following implementations).
>
> Interesting; I thought timsort on small almost ordered lists would be
> practically as fast as the heap. Still, how is 0.10344 over
Mike C. Fletcher <[EMAIL PROTECTED]> wrote:
...
> One thing to keep in mind (if you care about performance) is that you
> one could use bisect, instead of sort, as the sorted list of streams is
> already in order save for the one element you are processing. Btw, nice
> trick with reverse to red
On Mon, 10 Oct 2005 14:34:35 +0200, Christian Stapfer wrote:
> Sorting the two lists and then extracting
> A-B, B-A, A|B, A & B and A ^ B in one single
> pass seems to me very likely to be much faster
> for large lists.
Unless you are running a Python compiler in your head, chances are your
intui
rbt <[EMAIL PROTECTED]> writes:
> > Instead, for client #i, let that client's key be something like
> > hmac(your_big_secret, str(i)).digest()
> > and the client would send #i as part of the string.
>
> How is this different from sending a pre-defined string from the client
> that the server kno
Hi All:
Here's a piece of Python code and it's output. The output that Python
shows is not as per my expectation. Hope someone can explain to me this
behaviour:
[code]
class MyClass:
def __init__(self, myarr=[]):
self.myarr = myarr
myobj1 = MyClass()
myobj2 = MyClass()
m
On Mon, 2005-10-10 at 07:46 -0700, Paul Rubinhttp: wrote:
> rbt <[EMAIL PROTECTED]> writes:
> > > Instead, for client #i, let that client's key be something like
> > > hmac(your_big_secret, str(i)).digest()
> > > and the client would send #i as part of the string.
> >
> > How is this different f
request for Google groups enhancement:
Report Abuse button should have 4 choices:
- Spam
- Illegal Content
- Xah
- other
;-}
Christos Georgiou wrote:
> On Wed, 05 Oct 2005 21:36:47 -0600, rumours say that Mahesh Padmanabhan
> <[EMAIL PROTECTED]> might have written:
>
> >In article <[EMAIL PROTECT
I am trying to rewrite a PERL automation which started a "monitoring"
application on many machines, via RSH, and then multiplexed their
collective outputs to stdout.
In production there are lots of these subprocesses but here is a
simplified example what I have so far (python n00b alert!)
- SNI
Hi.
is there a way to program python to read
serial data from a barcode reader/scanner and then using the
parallel port of the PC to activate an
electromagnetic door lock.
edgar
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I have a program that serves client programs. The server has a login
password, which has to be used by each client for logging in. So, when
the client connects, it sends a string with a password, which is then
validated on the server side. The problem is obvious: anyone can get
the passwor
"dcrespo" <[EMAIL PROTECTED]> writes:
> I have a program that serves client programs. The server has a login
> password, which has to be used by each client for logging in. So, when
> the client connects, it sends a string with a password, which is then
> validated on the server side. The problem i
Hey, so I heard about the TurboGears posting and decided to investigate.
I watched some of their video on building a wiki in 20 minutes and
was totally blown away because I'm used to python...straight python, not
melding together 4 different APIs into one to blah blah. ANYWAY. I was
inve
"George Sakkis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Christian Stapfer" <[EMAIL PROTECTED]> wrote:
>
>> <[EMAIL PROTECTED]> wrote:
>> > try to use set.
>>
>> Sorting the two lists and then extracting
>> A-B, B-A, A|B, A & B and A ^ B in one single
>> pass seems to me
Duncan Smith wrote:
> Steve Holden wrote:
>
>>There are special rules for the monarchs, who are expected to refer to
>>themselves in the first person plural.
>>
>
> Yes, although I'm not actually sure where the 'royal we' comes from;
I was under the (probably misinformed) impression that since
simplest approach is to 1 way hash the password ... perhaps using md5
normally with passwords the server only has to check if it is the same
word, assuming the same hash algorithms the same hash value can be
created at client.
Its not hugely secure ... anyone sniffing can grab your hash value a
vaibhav> Here's a piece of Python code and it's output. The output that
vaibhav> Python shows is not as per my expectation. Hope someone can
vaibhav> explain to me this behaviour:
...
Yes, your default arg is evaluated once, at method definition time and
shared betwee all instance
[EMAIL PROTECTED] wrote:
> Hi All:
>
> Here's a piece of Python code and it's output. The output that Python
> shows is not as per my expectation. Hope someone can explain to me this
> behaviour:
>
> [code]
> class MyClass:
> def __init__(self, myarr=[]):
> self.myarr = my
This comes up on the list about once a week on this list.
See:
http://www.nexedi.org/sections/education/python/tips_and_tricks/python_and_mutable_n/view
-Larry Bates
[EMAIL PROTECTED] wrote:
> Hi All:
>
> Here's a piece of Python code and it's output. The output that Python
> shows is not as pe
Brandon K wrote:
> Hey, so I heard about the TurboGears posting and decided to investigate.
> I watched some of their video on building a wiki in 20 minutes and
> was totally blown away because I'm used to python...straight python, not
> melding together 4 different APIs into one to blah bl
Christian Stapfer wrote:
> "George Sakkis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>"Christian Stapfer" <[EMAIL PROTECTED]> wrote:
>>
>>
>>><[EMAIL PROTECTED]> wrote:
>>>
try to use set.
>>>
>>>Sorting the two lists and then extracting
>>>A-B, B-A, A|B, A & B and
Peter Tillotson wrote:
> simplest approach is to 1 way hash the password ... perhaps using md5
>
No, it isn't - see below.
> normally with passwords the server only has to check if it is the same
> word, assuming the same hash algorithms the same hash value can be
> created at client.
>
Unfort
> Anyone know of a simple ssl api in python :-)
Perhaps pow may help:
http://sourceforge.net/projects/pow
or pyopenssl:
http://pyopenssl.sourceforge.net/
Regards,
Josef
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh,I replaced mtime = os.stat(Path + file_name)[os.path.stat.ST_MTIME] with mtime = nt.stat("q.py") per your suggested, then ran it from IDLE 2.4.2. Here is the message I got,
Traceback (most recent call last):
File "C:\Documents and Settings\nguyeki\Desktop\Oct7", line 37, in -topl
You might try a "take over" mode -- starting another copy gets to the
point it looks to listen for UDP, the (if the listening fails), tells
the other process to die over UDP, taking over then. This scheme would
would reduce your "time-to-switch" to a much shorter window. Whenever
given the shutdo
Mike Meyer wrote:
> Well, if there's some software you use on a regular basis, that's a
> good start. Python itself is a candidate. If the goal is just to
> contribute, start going through the bugs database, and see if you can
> contribute patches that fix some of the reporrted bugs.
That's excell
"[EMAIL PROTECTED]" wrote:
> Here's a piece of Python code and it's output. The output that Python
> shows is not as per my expectation. Hope someone can explain to me this
> behaviour:
/snip/
> Why do myobj1.myarr and myobj2.myarr point to the same list? The
> default value to __init__ for th
On Sat, 08 Oct 2005 20:43:12 GMT, Roedy Green
<[EMAIL PROTECTED]> wrote:
>On Tue, 04 Oct 2005 17:57:13 -, [EMAIL PROTECTED] (Gordon
>Burditt) wrote or quoted :
>
>>HTML enables a heck of a lot of problems: "web bugs" in email,
>>links to fake sites that appear as real ones in what shows up
>>
"beza1e1" wrote:
> Thank you! this "compile/exec in context" is the thing i wanted.
>
> It is not that performant i think.
it's about as fast as it can get, as long as you only call compile when
the expressions change. (the example didn't show it, but the "expr"
code object can of course be reu
On 9 Oct 2005 13:12:43 -0700, [EMAIL PROTECTED] wrote:
>> My grandma doesn't put captions in her photo album,
>> and she doesn't need captions on her photos in email.
>
>She doesn't need captions in the album because she will explain the
>pictures, at length, every single one of them, to anyone wh
I'm spending the next two weeks off and I'm looking to take a crack at
learning how to program in Python. Here's a list of the places I've
bookmarked:
http://www.python.org/doc/ and more specifically
http://wiki.python.org/moin/
http://wiki.python.org/moin/BeginnersGuide
http://www.python.org/d
On Sun, 09 Oct 2005 00:03:05 +0200, Lasse Vågsæther Karlsen
<[EMAIL PROTECTED]> wrote:
>In any case, html email is here to stay. Or perhaps I should remove html
>and say "richly formatted", whatever that might mean in the future.
>
>But trying to keep your email world into a pure text-based
>no-
1 - 100 of 227 matches
Mail list logo