"Steve Holden" <[EMAIL PROTECTED]> wrote:
8<---
> >>> mystr = raw_input("Who is this? ")
> Who is this? Steve
how did you know how to answer that?
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
several packages I depend on. I'm using Python 2.4.3.
I'm getting an AssertionError on "assert not self._stack" when calling
hotshot.stats.load() on my app's hotshot profile. The app consistently
causes hotshot to generate such a pro
Hi,
Given this list:
list = ['0123', '1A34' , '333-' , '' ]
I want to match only this element
'0123' (pure numeric) and '' (empty element).
Why this construct doesn't work?
p = re.compile("''+|[0-9]+")
m = p.match(word)
if m:
print word,
Nam
Wijaya Edward wrote:
> Hi,
>
> Given this list:
>
> list = ['0123', '1A34' , '333-' , '' ]
>
> I want to match only this element
> '0123' (pure numeric) and '' (empty element).
>
> Why this construct doesn't work?
>
> p = re.compile("''+|[0-9]+")
>m = p.match(word)
>
I fell back onto the old profile module, but got the following error
when trying to use zope.interface. I am now without any way to profile
my application.
Traceback (most recent call last):
File "/home/yang/local/bin/profile.py", line 611, in ?
run('execfile(%r)' % (sys.argv[0],), options.o
On Oct 15, 6:43 pm, "Radek" <[EMAIL PROTECTED]> wrote:
> Currently when using subprocess.Popen("mycommand") all output goes to
> the stdout of my launcher.
>
Hi,
the solution is:
p = subprocess.Popen(args=['command', 'arg1', 'arg2'],
stdout=subprocess.PIPE,
Michael B. Trausch wrote:
> Yep. Still does it.
I'm running PyDev 1.2.4 without completion problem so far.
Are you up to date ?
Maybe you should install the latest from scratch.
--
http://mail.python.org/mailman/listinfo/python-list
Yang a écrit :
> Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
> several packages I depend on. I'm using Python 2.4.3.
>
> I'm getting an AssertionError on "assert not self._stack" when calling
> hotshot.stats.load() on my app's hotshot profile. The app consistently
> causes hot
DataSmash wrote:
> Hello,
> I need to search and replace 4 words in a text file.
> Below is my attempt at it, but this code appends
> a copy of the text file within itself 4 times.
> Can someone help me out.
> Thanks!
>
> # Search & Replace
> file = open("text.txt", "r")
> text = file.read()
> file
Joel Hedlund schrieb:
> Hi!
>
> For a number of days I haven't been able to search the online python
> docs at:
>
> http://starship.python.net/crew/theller/pyhelp.cgi
>
> that is the "search the docs with" link at this page:
>
> http://www.python.org/doc/
>
> Instead of the search engine, I g
Hello Guys,
I am a beginner with Python programming and would like to implement
some GUI functionalities along with my main work. So I was trying to
implement one basic program (available from books).
Here is the code,
import Tkinter
TopLevelWindowObj = Tkinter.Tk()
"mohan" wrote:
> At the end I had to close down my entire python compiler. I am using
> Python compiler with following specs in Windows XP OS.
>
> Pythonwin - Python IDE and GUI Framework for Windows.
> PythonWin 2.2.1 (#34, Feb 25 2003, 11:29:09) [MSC 32 bit (Intel)] on
> win32.
> Portions Copyri
On 2006-10-26, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Wed, 25 Oct 2006 19:19:59 +, John Salerno wrote:
>
>> Oh!!! I get it now! I was thinking that
>>
>> if s
>>
>> was the same as
>>
>> if s == True
>
> No. But you know that now :)
>
>> because I know sometimes you can write if sta
pydb (http://bashdb.sf.net/pydb) has a both the ability to trace lines
as they are executed as well as an --output option to have this sent
to a file rather than stdout. If your program has threads it would be
good to use the --threading option. (The best threading support is if
your program uses t
On 2006-10-26, Donn Cave <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Steve Holden <[EMAIL PROTECTED]> wrote:
> ...
>> Maybe so, but that "rule" (and let's not forget that the zen is not
>> actually a set of prescriptive rules but rather guidelines for the
>> informed) is immed
I wrote a matplotlib Boa constructor plug-in. It is very easy to add it into
a wxframe, sizers etc in Boa constructor.
If you are interested in the plugin, pls. send e-mail to [EMAIL PROTECTED]
Igor Khromushin
[EMAIL PROTECTED] wrote:
>
> I am trying to embed images into a wxPython app (cre
Antoon Pardon wrote:
> The latter will treat None and False the same as [], () and {},
> which in most of my code is not what I want.
since you never publish any code, what you do in your code is not very
interesting to anyone.
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-10-26, Steve Holden <[EMAIL PROTECTED]> wrote:
> John Coleman wrote:
>> As far as using non-booleans as conditions - I just think that if you
>> want a certain block of code to be executed only if, for example, a
>> list is non-empty, why not *say* so? I think "if my_list != []:" just
>> r
Bruno Desthuilliers wrote:
> robert a écrit :
> (snip)
>> class MemoCache(dict): # cache expensive Objects during a session
>> (memory only)
>>def memo(self, k, f):
>>try: return self[k]
>>except KeyError:#<- was error
>>return self.setdefault(k
On 2006-10-27, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
>
>> The latter will treat None and False the same as [], () and {},
>> which in most of my code is not what I want.
>
> since you never publish any code,
This is not True. You shouldn't confuse your lack of recollectio
> It works now again.
You are now officially my hero.
> Note that you can also download the module and use it locally.
Cool. I'll do that!
Thanks!
/Joel
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I have discovered that in my Python 2.4.1 installation (on Solaris 8),
struct.pack handles things in a way that seems inconsistent to me.
I haven't found any comprehensible documentation over known issues with
Python 2.4.1 so I try this...
Here's the thing:
>>> from struct import pac
Antoon Pardon wrote:
>> since you never publish any code,
>
> This is not True. You shouldn't confuse your lack of recollection
> with reality.
pointers, please.
--
http://mail.python.org/mailman/listinfo/python-list
myfile_content is an object and you have only opened the file. Python
doesn't yet know whether you want to read it, copy it etc.
to read it try
text = myfile_content.readlines()
print text
this should be in most tutorials
Wijaya Edward wrote:
> Hi,
>
> How can we slurp content of a single fil
"Jansson Christer" wrote:
> I have discovered that in my Python 2.4.1 installation (on Solaris 8),
> struct.pack handles things in a way that seems inconsistent to me.
>
> I haven't found any comprehensible documentation over known issues with
> Python 2.4.1 so I try this...
>
> Here's the thing:
On 2006-10-27, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
>
>>> since you never publish any code,
>>
>> This is not True. You shouldn't confuse your lack of recollection
>> with reality.
>
> pointers, please.
Sorry, the answer is no. I don't care whether you can locate my code
I saw the following code, but I don't understand the rule for virtual function that appears in two basesCould anyone explain it for me, thanks.class Base1: def amethod(self): print "Base1"
class Base2(Base1): passclass Base3: def amethod(self): print "Base3"class Derived(Base2,
Antoon Pardon wrote:
> On 2006-10-27, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
>>Antoon Pardon wrote:
>>
>>
since you never publish any code,
>>>
>>>This is not True. You shouldn't confuse your lack of recollection
>>>with reality.
>>
>>pointers, please.
>
>
> Sorry, the answer is no. I do
Fredrik Lundh wrote:
> "Jansson Christer" wrote:
>
>
>>I have discovered that in my Python 2.4.1 installation (on Solaris 8),
>>struct.pack handles things in a way that seems inconsistent to me.
>>
>>I haven't found any comprehensible documentation over known issues with
>>Python 2.4.1 so I try t
Antoon Pardon wrote:
> On 2006-10-27, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
>>Antoon Pardon wrote:
>>
>>
since you never publish any code,
>>>
>>>This is not True. You shouldn't confuse your lack of recollection
>>>with reality.
>>
>>pointers, please.
>
>
> Sorry, the answer is no. I do
robert wrote:
> Bruno Desthuilliers wrote:
>> robert a écrit :
>> (snip)
>>> class MemoCache(dict): # cache expensive Objects during a session
>>> (memory only)
>>>def memo(self, k, f):
>>>try: return self[k]
>>>except KeyError:#<- was error
>>> re
Jean-Paul Calderone wrote:
>
> In order of importance:
>
> 1) Write unit tests for your code. Keep writing unit tests until you have
> some that _don't pass_. Then fix your code so that they do. When you do
> further development, write the tests first, then implement the code that
> makes them
Hi,
I am just testing pygtk/glade out and wonder, if I am able
to change the keybindings. E.g. the treeview searches by
default for the entries beginning with the typed keystroke;
moving to the next row works as usual with the Down key. Now
I would like to change the key bindings to e.g. 'j' to mo
Hi,
how to set source ip-address when do __socket.connect((host, port))
on a machine that have a several ip-adresses?
many thanks for advice.
__socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
__socket.connect((host, port))
--
Maksim Kasimov
--
http://mail.python.org/mailman/listin
Ben Finney wrote:
> Jean-Paul Calderone <[EMAIL PROTECTED]> writes:
>
>> 1) Write unit tests for your code. Keep writing unit tests until
>> you have some that _don't pass_. Then fix your code so that they
>> do. When you do further development, write the tests first, then
>> implement the code
Fredrik Lundh wrote:
> cygwin?
I thought so too, but cygwin would use #!/cygdrive/c/..., IIRC.
> exemaker? some kind of web server?
Okay, didn't know that :)
Regards,
Björn
--
BOFH excuse #22:
monitor resolution too high
--
http://mail.python.org/mailman/listinfo/python-list
trevor lock wrote:
> Hello,
>
> I've just started using python and have observed the following :
>
> class foo:
> a=[]
> def __init__(self, val):
> self.a.append ( val )
> def getA(self):
> print self.a
> return self.a
>
> z = foo(5)
> y = foo(4)
>
[EMAIL PROTECTED] PyQt-x11-gpl-3.16]# python configure.py -q
/usr/lib/qt-3.3/
This is the GPL version of PyQt 3.16 (licensed under the GNU General
Public
License) for Python 2.4.2 on linux2.
Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms
Stephan Kuhagen wrote:
> "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote:
>
>> Basically, is there something that will log every line of Python code
>> executed, in its order of execution, to a text file so that I can see
>> what is (or isn't) happening that I am expecting?
>
> Python
Back in April, I posted a copy of the Python FAQ over at infogami.com,
to collect comments and new FAQ entries for python.org.
Since infogami.com development has ceased, and the server's been hit
by spam lately, I've decided to move the material over to a hopefully
more reliable site:
http://
Bjoern Schliessmann wrote:
> Fredrik Lundh wrote:
>
>
>>cygwin?
>
>
> I thought so too, but cygwin would use #!/cygdrive/c/..., IIRC.
>
Cygwin is actually pretty liberal about paths, and will often take a
Winwos-style path (unlike the snotty cmd.exe program that insists on
treating forard sl
On Fri, 27 Oct 2006 09:16:57 +, Antoon Pardon wrote:
>> I think it is a good time to remind people of some extremely well-thought
>> out opposition to the introduction of bools to Python from Laura Creighton:
>>
>> http://mail.python.org/pipermail/python-list/2002-April/095878.html
>>
>> She l
olive wrote:
> Michael B. Trausch wrote:
>
>> Yep. Still does it.
>
> I'm running PyDev 1.2.4 without completion problem so far.
>
> Are you up to date ?
>
> Maybe you should install the latest from scratch.
>
Yep, I am up to date. As I said, I am totally confused.
-- Mike
--
http
"Wijaya Edward" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi all,
>
> I was trying to split a string that
> represent chinese characters below:
>
>
str = '\xc5\xeb\xc7\xd5\xbc'
print str2,
> ???
fields2 = split(r'\\',str)
print fields2,
> ['\xc5\xeb\xc7\xd
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> myfile_content is an object and you have only opened the file. Python
> doesn't yet know whether you want to read it, copy it etc.
>
> to read it try
>
> text = myfile_content.readlines()
> print text
>
> this should be in most tutoria
Travis E. Oliphant wrote:
> We are very pleased to announce the release of NumPy 1.0 available for
> download at http://www.numpy.org
Congratulations to you and the other NumPy developers for completing
this major undertaking. I would also like to express my sincere
gratitude for making this mak
"Wijaya Edward" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
> How can we slurp all content of a single file
> into one variable?
>
Please don't double-post your questions. Now you have two threads running
with people answering the same question.
-- Paul
--
http://m
olive wrote:
> > Michael B. Trausch wrote:
> >
>
>> >> Yep. Still does it.
>>
> >
> > I'm running PyDev 1.2.4 without completion problem so far.
> >
> > Are you up to date ?
> >
> > Maybe you should install the latest from scratch.
> >
>
>
>Yep, I am up to date. As I said, I am t
Original Message
Subject: Using cElementTree and elementtree.ElementInclude
Date: Mon, 23 Oct 2006 09:40:24 -0500
From: Mark E. Smith <[EMAIL PROTECTED]>
Organization: AEDC
To: python-list@python.org
> cElementTree cannot hold ElementTree instances.
>
> can you post a small but
I removed my previous post about this topic because I apparently have
pasted the wrong code. Sorry for the confusion and thanks for being
patient.
I am having problem to kill the following script completely. The script
basically does the following. The main thread creates a new thread,
which does
***
Your mail has been scanned by InterScan MSS.
***
On Thursday 26 October 2006 02:56, John Salerno wrote:
> >>> s = 'hello'
> >>> s == True
> False
> >>> if s:
> print 'hi'
>
this isn't only a python behavior.
the "if" test is valid for all no
***
Your mail has been scanned by InterScan MSS.
***
On Thursday 26 October 2006 16:43, Wijaya Edward wrote:
> How can we print out the hidden character like
> "\n", "\r" etc in Python?
If it's meant to evidentiate then you should scan each byte an print i
***
Your mail has been scanned by InterScan MSS.
***
HI,
I've a small doubt regarding the way to save a configuration file on the file
manipulated by ConfigParser.
As far as I could understand this:
cp = ConfigParser.ConfigParser
cp.set(section,option)
On Fri, 27 Oct 2006 12:54:35 +0100, Steve Holden wrote:
> Antoon Pardon wrote:
>> On 2006-10-27, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>>
>>>Antoon Pardon wrote:
>>>
>>>
>since you never publish any code,
This is not True. You shouldn't confuse your lack of recollection
with r
Tim Roberts wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>> Suppose I have a dos format text file. The following python code will
>> print ^M at the end. I'm wondering how to print it in unix format.
>>
>> fh = open(options.filename)
>> for line in fh.readlines()
>> print line,
>
> Are
Bernard Lebel wrote:
> Hi,
>
> That's because I'm using Python through another application, via the
> pywin32 extensions. When that other application starts, it performs
> several thousands of file requests (we're talking 4,500, roughly) in
> the Python installation, locations where there are Pyth
Bruno Desthuilliers wrote:
> robert wrote:
>> Bruno Desthuilliers wrote:
>>> robert a écrit :
>>> (snip)
class MemoCache(dict): # cache expensive Objects during a session
(memory only)
def memo(self, k, f):
try: return self[k]
except KeyError:#<
I created a simple test case showing the zope.interface problem. Just
pass the following file to profile.py (i.e. the 'profile' module in
your Python standard library, run as a standalone app). The culprit
*seems* to be Twisted. Any ideas? Thanks in advance.
#!/usr/bin/env python
"""
error i get:
Test
--
http://mail.python.org/mailman/listinfo/python-list
Really appreciate all the all the different answers and learning tips!
--
http://mail.python.org/mailman/listinfo/python-list
Yang> Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
Yang> several packages I depend on. I'm using Python 2.4.3.
Not a direct answer to your question, but the cProfile module runs just fine
under 2.4.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
***
Your mail has been scanned by InterScan MSS.
***
On Friday 27 October 2006 17:31, R. Bernstein wrote:
> pydb (http://bashdb.sf.net/pydb) has a both the ability to trace lines
I faced several time that pydb stuck without sign of errors. In the other han
Hi Robin,
You may want to use a spell checker for announcements and for the
wxpython.org website. For example, the first paragraph of your
announcement contains the words "plust" and "pacakges", and the word
"pacakge" can also be found on the following pages:
www.wxpython.org/download.php
www.wxp
On 27-Oct-06, at 2:25 AM, Leo Kislov wrote:
>
> Ivan Vinogradov wrote:
>> ...
>>
>> call("core/main") works but uses .. of core for input/output.
>>
>> call("core/main",cwd="core") and call("main",cwd="core") both
>> result in
> [snip exception]
>
> Usually current directory is not in the PATH o
In article <[EMAIL PROTECTED]>,
Ben Finney <[EMAIL PROTECTED]> wrote:
>
>Fourth, if you have decided that a magic sentinel value is called for
>but None is already taken for some other purpose, don't use a
>string. Use a unique do-nothing object, defined at the module level so
>callers can easily
Fulvio wrote:
> ***
> Your mail has been scanned by InterScan MSS.
> ***
>
>
> On Thursday 26 October 2006 16:43, Wijaya Edward wrote:
> > How can we print out the hidden character like
> > "\n", "\r" etc in Python?
>
> If it's meant to evidentiate then you
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] PyQt-x11-gpl-3.16]# python configure.py -q
> /usr/lib/qt-3.3/
> This is the GPL version of PyQt 3.16 (licensed under the GNU General
> Public
> License) for Python 2.4.2 on linux2.
[...]
> Creating features file...
> Error: Unable to build mkfeatures u
Can an argument to reference an object's attribute??
Fredrik Lundh wrote:
> steve wrote:
>
> > The example code from: http://sjbrown.ezide.com/games/example1.py.html
> > ...
> > def Notify( self, event ):
> > if not isinstance(event, TickEvent): Debug( "
> > Message: " + event.name
Fulvio schrieb:
> ***
> Your mail has been scanned by InterScan MSS.
> ***
>
>
> HI,
>
> I've a small doubt regarding the way to save a configuration file on the file
> manipulated by ConfigParser.
> As far as I could understand this:
>
> cp = ConfigPars
joe Li wrote:
> I saw the following code, but I don't understand the rule for virtual
> function that appears in two bases
> Could anyone explain it for me, thanks.
http://docs.python.org/tut/node11.html#SECTION001151
--
http://mail.python.org/mailman/listinfo/python-list
I just thought I would put my 2 cents in on this issue. Others
have suggested that unit tests are an excellent way of debugging
your code and I agree. I also find that writing code from the
outset using a logging class (there is one in the standard
library) that allows you to create log files of
Fulvio wrote:
> ***
> Your mail has been scanned by InterScan MSS.
> ***
>
>
> HI,
>
> I've a small doubt regarding the way to save a configuration file on the file
> manipulated by ConfigParser.
> As far as I could understand this:
>
> cp = ConfigParser
Méta-MCI wrote:
> Hi! (***sorry for my approximative english***)
That's ok. Quite amusing to read that you were repaired.
> A few months ago, I needed a console, under Windows.
> After several research, I selected the console of EffBot.
>
> Thank you very much, Fredrik Lundh, for this small
David Boddie wrote:
> You're forgetting that Qt isn't just a widget toolkit.
I suspect that the non-GUI parts are (just like in Wx) C++ stuff
which is more or less equivalent with things that are either Python
builtins or parts of Python's standard library. Besides, getting
those proprietary depen
On 10/26/06, Michael B. Trausch wrote:
Kenneth McDonald wrote:>> With the most recent edition of PyDev, I find Eclipse works quite well
> for me.>Since you mentioned it, I have a question that searching around andpoking around has not solved for me, yet.Do you have aut
You can test it here: http://www.sqlinform.com
--
http://mail.python.org/mailman/listinfo/python-list
robert wrote:
> Bruno Desthuilliers wrote:
>> robert wrote:
>>> Bruno Desthuilliers wrote:
robert a écrit :
(snip)
> class MemoCache(dict): # cache expensive Objects during a session
> (memory only)
>def memo(self, k, f):
>try: return self[k]
>excep
I need to embed the ability to create a Clarify Case in a python
program I have written. Unfortunately my familiarity with Clarify is
very limited at this point.
Is there a module out there that makes this process semi-painless? I
couldn't find one googling around... Has anyone implemented some
Hallo,
>>> import telnetlib
>>> l=telnetlib.Telnet('dbprod')
>>> l.interact()
telnet (dbprod)
Login:
Could anyone show how the above would be written using the twisted
framework? All I'm after is a more 'intelligent' interactive telnet
session (handles 'vi' etc..) rather than the full capabilit
Matthew Warren wrote:
> Could anyone show how the above would be written using the twisted
> framework? All I'm after is a more 'intelligent' interactive
> telnet session (handles 'vi' etc..) rather than the full
> capabilities of the twisted framework.
Not done this until now, but have a look at
steve wrote:
> Can an argument to reference an object's attribute??
sorry, cannot parse that sentence.
the arguments to a method are objects, and objects have attributes. why
do you find this surprising?
--
http://mail.python.org/mailman/listinfo/python-list
Stephan Kuhagen wrote:
> "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> wrote:
>
> > Basically, is there something that will log every line of Python code
> > executed, in its order of execution, to a text file so that I can see
> > what is (or isn't) happening that I am expecting?
>
> Python
Hi all,
I'm trying to import a class from a module. The class looks like this:
class App:
def __init__(self, master):
frame = Frame(master)
frame.pack()
self.button = Button(frame, text=text_1, command= self.comm_1)
self.button.pack(side=LEFT)
self.h
***
Your mail has been scanned by InterScan MSS.
***
On Friday 27 October 2006 06:48, Ben Finney wrote:
> There is always the option to not send messages to this list using
> that mail server
Once again sorry for that. I'll take action to switch to another
In <[EMAIL PROTECTED]>, gmarkowsky
wrote:
> Hi all,
>
> I'm trying to import a class from a module. The class looks like this:
> class App:
>
> def __init__(self, master):
>
> frame = Frame(master)
> frame.pack()
>
> self.button = Button(frame, text=text_1, command=
In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote:
>> This email is confidential and may be privileged. If you are not
>> the intended recipient please notify the sender immediately and
>> delete the email from your computer.
>
> Am I the inteded recipient? I'm not listed in the headers.
This is
In article <[EMAIL PROTECTED]>,
Antoon Pardon <[EMAIL PROTECTED]> wrote:
...
> I think you are incorrect.
Thanks! I rest my case!
> And how do I express that a number has to be greater than
> 100 into a Nothing vs Something dichotomy? Declare all
> greater numbers as Something and the rest as N
Maksim Kasimov wrote:
> Hi,
>
> how to set source ip-address when do __socket.connect((host, port))
> on a machine that have a several ip-adresses?
>
> many thanks for advice.
>
> __socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> __socket.connect((host, port))
>
>
sock.connect (
On 2006-10-27, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> But in this specific instance, I don't see any advantage to explicitly
> testing the length of a list. Antoon might think that is sufficiently
> polymorphic, but it isn't. He cares whether the object has zero _length_,
> but for true poly
Hi,
Though I posted about this article earlier, reposting it with a more
appropriate title, to make it easier for searches.
"Using xtopdf, a PDF creation toolkit"
URL: http://www.packtpub.com/article/Using_xtopdf
This is an article by me, written for Packt Publishing, about how to
use my xtopdf
Fredrik Lundh wrote:
> If you have some time to spare, why not drop by, pick some random
> article, and let us know how it can be improved:
>
> http://effbot.org/random/pyfaq
How do we log in to make changes?
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-10-27, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Fri, 27 Oct 2006 09:16:57 +, Antoon Pardon wrote:
>
>>> I think it is a good time to remind people of some extremely well-thought
>>> out opposition to the introduction of bools to Python from Laura Creighton:
>>>
>>> http://mail.py
On 2006-10-27, Irmen de Jong <[EMAIL PROTECTED]> wrote:
>> how to set source ip-address when do __socket.connect((host, port))
>> on a machine that have a several ip-adresses?
>>
>> __socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>> __socket.connect((host, port))
>
> sock.connect ( (
Steven D'Aprano wrote:
> But in this specific instance, I don't see any advantage to explicitly
> testing the length of a list. Antoon might think that is sufficiently
> polymorphic, but it isn't. He cares whether the object has zero _length_,
> but for true polymorphism, he should be caring about
On 2006-10-27, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2006-10-27, Irmen de Jong <[EMAIL PROTECTED]> wrote:
>
>>> how to set source ip-address when do __socket.connect((host, port))
>>> on a machine that have a several ip-adresses?
>>>
>>> __socket = socket.socket(socket.AF_INET, socket.SOCK
Friend,
I'm always looking for good and intelligent individuals like you to
visit my website, www.ChezBrandon.com , and it has pictures of
beautiful women, information about aged clones, and a link to Ultimate
Fighting Championship, a very good show.
My name is Brandon, and I'm in my 20s, am a co
On Fri, 27 Oct 2006 16:40:44 +0100, Matthew Warren <[EMAIL PROTECTED]> wrote:
>Hallo,
>
import telnetlib
l=telnetlib.Telnet('dbprod')
l.interact()
>telnet (dbprod)
>
>Login:
>
>
>Could anyone show how the above would be written using the twisted
>framework? All I'm after is a more 'i
On 2006-10-27, Donn Cave <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Antoon Pardon <[EMAIL PROTECTED]> wrote:
> ...
>> I think you are incorrect.
>
> Thanks! I rest my case!
>
>> And how do I express that a number has to be greater than
>> 100 into a Nothing vs Something dichot
Fulvio <[EMAIL PROTECTED]> writes:
> ***
> Your mail has been scanned by InterScan MSS.
> ***
Delighted to know that.
>
> On Friday 27 October 2006 17:31, R. Bernstein wrote:
> > pydb (http://bashdb.sf.net/pydb) has a both the ability to trace lines
>
> I
thank you all for your replies
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 142 matches
Mail list logo