In <[EMAIL PROTECTED]>, Russell E. Owen
wrote:
> Some problems are intrinsic to UML (for instance it has no concept of
> linking use case information to other elements). And I don't know of any
> way to model functions (only classes).
Just model modules as classes and functions as static method
Beliavsky wrote:
> On Apr 27, 6:17 pm, Stef Mientki <[EMAIL PROTECTED]>
> wrote:
>> Portable SciPy, is an easy installer of SciPy for M$ windows users.
>
> If you have an announcement for Windows users, I suggest that you not
> needlessly turn them off by abbreviating Microsoft as M$ . You don't
>
Joshua J. Kugler ha escrito:
> On Thursday 26 April 2007 14:07, Gabriel Genellina wrote:
>
> > En Thu, 26 Apr 2007 15:54:38 -0300, Joshua J. Kugler
> > <[EMAIL PROTECTED]> escribió:
> >> CPython only
> >> uses one
> >> CPU core right now because it's threads are all internal, and do not
> >> spaw
hi John,
>>> In the previous language I used,
>>> when reading a line by readline, the EOL character was removed.
>
> Very interesting; how did you distinguish between EOF and an empty line?
> Did you need to call an isEOF() method before each read?
Yes indeed, and I admit it needs some more cod
On Fri, 27 Apr 2007 16:07:57 -0700, castironpi wrote:
> That's what we need: a CopyMemory() routine.
What we _really_ need are Poke() and Peek() routines.
--
Steven.
--
http://mail.python.org/mailman/listinfo/python-list
alisonken1 wrote:
[if __name__ == "__main__"]
> These are samples to give the programmer an idea of how the code
> is supposed to work.
No, this belongs into comments or docs. The contents of this block
are often used for testing or debugging, or for normally executable
code if it makes sense to
On Sat, 28 Apr 2007 06:57:54 +, Dennis Lee Bieber wrote:
> On Fri, 27 Apr 2007 22:39:25 +0200, Bjoern Schliessmann
> <[EMAIL PROTECTED]> declaimed the following
> in comp.lang.python:
>
>> Dennis Lee Bieber wrote:
>>
>> > And I'll probably ignore those expressions whenever I do get
>> > arou
Dennis Lee Bieber wrote:
> You didn't take account of what b, c, and d were...
>
> RPL: if else end
> Python:if else
>
> (RPL is a somewhat common reference to the stack based language of
> the later calculators -- HP48, for instance)
I still don't see the "more se
[EMAIL PROTECTED] skrev:
> Hello,
>
> what is the simplest way to upload a file (or a long string) to a
> server using cgi/python?
>
> Since I want to upload the data programmatically, a form based
> solution is not good. I am not experienced with SOAP/WSDL and I
> believe that would be more diff
John Machin wrote:
> On 27/04/2007 11:19 PM, Michael Hoffman wrote:
>> stef wrote:
>>> hello,
>>>
>>> In the previous language I used,
>>> when reading a line by readline, the EOL character was removed.
>
> Very interesting; how did you distinguish between EOF and an empty line?
> Did you need to
In article <[EMAIL PROTECTED]>,
John Nagle <[EMAIL PROTECTED]> wrote:
>
>(P.S. PEP 3117 is a joke, right?)
I expect so, especially given its creation date.
Gary Duzan
Motorola CHS
--
http://mail.python.org/mail
On Sat, 28 Apr 2007 10:58:25 +0200, Bjoern Schliessmann wrote:
> Dennis Lee Bieber wrote:
>
>> You didn't take account of what b, c, and d were...
>>
>> RPL: if else end
>> Python:if else
>>
>> (RPL is a somewhat common reference to the stack based language of
>> t
Actually the class ping bit is a placeholder. I'm actually developing
a module with python implementations of most standard network/internet
tools such as telnet, tracert, whois etc. It will be called inettools,
and the ping function is what I'm working on first. It should be a
simple enough job to
On Apr 28, 7:25 pm, Michael Hoffman <[EMAIL PROTECTED]> wrote:
> John Machin wrote:
> > On 27/04/2007 11:19 PM, Michael Hoffman wrote:
> >> stef wrote:
> >>> hello,
>
> >>> In the previous language I used,
> >>> when reading a line by readline, the EOL character was removed.
>
> > Very interesting;
On Apr 27, 9:40 pm, Robert Kern <[EMAIL PROTECTED]> wrote:
> wx.Point objects are being recognized as sequences by array(). Consequently,
> reshape() thinks you are trying to reshape a (height*width, 2) array into a
> (height, width) array. You might want to create an empty (height, width)
> PyObj
In <[EMAIL PROTECTED]>, Linus Cohen
wrote:
> Actually the class ping bit is a placeholder. I'm actually developing
> a module with python implementations of most standard network/internet
> tools such as telnet, tracert, whois etc. It will be called inettools,
> and the ping function is what I'm w
Goodday,
Something strange going on here.
A piece of code I wrote bombs out in one of de directories under $HOME,
but not in others.
Here's a snipped:
#v+
def bin2asc(c):
s=''
for i in range(0,8):
if c & 1<<(7-i):
s+='1'
else:
s+='0'
return 'b'+s
def
On Friday 27 April 2007 23:48, Bruno Desthuilliers wrote:
> Anastasios Hatzis a écrit :
> > Hello,
> >
> > I'm working on the light-weight MDA tool pyswarm,
> > http://pyswarm.sourceforge.net/ (it is about a code-generator for
> > Python/PostgreSQL-based software. I plan to add support of UML CASE
On Saturday 28 April 2007 00:26, Russell E. Owen wrote:
> In article <[EMAIL PROTECTED]>,
>
> Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> > Anastasios Hatzis a écrit :
> > > Hello,
> > >
> > > I'm working on the light-weight MDA tool pyswarm,
> > > http://pyswarm.sourceforge.net/ (it is about
Newbie question:
Why is 1 == True and 2 == True (even though 1 != 2),
but 'x' != True (even though if 'x': works)?
--
http://mail.python.org/mailman/listinfo/python-list
Szabolcs wrote:
> Why is 1 == True and 2 == True (even though 1 != 2),
Not what I get.
Python 2.5 (r25:51908, Mar 13 2007, 08:13:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 2 == True
False
--
Szabolcs wrote:
> Newbie question:
>
> Why is 1 == True and 2 == True (even though 1 != 2),
> but 'x' != True (even though if 'x': works)?
Please check before you post:
[E:\Projects]python
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copy
On Sat, 28 Apr 2007 14:33:23 +0200, Szabolcs wrote:
> Newbie question:
>
> Why is 1 == True and 2 == True (even though 1 != 2),
> but 'x' != True (even though if 'x': works)?
Everything in Python has a truth-value. So you can always do this:
if some_object:
print "if clause is true"
else:
On Apr 28, 9:50 pm, "Theo v. Werkhoven" <[EMAIL PROTECTED]
werkhoven.nl.invalid> wrote:
> Goodday,
>
> Something strange going on here.
> A piece of code I wrote bombs out in one of de directories under $HOME,
> but not in others.
[snip]
> def shiftout(numoctets):
> os.system('clear')
> ser
Steven D'Aprano wrote:
>
1 == True
> True
0 == False
> True
2 == True
> False
Oh my goodness! Now I also get 2 != True. I really don't know what
happened. Most probably this (as a result of mistyping):
>
True = 2 # DON'T DO THIS!!!
2 == True
> True
>
But shouldn't P
Hi everyone!
Im using module that gives errors to stderr/stdout (generated by SWIG)
Problem is that I need to parse this errors/information from module.
os.popen3 looks nice but this executes command not function.
Is there any solution?
Best regards
Bart.
--
http://mail.python.org/mailman
Hi
I dont have idea how to write tkinter undo/redo function form my text editor
and
my paint program.
Could someone help? I'm not asking for code, just for some guidelines to get me
in the right way.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 27, 3:13 pm, [EMAIL PROTECTED] wrote:
> On Apr 27, 7:31 am, Soren <[EMAIL PROTECTED]> wrote:
>
> > Hi!
>
> > Is it possible to do multiple file selections in a wx.GenericDirCtrl??
>
> > Thanks,
> > Soren
>
> I'm not finding anything. I do know you can select multiple files
> using the FileDi
Sebastian Bassi wrote:
> On 26 Apr 2007 14:48:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> In order to work around this problem, I started printing empty strings
>> (i.e. print "") so that the browser does not timeout.
>
> How do you print something while doing the query and waiting f
On Sat, 2007-04-28 at 13:50 +0200, Theo v. Werkhoven wrote:
> Goodday,
>
> Something strange going on here.
> A piece of code I wrote bombs out in one of de directories under $HOME,
> but not in others.
This usually means that the directory where your script doesn't work
contains some .py file th
[EMAIL PROTECTED] wrote:
> On Apr 24, 2:09 pm, Quadibloc <[EMAIL PROTECTED]> wrote:
> > I never thought that I would feel the urge to call someone an
> > edelweiss-eating Tanzanian devil, but Dr. Polya proved that I lacked
> > imagination.
.
> The effect is - in fact - more severely damaged by you
Steve Holden wrote:
> Sebastian Bassi wrote:
>> On 26 Apr 2007 14:48:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>> In order to work around this problem, I started printing empty strings
>>> (i.e. print "") so that the browser does not timeout.
>> How do you print something while doing
EuGeNe Van den Bulke wrote:
> Steve Holden wrote:
> > So by this reasoning there should have been no "Python UK" conference
>> for the last four years (in case you didn't know it ran as a track of
>> the C/C++ conference, but ths track has now broadened to include all
>> scripting languages). A
Antoon Pardon wrote:
> On 2007-04-26, Steve Holden <[EMAIL PROTECTED]> wrote:
[...]
>
>> Warning: this is an explicit test to see whether you can sit on your
>> hands and refrain from replying. It's hard to find a thread where you
>> don't make the last comment on every branch you get involved i
John Nagle wrote:
>I thought I had all the timeout problems with urllib worked around,
> but no.
>
>socket.setdefaulttimeout is useful, but not always effective.
> I'm setting that to 15 seconds.
> If the host end won't open the connection within 15 seconds,
> urllib times out. But if the
Gregory Bloom wrote:
> On Apr 27, 3:12 am, Michael Hoffman <[EMAIL PROTECTED]> wrote:
>>> And, more to the point, how can I use webbrowser from scripts launched under
>> > cygwin?
>>
>> If you're using native Windows Python as you seem to be, try
>> webbrowser.get("windows-default").open_new(url)
Ian Clark wrote:
> Quote iogilvy:
>> i wish to have some extended functionality added to sockets
>>
>> i can create my own socket class class mysocket(socket.socket):
>>
>> and all should be fine. Except, the sockets are created for me by the
>> accept method, listening on port. So how can i take
Hi!
On my work we have a lot off diffrent server to make software for
diffrent os
from Windows, OS/X to Linux Solaris
Everyting is scripted with shell, but Windows has batchfiles witch is
very
limited, compared to cshell etc.
So my boss has told me that it okej if i want to make somting better
o
On 25 abr, 21:33, "Bill Habr" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > Cal Tech is the ELITE of ELITE in physics.
>
> > If Feynman were alive, he would point his finger straight at the 911
> > criminal operators, the yank bastards themselves
On 25 abr, 21:33, "Bill Habr" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > Cal Tech is the ELITE of ELITE in physics.
>
> > If Feynman were alive, he would point his finger straight at the 911
> > criminal operators, the yank bastards themselves
http://ugotquestions.blogspot.com/ - Find out anything !
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 28, 8:44 am, War Office <[EMAIL PROTECTED]> wrote:
> On 25 abr, 21:33, "Bill Habr" <[EMAIL PROTECTED]> wrote:
>
>
>
> > <[EMAIL PROTECTED]> wrote in message
>
> >news:[EMAIL PROTECTED]
>
> > > Cal Tech is the ELITE of ELITE in physics.
>
> > > If Feynman were alive, he would point his finger
On Apr 28, 6:37 am, Bart <[EMAIL PROTECTED]> wrote:
> Hi everyone!
>
> Im using module that gives errors to stderr/stdout (generated by SWIG)
> Problem is that I need to parse this errors/information from module.
>
> os.popen3 looks nice but this executes command not function.
>
> Is there any
On 28 Apr 2007 09:35:59 -0700, War Office <[EMAIL PROTECTED]>
wrote:
>(God's law whom gave you
>and God's children whom's mass murder in Iraq you have allowed)?
Hi Dennis!
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
> Cal Tech is the ELITE of ELITE in physics.
"INN World Report interviewed Dr. Crockett Grabbe - professor of
physics at the University of Iowa - regarding his thoughts on the
'collapses' of WTC1, WTC2, & WTC7. In this interview he lists numerous
reason
Eric Gisse wrote:
>
> On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
> > Cal Tech is the ELITE of ELITE in physics.
>
> "INN World Report interviewed Dr. Crockett Grabbe - professor of
> physics at the University of Iowa - regarding his thoughts on the
> 'collapses' of WTC1, WTC2, & WTC7. In this i
On Apr 28, 7:37 am, Bart <[EMAIL PROTECTED]> wrote:
> Hi everyone!
>
> Im using module that gives errors to stderr/stdout (generated by SWIG)
> Problem is that I need to parse this errors/information from module.
>
> os.popen3 looks nice but this executes command not function.
>
> Is there any
> p = subprocess.Popen(["python", "6test.py"],
> stdout=subprocess.PIPE,
> stderr=subprocess.PIPE)
The file name is wrong there; it should be:
p = subprocess.Popen(["python", "moduleA.py"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
--
On Sat, 28 Apr 2007 15:36:19 +0200, Szabolcs wrote:
> True = 2 # DON'T DO THIS!!!
> 2 == True
>> True
>>
>
> But shouldn't Python forbid this? Is it possible to get a warning when
> unintentionally redefining built-in thing?
Python forbids very few things in comparison to other langua
On Apr 27, 10:54 pm, Linus Cohen <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm a newbie to python and programming in general, so I wanted a
> simple project to start off. What I'm trying to do here is write a
> python command-line ping program, much like the Unix and Windows ping
> programs. I've got
Steven W. Orr wrote:
> On Friday, Apr 27th 2007 at 14:07 -0700, quoth James Stroud:
>
> =>Steven W. Orr wrote:
> =>> I have two seperate modules doing factory stuff which each have the
> =>> similar function2:
> =>>
> =>> In the ds101 module, def DS101CLASS(mname,data):
> =>> cname = mname+'
On Apr 28, 9:30 am, "Michael A. Terrell" <[EMAIL PROTECTED]>
wrote:
> Eric Gisse wrote:
>
> > On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
> > > Cal Tech is the ELITE of ELITE in physics.
>
> > "INN World Report interviewed Dr. Crockett Grabbe - professor of
> > physics at the University of Iowa -
Hello,
I've written a small pyqt4 code, which on running on an ubuntu 6.10
system gives me the foll error:
$ python2.4 updLbl.py
Traceback (most recent call last):
File "updLbl.py", line 1, in ?
import PyQt4.Qt as qt
File "/usr/lib/python2.4/site-packages/PyQt4/Qt.py", line 4, in ?
from
Steve Holden wrote:
> John Nagle wrote:
>> Then we'd have a reasonable network timeout system.
>> We have about half of the above now, but it's not consistent.
>>
>> Comments?
>>
> The only comments I'll make for now are
>
> 1) There is work afoot to build timeout arguments into network libraries
Szabolcs <[EMAIL PROTECTED]> wrote:
...
> True = 2 # DON'T DO THIS!!!
> 2 == True
> > True
>
> But shouldn't Python forbid this? Is it possible to get a warning when
> unintentionally redefining built-in thing?
Python can be changed to make some non-reserved builtin identifiers into
[EMAIL PROTECTED] wrote:
> Hello,
>
> what is the simplest way to upload a file (or a long string) to a
> server using cgi/python?
>
> Since I want to upload the data programmatically, a form based
> solution is not good. I am not experienced with SOAP/WSDL and I
> believe that would be more diff
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Fri, 27 Apr 2007 16:07:57 -0700, castironpi wrote:
>
> > That's what we need: a CopyMemory() routine.
>
> What we _really_ need are Poke() and Peek() routines.
You can easily write them with ctypes (it's part of the standard library
now, too) -- a
Steven D'Aprano wrote:
> On Sat, 28 Apr 2007 15:36:19 +0200, Szabolcs wrote:
>
>
>>True = 2 # DON'T DO THIS!!!
>>2 == True
>>>
>>>True
>>>
>>
>>But shouldn't Python forbid this? Is it possible to get a warning when
>>unintentionally redefining built-in thing?
>
>
> Python forbids very
Hi,
I have a function in my python like this:
def callFunc(line, no):
# some code
And I want to do a performance test like this:
for line in f:
for i in range(int(count)):
t1 = timeit.Timer("callFunc(line, i)","from __main__
import callFunc")
r1 = t1.timeit(
I want to keep track of the number of different exception happens in
my python program:
ErrorHash = {}
try:
# come code ...
except Exception, e:
print e
errcode = e
if (ErrorHash.has_key(errcode)):
ErrorFailNo = ErrorHash[errcode]
Are relative imports broken in 2.5?
Directory ``temp`` contains::
__init__.py
test1.py
test2.py
File contents:
__init__.py and test2.py are empty
test1.py contains a single line::
from . import test2
Python 2.5.1 under Win2000, cmd line execution,
produces as out
The carbonbased lifeform John Machin inspired comp.lang.python with:
> On Apr 28, 9:50 pm, "Theo v. Werkhoven" <[EMAIL PROTECTED]
> werkhoven.nl.invalid> wrote:
>> Goodday,
>>
>> strg = array("B",octarray).tostring()
>
> The above statement appears to be where the error manifests itself
The carbonbased lifeform Carsten Haese inspired comp.lang.python with:
> On Sat, 2007-04-28 at 13:50 +0200, Theo v. Werkhoven wrote:
>> Goodday,
>>
>> Something strange going on here.
>> A piece of code I wrote bombs out in one of de directories under $HOME,
>> but not in others.
>
> This usually
On 4/28/07 9:44 AM, in article
[EMAIL PROTECTED], "War Office"
<[EMAIL PROTECTED]> wrote:
> Why can't any of you just discuss the fact that free-fall collapse of
> this building contradicts the laws of physics?
>
> Why do you all have to avoid the topic and rather go on a character
> assassinatio
On 28 abr, 13:56, Eric Gisse <[EMAIL PROTECTED]> wrote:
> On Apr 28, 8:44 am, War Office <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 25 abr, 21:33, "Bill Habr" <[EMAIL PROTECTED]> wrote:
>
> > > <[EMAIL PROTECTED]> wrote in message
>
> > >news:[EMAIL PROTECTED]
>
> > > > Cal Tech is the ELITE of ELITE
On 28 abr, 14:15, Eric Gisse <[EMAIL PROTECTED]> wrote:
> On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
>
> > Cal Tech is the ELITE of ELITE in physics.
>
> "INN World Report interviewed Dr. Crockett Grabbe - professor of
> physics at the University of Iowa - regarding his thoughts on the
> 'collaps
On 28 abr, 16:06, Salmon Egg <[EMAIL PROTECTED]> wrote:
> On 4/28/07 9:44 AM, in article
> [EMAIL PROTECTED], "War Office"
>
> <[EMAIL PROTECTED]> wrote:
> > Why can't any of you just discuss the fact that free-fall collapse of
> > this building contradicts the laws of physics?
>
> > Why do you all
On 28 abr, 14:30, "Michael A. Terrell" <[EMAIL PROTECTED]>
wrote:
> Eric Gisse wrote:
>
> > On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
> > > Cal Tech is the ELITE of ELITE in physics.
>
> > "INN World Report interviewed Dr. Crockett Grabbe - professor of
> > physics at the University of Iowa - re
On 28 abr, 14:30, "Michael A. Terrell" <[EMAIL PROTECTED]>
wrote:
> Eric Gisse wrote:
>
> > On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
> > > Cal Tech is the ELITE of ELITE in physics.
>
> > "INN World Report interviewed Dr. Crockett Grabbe - professor of
> > physics at the University of Iowa - re
En Sat, 28 Apr 2007 13:58:59 -0300, <[EMAIL PROTECTED]> escribió:
> On Apr 28, 6:37 am, Bart <[EMAIL PROTECTED]> wrote:
>> Im using module that gives errors to stderr/stdout (generated by SWIG)
>> Problem is that I need to parse this errors/information from module.
>> os.popen3 looks nice but thi
I'm really annoyed at Python - and not for the reasons already
mentioned on this list.
Everyone know that programming is supposed to be a dark art, nearly
impossible to learn. Computer code is supposed to be something
impossible to read to the common person and yet reveal their secrets
to the ini
[EMAIL PROTECTED] wrote:
> I want to keep track of the number of different exception happens in
> my python program:
>
> ErrorHash = {}
>
> try:
>
> # come code ...
>
> except Exception, e:
> print e
> errcode = e
>
> if (ErrorHash.has_key(errcode)):
>
[EMAIL PROTECTED] wrote:
> I want to keep track of the number of different exception happens in
> my python program:
>
> ErrorHash = {}
>
> try:
>
> # come code ...
>
> except Exception, e:
> print e
> errcode = e
>
> if (ErrorHash.has_key(errcode)):
>
> Programming should be more difficult than this - otherwise, how can
> programmers be respected by the common folks?
the answer is very simple (even more simple than Python ;-) ...
... create what common folks ask for !!
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-li
On 24 avr, 23:53, Neil Hodgson <[EMAIL PROTECTED]> wrote:
> vmlwrote:
> > I have a COM object.
>
> > I would like to pass this com object from a server to a client through
> > a socket.
>
> As Diez mentioned, this may be possible through Distributed COM
> (DCOM). Its not very popular any more w
> Everyone know that programming is supposed to be a dark art, nearly
> impossible to learn. Computer code is supposed to be something
> impossible to read to the common person and yet reveal their secrets
> to the initiated - just remember the code displayed in the Matrix...
Hmm, on my PyCon mug
I have an application that I want to automatised trough a COM layer or
(DCOM)...
I can access to all the method of the COM objects with python and
win32com when this application is running
If the application is not running, I can not access to all the method
of the object.
Usually to overcom
En Sat, 28 Apr 2007 15:48:11 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
> I have a function in my python like this:
> def callFunc(line, no):
> # some code
>
> And I want to do a performance test like this:
> for line in f:
> for i in range(int(count)):
> t
André wrote:
> I'm really annoyed at Python - and not for the reasons already
> mentioned on this list.
>
> Everyone know that programming is supposed to be a dark art, nearly
> impossible to learn. Computer code is supposed to be something
> impossible to read to the common person and yet reveal
On 28 abr, 14:15, Eric Gisse <[EMAIL PROTECTED]> wrote:
> On Apr 24, 6:13 pm, [EMAIL PROTECTED] wrote:
>
> > Cal Tech is the ELITE of ELITE in physics.
>
> "INN World Report interviewed Dr. Crockett Grabbe - professor of
> physics at the University of Iowa - regarding his thoughts on the
> 'collaps
On Apr 27, 8:25 pm, urielka <[EMAIL PROTECTED]> wrote:
> thx i will try this.
>
> i am also trying XML-RPC,i wrote a basic generator(in python) that
> genrate a Interface from the XML-RPC service module,but maybe with
> soaplib i don`t need this if i use wsdl as Visual Studio can generate
> the cod
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I want to keep track of the number of different exception happens in
> my python program:
>
> ErrorHash = {}
>
> try:
>
> # come code ...
>
> except Exception, e:
> print e
> errcode = e
>
> if (ErrorHash.has
here's a question that came-up recently,
in battling with the controlled-demo advocates
at teh Promenade:
how is it that the metal was still molten,
after weeks?
it seems taht an additional hypothesis is required,
to explain that. because I doubt that
there was sufficient nukular material
"left-o
In article <[EMAIL PROTECTED]>,
=?iso-8859-1?B?QW5kcuk=?= <[EMAIL PROTECTED]> wrote:
>
>Programming should be more difficult than this - otherwise, how can
>programmers be respected by the common folks?
http://www.netfunny.com/rhf/jokes/98/May/stroustrup.html
--
Aahz ([EMAIL PROTECTED])
James Stroud <[EMAIL PROTECTED]> wrote:
> André wrote:
[snipping total repost of André's post]
> > I'm really annoyed at Python - and not for the reasons already
> > mentioned on this list.
> >
> > Everyone know that programming is supposed to be a dark art, nearly
> > impossible to learn.
John Nagle <[EMAIL PROTECTED]> wrote:
...
> I'd have to consider that a bug.
>
> Some very early FORTRAN compilers allowed you to redefine
> integer constants:
>
>
> CALL SET(25,99)
> WRITE (6,100) 25
> 100 FORMAT(I6)
>
> SUBROUTINE SET(IVAR, INEWVAL)
>
Alan Isaac <[EMAIL PROTECTED]> wrote:
> Are relative imports broken in 2.5?
> Directory ``temp`` contains::
>
> __init__.py
> test1.py
> test2.py
>
> File contents:
> __init__.py and test2.py are empty
> test1.py contains a single line::
>
> from . import test2
>
Bonsoir !
Flagrant délit de manque de confiance dans les newsgroups français en vue...
Ha ! Ha ! Ha ! Bonne chance avec les US...
--
http://mail.python.org/mailman/listinfo/python-list
On 28 avr, 23:09, "Méta-MCI" <[EMAIL PROTECTED]> wrote:
> Bonsoir !
>
> Flagrant délit de manque de confiance dans les newsgroups français en vue...
>
> Ha ! Ha ! Ha ! Bonne chance avec les US...
c'est vrai j'avoue ;)
--
http://mail.python.org/mailman/listinfo/python-list
Beliavsky <[EMAIL PROTECTED]> wrote:
> On Apr 27, 6:17 pm, Stef Mientki <[EMAIL PROTECTED]>
> wrote:
> > Portable SciPy, is an easy installer of SciPy for M$ windows users.
>
> If you have an announcement for Windows users, I suggest that you not
> needlessly turn them off by abbreviating Microso
Michael Bentley <[EMAIL PROTECTED]> wrote:
...
> highlighting for Python (and most everything else). But both Text
> Edit and nano are dead easy for noobs.
TextMate, a shareware program, is also widely appreciated -- it has
pretty good support for many languages, including Python.
Personall
Alex Martelli wrote:
> Maybe somebody assigning a value to True or False is a
> common error, but much of my livelihood over the last 10 years has been
> about mentoring/coaching programmers in Python, and that's one error I
> have *NEVER* observed, so I'd need a lot of empirical evidence to
> conv
On Apr 29, 5:04 am, "Theo v. Werkhoven" <[EMAIL PROTECTED]
werkhoven.nl.invalid> wrote:
> The carbonbased lifeform John Machin inspired comp.lang.python with:
>
>
>
> > On Apr 28, 9:50 pm, "Theo v. Werkhoven" <[EMAIL PROTECTED]
> > werkhoven.nl.invalid> wrote:
> >> Goodday,
>
> >> strg
Is this stephen coursen, once married to michelle coursen from linden NJ?
--
http://mail.python.org/mailman/listinfo/python-list
John Nagle wrote:
> "True", "False", and "None" should be reserved words in Python.
> "None" already is.
The permissiveness makes it less painful to upgrade to new versions of
Python. True and False only recently got assigned conventional
values, but you can still import old modules withou
I have a program that reads as follows:
#!/usr/bin/env python
import string
import os
def ssher():
#ssher takes a port input (if none entered, it defaults to 2024) and
def connector():
#connector checks to see if the autoconfigure file exists. If so, it uses that
#for information for where the
On 2007-04-28, Quadibloc <[EMAIL PROTECTED]> wrote:
> Australia - Tasmania included - would today be under the iron heel of
> Imperial Japan had it not been for the armed might of the United
> States of America!
Please do not feed the trolls.
Bye.
Jasen
--
http://mail.python.org/mailman/list
On 4/28/07, James <[EMAIL PROTECTED]> wrote:
[snip]
> username = getuser()
> string.strip
> (username)
> print "username is %s" % username
[snip]
>
>
> The autoconf.txt contains two lines, which first has an ip address and
> second a username. The problem I'm having is that the string.strip() do
On Sat, 28 Apr 2007 11:35:36 -0700, John Nagle wrote:
>> Python forbids very few things in comparison to other languages. The
>> attitude is "We're all adults here". Because Python is such a dynamic
>> language, it is often hard for the compiler to tell the difference between
>> something you are
On Sat, 28 Apr 2007 23:54:01 +0200, Szabolcs wrote:
> But I still think that it is an inconsistency to allow to redefine a
> _value_ like True or False (not a built-in function that may have been
> missing in earlier versions). Saying True = 2 is just like saying 3 = 2.
Well, it might seem that
1 - 100 of 114 matches
Mail list logo