QOTW: Well, I haven't yet seen a definition of 'Integrated Development
Environment' which would exclude Emacs... - Slawomir Nowaczyk
Let me tell you: There are times when I'm really glad that as a German,
I'm not supposed to possess any sense of humour at all. - Georg Brandl
Pythoneers
The Southern California Python Interest Group, aka the SoCal Piggies,
will meet on Thursday Oct. 19th at 7 PM at Caltech.
Directions available here:
http://www.socal-piggies.org/socalpiggies/Caltech,_Kerckhoff_101
Google Map:
I found a dynamic way to inherite classes:
def MixIn(pyClass, mixInClass):
if mixInClass not in pyClass.__bases__:
pyClass.__bases__ += (mixInClass,)
def test1():
o = C3()
MixIn(C3,C1)
MixIn(C3,C2)
o.m()
expected aaa
neoedmund wrote:
thank you, Kay.
Oh, How great is the solution! ( though i don't know how it works. )
Thank you George.
George Sakkis wrote:
neoedmund wrote:
python use multiple inheritance.
but inheritance means you must inherite all methods from super type.
now i just need some methods from one type and some methods
T. Bryan schrieb:
Thomas Heller wrote:
I cannot connect to starship.python.net: neither http, nor can I login
interactively with ssl (and the host key seems to have changed as well).
Does anyone know more?
starship.python.net was compromised. It looked like a rootkit may have been
[EMAIL PROTECTED] wrote:
Hi,
I just want to send a very simple email from within python.
I think the standard module of smtpd in python can do this, but I
haven't found documents about how to use it after googleing. Are there
any examples of using smtpd ? I'm not an expert,so I need some
Tim Peters wrote:
[Frederic Rentsch]
Thanks a lot for your input. I seemed to notice that everything
works fine without setting the cursor as long as it stops before the end
of the file. Is that also a coincidence that may not work?
if you want to read following a write, or
Hi guys,
I'm writing a program with a feature of accepting user input as command
text and parsing it to correct function calls...example:
5 minutes later/5 min later/5 minute later/after 5 minutes...
are being parsed as the same rule so the system will call a later
function with minutes=5 as
On Oct 15, 10:25 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
I just want to send a very simple email from within python.
I think the standard module of smtpd in python can do this, but I
haven't found documents about how to use it after googleing. Are there
any examples of using
George Sakkis wrote:
[EMAIL PROTECTED] wrote:
Robert Hicks wrote:
[EMAIL PROTECTED] wrote:
T. Bryan wrote:
starship.python.net was compromised. It looked like a rootkit may
have been
installed. The volunteer admins are in the process of reinstalling
the OS
Rob Wolfe wrote:
[EMAIL PROTECTED] wrote:
Hi,
I just want to send a very simple email from within python.
I think the standard module of smtpd in python can do this, but I
haven't found documents about how to use it after googleing. Are there
any examples of using smtpd ? I'm not an
[EMAIL PROTECTED] wrote:
Do I have to setup a smtp server on my localhost ?
If I see correctly your smtp server is gmail.com.
HTH,
Rob
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 16, 12:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Rob Wolfe wrote:
[EMAIL PROTECTED] wrote:
Hi,
I just want to send a very simple email from within python.
I think the standard module of smtpd in python can do this, but I
haven't found documents about how to use it
I tried to call pydoc from my Linux box.
To my realization that it doesn't contain
pydoc.
I thought this module should be a default module.
Can anybody suggest where can I find the module?
I tried:
$ easy_install pydoc
Searching for pydoc
Reading http://sqlobject.org/ http://sqlobject.org/
Jorge Godoy [EMAIL PROTECTED] wrote:
Eclipse: just a GUI over a subset of Emacs today.
;-)
One day, when it evolves, it will be something interesting... I
won't give up on Emacs loading fast
I never thought I'd live to see emacs being quoted as loading fast!
It really is fast compared to
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am having trouble trying to reuse the code that was provided in the
wxdemo package of wxpython.
I suggest you ask this question on the wxpython mailing list which has
lots of very well informed contributors (not me - I'm just learning!).
HI all,
I have a problem in accesing COM objects in threads. To be precise,
lets assume that I have a class GenericFunctions which is defined as
follows:
import win32com.client, pythoncom, thread
ie=win32com.client.Dispatch('internetexplorer.application')
ie.Visible=1
class GenericFunctions:
Max Erickson wrote:
Teja [EMAIL PROTECTED] wrote:
Hi all,
What is attribute error? what causes that error, especially with COM
objects?
To be precise :
Attribute Error: LCAS.LabcarController.writeLogWindow()
Here, LCAS is a COM object
Thanks
Teja.P
Neil Cerutti wrote:
On 2006-10-14, Teja [EMAIL PROTECTED] wrote:
What is ValueError: argument is not a COM object ? I get this
error when I try to pass a COM object to a thread.
Any pointers
Try passing it to Larry Bird, instead. He's bound to score some
points.
Seriously, the
Teja wrote:
Roger Upole wrote:
Teja [EMAIL PROTECTED] wrote:
Roger Upole wrote:
Teja [EMAIL PROTECTED] wrote:
Roger Upole wrote:
Teja [EMAIL PROTECTED] wrote:
I have an application which uses COM 's Dispatch to create a COM
based
object. Now I need to
In [EMAIL PROTECTED], Wijaya Edward
wrote:
I tried to call pydoc from my Linux box.
To my realization that it doesn't contain
pydoc.
I thought this module should be a default module.
Yes it is part of the standard library. What distribution are you using?
Ciao,
Marc
Hi,
Thanks for the reply.
Red Hat Linux Enterprise:
Linux host.com 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686
i386 GNU/Linux
Python 2.3.4.
Any problem with that?
--- Edward
From: [EMAIL PROTECTED] on behalf of Marc 'BlackJack' Rintsch
Leo Kislov wrote:
Do I have to setup a smtp server on my localhost ?
You need to use login method
http://docs.python.org/lib/SMTP-objects.html. And by the way, the
subject of your message is very confusing, you are posting log where
you're sending email using external server.
Wijaya Edward wrote:
Thanks for the reply.
Red Hat Linux Enterprise:
Linux host.com 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686
i386 GNU/Linux
Python 2.3.4.
Any problem with that?
only that Red Hat obviously hasn't bothered to include pydoc in the
distribution
spawn wrote:
but I've been struggling with this for far too long and I'm about to
start beating my head against the wall.
My assignment seemed simple: create a program that will cacluate the
running total of user inputs until it hits 100. At 100 it should stop.
That's not the problem, in
neoedmund wrote:
(*PLEASE* stop top-posting - corrected)
Ben Finney wrote:
[Please don't top-post above the text to which you're replying.]
neoedmund [EMAIL PROTECTED] writes:
I'm trying to achieve a higher level of reusability. Maybe it
cannot be done in python? Can anybody help me?
Jia Lu wrote:
Hi all:
I try to do things below:
import sys
for i in sys.modules.keys():
import i
Traceback (most recent call last):
File pyshell#67, line 2, in module
import i
ImportError: No module named i
But it seems that import donot know what is i ?
The import
Bruno Desthuilliers wrote:
neoedmund wrote:
(*PLEASE* stop top-posting - corrected)
Ben Finney wrote:
[Please don't top-post above the text to which you're replying.]
neoedmund [EMAIL PROTECTED] writes:
I'm trying to achieve a higher level of reusability. Maybe it
cannot be done
Wolfgang Keller wrote:
Hello,
and thanks for your reply, but...
Here's a start:
http://philip.greenspun.com/sql/
...small misunderstanding: I already know a bit of SQL,
Developping quality SQLDBMS-based applications requires more than a
bit of SQL knowledge.
and I intend to avoid
Paul Boddie wrote:
Kay Schluehr wrote:
Spreading tiny function definitions all over the code
may be finally not such a good idea compared with a few generic methods
that get just called? OO might run out of fashion these days but Python
is not Java and Pythons OO is pretty lightweight.
I
neoedmund wrote:
Could you show some code to help me know how composition/delegation can
be done here? Thanks.
Starting with your example C2 might just derive from C1 and perform a
supercall:
class C1(object):
def v(self, o):
return expected +o
class C2(C1):
Bruno Desthuilliers wrote:
Just for the record : Ruby's code-blocks (closures, really) come from
Smalltalk, which is still the OneTrueObjectLanguage(tm).
IsTheOneTrueObjectLanguage(tm)ReallyCamelCased?
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
Scott David Daniels wrote:
Nope. idempotent: f(f(x)) = f(x)
That is, after doing it once, repeating it won't hurt.
http://en.wikipedia.org/wiki/Idempotence_%28computer_science%29
/F
Thank you (Scott and Fredrik) for the correction.
--
bruno desthuilliers
python
On Oct 16, 2:04 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
It's not safe if I have to use login method explicitly by which I have
to put my username and password in the script. I have also tried the
Unix command 'mail', but without success, either. I could use 'mail' to
send an E-mail to
Wolfgang Keller [EMAIL PROTECTED] writes:
http://philip.greenspun.com/sql/
...small misunderstanding: I already know a bit of SQL, and I intend to avoid
its use as far as possible (and use e.g. Modeling or SQLAlchemy).
I'm not sure what you mean, that book isn't just an intro to SQL, it
[EMAIL PROTECTED] wrote:
Then perhaps he should have said that, in which case I would
have explained why he did not understand what he read. Let me
try again...
Well, let's have some answers then.
1. A site which hosts (I think, hence the questions) a number
of high profile, popular python
Radek a écrit :
Hi,
I am trying to create GUI launcher of several applications using Python
and Tkinter.
Currently when using subprocess.Popen(mycommand) all output goes to
the stdout of my launcher.
For some command line applications I need to launch them so that their
output goes
I think the following is a package with a lot of good code. But then,
I'm biased. ;-)
http://code.google.com/p/pynms/
On Oct 13, 9:08 am, js [EMAIL PROTECTED] wrote:
Hi,
I've learned basics of Python and want to go to the next step.
So I'm looking for good python examples
I steal good
Frederic Rentsch [EMAIL PROTECTED] wrote:
It was called a flow chart. Flow charts could be translated directly
into machine code written in assembly languages which had labels, tests
and jumps as the only flow-control constructs. When structured
programming introduced for and while
EXCITING OPPORTUNITY FOR EXPERIENCED APPLICATION DEVELOPERS (PYTHON)
Azri Solutions Pvt Limited ( http://www.azri.de/en/) provides a
challenging work environment, an open work culture competitive
remuneration : the right ingredients to facilitate superlative
performance.Vacancies for Experienced
Steven Bethard a écrit :
I'm trying to solve a constraint-satisfaction problem, and I'm having
some troubles framing my problem in such a way that it can be
efficiently solved.
Basically, I want to build groups of two teachers and four students such
that [1]:
* Students are assigned to
A new links directory of articles related to software development is
under construction on http://www.softdevarticles.com/
Please feel free use it in future research and to contribute with your
articles on python.
--
http://mail.python.org/mailman/listinfo/python-list
Nick Craig-Wood [EMAIL PROTECTED] writes:
Attempting to bring this discussion back on topic: Emacs has a few
python modes also. There is the basic python-mode which does
everything expected of a major-mode. Syntax colouring, indentation
that sort of thing. There is also IM-Python for code
What I'm interested in is rather how to connect a GUI to a database, with
quite a bit of application logic in between. And how to do it well.
You've described Dabo perfectly. Have you looked into it yet? It's
written by a couple of database application developers.
Yes, thanks, I know about
Hi listers,
I've written this little script to generate some html but I cannot get it to
convert to a string so I can perform a replace() on the gt;, lt;
characters that get returned.
from StringIO import StringIO
def generator_file(rsspath,titleintro,tickeropt):
scripter=StringIO()
If the company is so good, why does it hire recruiters like you?
It is rude to SHOUT your subject in all caps.
Your subject conveys nothing more than Python job offered.
You should have mentioned in the subject that the job is in Hyderabad,
because even most readers of this group looking for
Jonathan Bowlas wrote:
But obviously replace() isn't an attribute of StringIO so I guess I need to
convert it to a string first, can someone please advise how I can do this?
StringIO objects are file-like objects, so you need to use read or
readlines to get the string data out of it (just like
neoedmund wrote:
Bruno Desthuilliers wrote:
neoedmund wrote:
(*PLEASE* stop top-posting - corrected)
Ben Finney wrote:
[Please don't top-post above the text to which you're replying.]
neoedmund [EMAIL PROTECTED] writes:
I'm trying to achieve a higher level of reusability. Maybe it
cannot
Ahh thanks, I'll give that a try.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 16 October 2006 14:00
To: python-list@python.org
Subject: Re: Convert StringIO to string
Jonathan Bowlas wrote:
But obviously replace() isn't an
Jonathan Bowlas schrieb:
Hi listers,
I've written this little script to generate some html but I cannot get it to
convert to a string so I can perform a replace() on the gt;, lt;
characters that get returned.
from StringIO import StringIO
def
Jonathan Bowlas wrote:
Ahh thanks, I'll give that a try.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 16 October 2006 14:00
To: python-list@python.org
Subject: Re: Convert StringIO to string
Jonathan Bowlas wrote:
Hello,
here is something that surprises me.
#coding: iso-8859-1
s1=uFrau Müller machte große Augen
s2=Frau Müller machte große Augen
if s1 == s2:
pass
Running this code produces a UnicodeDecodeError:
Traceback (most recent call last):
File tmp.py, line 4, in ?
if s1 == s2:
Jonathan Bowlas wrote in
news:[EMAIL PROTECTED] in
comp.lang.python:
Hi listers,
I've written this little script to generate some html but I cannot get
it to convert to a string so I can perform a replace() on the gt;,
lt; characters that get returned.
from StringIO import StringIO
[EMAIL PROTECTED] schrieb:
To extend and revise my remarks my error is
File C:\Python24\Lib\site-packages\boa-constructor\test of
snake\csoundgrid.py, line 8, in create_grid
win = Grid_MegaExample.MegaTable(self, data, colnames, pugins)
NameError: global name 'self' is not defined
Script
Ok, I think I'm explaining
this badly because I've used getvalue() in the script I originally submitted to
the list, see below:
from StringIO import
StringIO
def
generator_file(rsspath,titleintro,tickeropt):
scripter=StringIO()
scripter.write('script
type=text/_javascript_\n')
[EMAIL PROTECTED] wrote:
Hello,
here is something that surprises me.
#coding: iso-8859-1
s1=uFrau Müller machte große Augen
s2=Frau Müller machte große Augen
if s1 == s2:
pass
Running this code produces a UnicodeDecodeError:
Traceback (most recent call last):
File
Clodoaldo Pinto Neto [EMAIL PROTECTED] wrote:
Fredrik Lundh wrote:
this works for me:
f = subprocess.Popen(set | grep IFS, shell=True,
stdout=subprocess.PIPE)
f.stdout.readlines()
[IFS=$' \\t\\n'\n]
what does the above return on your machine?
f = subprocess.Popen(set | grep IFS,
- the wildcard object, which compares equal to everything else
class MatchAny(object):
def __cmp__(self,other):
return 0
wild = MatchAny()
print wild == 1000
print 1000 == wild
print wild == (1,2,3)
print wild == 'abck'
print wild == wild
print wild != 1000
print 1000 != wild
Sir Psycho wrote:
Hi,
With web hosting, does the ISP you chose have to support the framework
you work with as well?
Im looking at making a site in Python, however, Im lost as to what ISPs
actually support.
We support any and every thing Python and we are a not-for-profit
cooperative.
Jorgen Grahn [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes. But note that being able to write it yourself is one thing, having it
in the Standard Library and known to anyone is another.
Perhaps you could compile the submissions in this thread into an entry in
the Python
On 2006-10-16, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
here is something that surprises me.
#coding: iso-8859-1
I think that's supposed to be:
# -*- coding: iso-8859-1 -*-
The special comment changes only the encoding of unicode
literals. In particular, it doesn't change the
- the wildcard object, which compares equal to everything else
Paul class MatchAny(object):
Paul def __cmp__(self,other):
Paul return 0
Paul wild = MatchAny()
...
You're at the mercy of the comparison machinery implemented by individual
classes. Executing
class Foo:
def __init__(self, name, data=[]):
self.name = name
self.data = data
def addData(self, val):
self.data.append(val)
f = Foo('a')
f.addData(1)
f.addData(2)
f2 = Foo('b')
print f.name, f.data
print f2.name, f2.data
OUTPUT
abcd wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
class Foo:
def __init__(self, name, data=[]):
http://docs.python.org/ref/function.html#l2h-619
Rob.
--
http://www.victim-prime.dsl.pipex.com/
--
http://mail.python.org/mailman/listinfo/python-list
Hello !
How to increase buffer size of a file ?
I want to use more buffer, but I don't want to replace every file object
with my class.
It have a contant in a module ?
Thanks for your help:
dd
--
http://mail.python.org/mailman/listinfo/python-list
Rob Williscroft wrote:
http://docs.python.org/ref/function.html#l2h-619
thanks. weird that it works that way since they even state This is
generally not what was intended.
oh well.
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-10-16, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yes, I want to find a way to send email without an external smtp server.
If you're not going to use an SMTP server, what sort of server
do you want to use?
--
Grant Edwards grante Yow! Let me do my
On Mon, 16 Oct 2006 07:26:05 -0700, abcd wrote:
class Foo:
def __init__(self, name, data=[]):
The binding of the name data to the empty list happens at compile time,
not runtime.
self.name = name
self.data = data
def addData(self, val):
Steven D'Aprano [EMAIL PROTECTED] writes:
It isn't a bug in Python. At worst, it is a gotcha, but it is a
deliberate design decision, and quite useful. For example, this is good
for caching complicated calculations:
def function(x, _cache={}):
# _cache is initialised to an empty
A suggestion:In effect, sets are dictionaries without values. (Even thought their implementation is different)My suggestion would be to generalise set operations (such as union, intersection, etc.) to work for dictionaries just as they work on sets. Set([1,2,3]) - Set([3,4])Set([1, 2]) {1: 10, 2:
On 2006-10-16, Steven D'Aprano
[EMAIL PROTECTED] wrote:
Well, it's a bug in your code :)
It isn't a bug in Python. At worst, it is a gotcha, but it is
a deliberate design decision, and quite useful. For example,
this is good for caching complicated calculations:
I'd say the feature is usable
On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
You're at the mercy of the comparison machinery implemented by individual
classes.
Plus, if you put a wildcard object into a set (or use it as a
dictionary key) you'll confuse yourself horribly.
I know I did. ;-)
--
Cheers,
Simon B
Hello,
For one java class (Hello) i use another (HelloPrinter) to build the
string representation of the first one. When i've tried to use this
from within jython, HelloPrinter.toString(hello) call gives results
like Object.toString() of hello has being called. The example below
shows this
Your suggestion didn't seem to make any difference at all, it still returns
lt;script type=text/javascriptgt;
new rss_ticker(gdfgdfg, True, True)
lt;/scriptgt;
Any other ideas?
Jon
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Williscroft
Sent:
durumdara wrote:
How to increase buffer size of a file ?
I want to use more buffer, but I don't want to replace every file object
with my class.
the open() file factory takes the buffer size as an optional third
argument. see the documentation for details.
/F
--
Sir Psycho wrote:
Hi,
With web hosting, does the ISP you chose have to support the framework
you work with as well?
It at least has to support a reasonable way to deploy an application
using the said framework - now what this implies depends on the choosen
framework.
Im looking at making a
Steven D'Aprano wrote:
It isn't a bug in Python. At worst, it is a gotcha, but it is a
deliberate design decision, and quite useful. For example, this is good
for caching complicated calculations:
it's also used to pass in *objects* instead of names into an inner scope.
/F
--
ivansh wrote:
Hello,
For one java class (Hello) i use another (HelloPrinter) to build the
string representation of the first one. When i've tried to use this
from within jython, HelloPrinter.toString(hello) call gives results
like Object.toString() of hello has being called. The example
Jonathan Bowlas wrote:
Ok, I think I'm explaining this badly because I've used getvalue() in
the script I originally submitted to the list, see below:
from StringIO import StringIO
def generator_file(rsspath,titleintro,tickeropt):
scripter=StringIO()
It should be quite obvious what should happen when the values stored for
the relevant keys are identical. It is less obvious (and needs some
though) what should happen when the keys are the same in the two
operands, but the values are different.
I think you answered you own
abcd wrote:
Rob Williscroft wrote:
http://docs.python.org/ref/function.html#l2h-619
thanks. weird that it works that way since they even state This is
generally not what was intended.
The not intended refers to the programmer making the mistake of creating a
shared instance - which
Now we have 3 different outputs from 3 people to the command:
f = subprocess.Popen(set | grep IFS, shell=True,
stdout=subprocess.PIPE)
f.stdout.readlines()
From me on FC5:
[BASH_EXECUTION_STRING='set | grep IFS'\n, IFS=' \t\n]
From Fredrik Lundh on unknown OS:
[IFS=$'
Hi all,
I'm trying to create a setup which allows a program to request an object
using strings and get an object of that type. It appears to be mostly
working but i have difficulties if i attempt to load a module at runtime
and then request an object of that type.
Essentially, my code works as
Paul Rubin wrote:
http://philip.greenspun.com/sql/
There was a time (some time in the mid 90s) when I thought that Philip
Greenspun had a Clue. Then I realised just how wrong he was (he started
off reasonably right, he just didn't keep up when the world moved on).
The highlight of this process
Hello!
I have a shared hosting account at GrokThis.net and have a problem with
the module order of the Python search path.
I'd like to use django's svn trunk instead of the
Django-0.95-py2.4.egg provided in site-packages.
The problem is that the django egg gets preference over the django
svn
On Mon, 2006-10-16 at 10:51, Steven D'Aprano wrote:
On Mon, 16 Oct 2006 07:26:05 -0700, abcd wrote:
class Foo:
def __init__(self, name, data=[]):
The binding of the name data to the empty list happens at compile time,
not runtime.
I think this statement needs to be clarified. The
Carsten Haese wrote:
I think this statement needs to be clarified. The binding of data to
the empty list *does* happen at runtime, not at compile time. However,
the binding happens only once, when the def statement is executed, as
opposed to every time the __init__ function is called.
to be
Ok - I've done a lot of searching with google for info on
what I'm about to ask, and haven't found enough to accomplish
what I'm after - so if anyone has the answers (or even
just ideas on how to proceed) I'd love the help.
I'm fairly new to Python, but not to OO programming. I've
written a
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
--snip--
As far as I can tell, the machine was compromised on 2006-09-02.
So it was compromised for over a month.
Irritatingly we didn't find out until just after logrotate had deleted
the logs for around the time of the attack.
Murphy
[EMAIL PROTECTED] wrote:
5. Verifying that such a thing has not happened can be very
difficult, particularly if the date and other details of the
compromise cannot be accurately determined.
I guess you should find out from the author of whatever you downloaded
what the checksums
[EMAIL PROTECTED] wrote:
But, I am still completely at a loss why you, he, or anyone,
based on the information presented so far,.would conclude
that the python security problem is unrelated.
Because he's read the security advisory, perhaps, and understands what
it says?
/F
--
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I don't think that would help in the case of Pywin32 since the
Sourceforge dates for build 210 are 9/22.
I emailed Mark Hammond but have not heard anything back yet.
In the case of pywin32, are you at all sure that you actually
thanks,do not sentonother message it's enougth
---
For super low premiums, click here http://www.webmail.co.za/dd.pwm
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
[EMAIL PROTECTED] wrote:
But, I am still completely at a loss why you, he, or anyone,
based on the information presented so far,.would conclude
that the python security problem is unrelated.
Because he's read the security advisory, perhaps, and understands what
it
Hi,
I'm just trying to read from a webpage with urllib but I'm getting
IOErrors. This is my code:
import urllib
sock = urllib.urlopen(http://www.google.com/;)
and this is the error:
Traceback (most recent call last):
File pyshell#5, line 1, in module
sock =
It should be quite obvious what should happen when the values stored forthe relevant keys are identical. It is less obvious (and needs somethough) what should happen when the keys are the same in the twooperands, but the values are different.I think you answered you own proposal in the
Kay Schluehr wrote:
Bruno Desthuilliers wrote:
Just for the record : Ruby's code-blocks (closures, really) come from
Smalltalk, which is still the OneTrueObjectLanguage(tm).
IsTheOneTrueObjectLanguage(tm)ReallyCamelCased?
ThatsAGoodQuestion.
I have a list and I need to do a custom sort on it...
for example:
a = [1,2,3,4,5,6,7,8,9,10] #Although not necessarily in order
def cmp(i,j): #to be defined in this thread.
a.sort(cmp)
print a
[1,4,7,10, 2,5,8, 3,6,9]
So withouth making this into an IQ test.
Its more like
1 4 7 10
2 5 8
3
With web hosting, does the ISP you chose have to support the framework
you work with as well?
Im looking at making a site in Python, however, Im lost as to what ISPs
actually support. Some ISPs say they support Python so does that mean
if I wanted to use TurboGears It would just work anyway?
I understand this point but this is just an argument for
saying that it should throw an exception when the values don't
match. It is not an argument for not doing the logical thing
when they do. In fact in many situations it can be reasonably
expected that the values will be the same. If not,
1 - 100 of 186 matches
Mail list logo