On Thu, 25 Aug 2005 00:05:18 -0400
Steve Holden wrote:
> What on earth makes you call this a bug? And what are you proposing that
> find() should return if the substring isn't found at all? please don't
> suggest it should raise an exception, as index() exists to provide that
> functionality.
On Wednesday 24 August 2005 09:12 pm, Peter Hansen wrote:
> Terry Hancock wrote:
> >>I have a strong EE and hardware background (hence my need to write a
> >>CAD program that doesn't piss me off), but not a CS background.
> >
> > You probably ought to consider starting with something existing like
Hum...
If it's Outlook, look for COM/Dispatch, with PyWin32
If it's Outlook-Express, search a MAPI module, like said Peter Hansen.
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Are you as mad about spam as I am? Are you frustrated with the
pessimism and lack of progress these last two years? Do you have
faith that an open-source project can do better than the big companies
competing for a lock-in solution? If so, you might be interested in
the Open-Mail project.
I'm w
>contained in the range [start, end)
Does range(start, end) generate negative integers in Python if start
>= 0 and end >= start?
--
Regards,
Casey
--
http://mail.python.org/mailman/listinfo/python-list
Bryan Olson <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
> > Bryan Olson writes:
> >>Mike Meyer wrote:
> >> > The rule I follow in choosing my tools is "Use the least complex tool
> >> > that will get the job done."
> >>Even if a more complex tool could do the job better?
> > In that case,
Dear Casino Player,
YOU HAVE BEEN PREAPPROVED.
Receive $100 FREE at the Online Casino Of The Year 2002 when you open a new
account.
DOWNLOAD AWARD WINNING CASINO GAMES
or
VISIT THEIR WEBSITE FOR MORE INFORMATION.
http://webmaster.windowscasino.com/SmartDownload.asp?affid=14409
WINDOWS CASINO
my husband is installing an extra bathroom poolside. there is a perfect size
hole (unless you have a huge cock) to stick your dick through into the adjoing
room. come around the side of my house(perfect if you look like a repair man)
enter into the unfisnished bathroom and I'll service you fro
Bryan Olson wrote:
> The doc for the find() method of string objects, which is
> essentially the same as the string.find() function, states:
>
> find(sub[, start[, end]])
>Return the lowest index in the string where substring sub
>is found, such that sub is contained in the ra
The doc for the find() method of string objects, which is
essentially the same as the string.find() function, states:
find(sub[, start[, end]])
Return the lowest index in the string where substring sub
is found, such that sub is contained in the range [start,
end). Optio
"Mike Meyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Mike Schilling" <[EMAIL PROTECTED]> writes:
>
>> "l v" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>> Xah Lee wrote:
(circa 1996), and email should be text only (anti-MIME, circa 1995),
>>>
>>> I
Robert Kern wrote:
> By "+1" he means, "I like it." He's not correcting you.
Ah, O.K. Thanks.
--
--Bryan
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 21 Aug 2005, Robert Kern wrote:
> Eric Huss wrote:
> > I'm having a problem with packages within packages. Here's an example:
> >
> > foo/
> > foo/__init__.py: empty file
> > foo/sub/__init__.py:
> > from foo.sub.B import B
> > foo/sub/A.py:
> > class A:
> > pass
> > f
Terry Hancock wrote:
>>I have a strong EE and hardware background (hence my need to write a
>>CAD program that doesn't piss me off), but not a CS background.
>
> Cool. If you do write it and release it, I'd be interested in finding out
> about it.
>
> You probably ought to consider starting with
Steve Holden wrote:
> Well you could do worse than use the gmane.comp.python.general newsgroup
> if you want to use an NNTP newsreader. I recently left the ISP who had
> provided me with news services for years, and I am very happy with the
> gmane service (though heaven only knows why they cho
Greg McIntyre wrote:
> Robert Kern wrote:
>
>>>Robert> Please quote the message you are replying to. We have no
>>>Robert> idea what "the 2nd option" is.
>>>
>>>I think he means the second option you presented
>>>
>>> If you must read one character at a time,
>>>
>>> def reader(fileob
Robert Kern wrote:
> > Robert> Please quote the message you are replying to. We have no
> > Robert> idea what "the 2nd option" is.
> >
> > I think he means the second option you presented
> >
> > If you must read one character at a time,
> >
> > def reader(fileobj, blocksize=1):
> >
John Machin wrote:
> Sigh indeed. If you need to read it a character at a time to parse it,
> the design is f***ed.
There is always the potential to do 2k buffered reads and once in
memory pick the contents apart character-wise.
I assume something similar would happen for tokenising XML and HTML
On Wednesday 24 August 2005 03:48 pm, sonicSpammersGoToHellSmooth wrote:
> In my case I'd like to write a CAD program which allows the user to
> write Python scripts, and to provide an API to do CAD stuff, manipulate
> parameters, circuits, layouts, simulations, etc. The user should not
> have acc
I have a question about Windows based python (2.4 and later).
For example, if I make a script called test.py like so:
import sys
print sys.argv
then run it:
python test.py this is a test
I see a list with
['test.py', 'this', 'is', 'a', 'test']
All is good!
BUT...
If i make .py extensions
Thomas Heller:
> Yes. There's a script in your Python distribution:
> Tools/scripts/diff.py
>
> See also the docs for the 'difflib' standard library module.
Is the opposite code, a Python equivalent to 'patch' available? I
have endless trouble receiving patch files that assume one of Windo
John Hunter wrote:
>>"Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
>
>
> Robert> [EMAIL PROTECTED] wrote:
> >> Is SciPy usable with Python 2.4.1? At
> >> http://www.scipy.org/download/ it says that 2.3.3 is
> >> recommended, and I don't see a binary for 2.4.1.
>
> R
You should download source for spambayes plug-in for
Outlook (written in Python) located at:
http://spambayes.sourceforge.net/windows.html
You might finds LOTS of good information for your
project.
-Larry Bates
Subir wrote:
> Hi,
>
> I am new to this group. I am trying to build an applicatio
Paul Rubin wrote:
> Richie Hindle <[EMAIL PROTECTED]> writes:
>
>>I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com
>>and it's early days but so far I've been very impressed. It's $19/mo
>>(normally $20 but they kindly gave me a 5% Open Source Developer discount)
>
>
> Do
Subir wrote:
> I am new to this group. I am trying to build an application to see
> all the contents of the outlook accounts (USING MAPI). Does anyone has
> any information regarding this ?
Did you try checking the list archives yet? Go to Google Groups
(groups.google.com) and search in the co
Richie Hindle <[EMAIL PROTECTED]> writes:
> I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com
> and it's early days but so far I've been very impressed. It's $19/mo
> (normally $20 but they kindly gave me a 5% Open Source Developer discount)
Do you get enough resources in th
Peter A. Schott wrote:
> I'll have to try this again. I obviously did something wrong in my code. I
> was
> getting errors about not being able to write a string because it wasn't
> supported. It was driving me nuts for a while until I just gave up and went
> back to open().
I expect somewhere
Peter A. Schott wrote:
> Thanks to all who replied. If open is still preferred, I will
> stick with that.
FWIW, that's not an unqualified "preferred". To demonstrate by example,
neither of the above is considered preferred, though they both work:
outputFile = file('path.to.file')
if i
In article <[EMAIL PROTECTED]>,
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
>Russell E. Owen wrote:
>
>> Having looked at it again, it is familiar. I copied it when I wrote my
>> own code. I avoided using at the time both because the initial
>> underscore suggested it was a private method and beca
Hi all,
I'm a newbie to Python, so I have a question about writing an
application that also has a scripting ability. I'm thinking of Eric3
as an example. It's written in Python, but it also has an interpreter
window. The user doesn't have access (I don't think...) to all the
internal stuff that
I'll have to try this again. I obviously did something wrong in my code. I was
getting errors about not being able to write a string because it wasn't
supported. It was driving me nuts for a while until I just gave up and went
back to open(). I'll do some more playing and if I continue to get e
> "Michele" == Michele Simionato <[EMAIL PROTECTED]> writes:
Michele> There are also my lectures at Oxford:
Michele>
http://www.reportlab.org/~andy/accu2005/pyuk2005_simionato_wondersofpython.zip
Michele>Michele Simionato
You really need to get O'Reilly to publish your s
> "Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
Robert> [EMAIL PROTECTED] wrote:
>> Is SciPy usable with Python 2.4.1? At
>> http://www.scipy.org/download/ it says that 2.3.3 is
>> recommended, and I don't see a binary for 2.4.1.
Robert> It is usable with Python 2.4.
"chand" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi.,
>
> In my api.py file 'g_opt_list' is defined globally
> g_opt_list =[[],[],[],[],[],[],[]]
>
> I am using this global list in the fucntion
>
> def function ():
>gloabl g_opt_list
>
> when I run the py file, I am getti
Dear newsgroup,
I give up, I must be overseeing something terribly trivial, but I can't
get a simple (Java) applet to react to incoming (python) SocketServer
messages.
Without boring you with the details of my code (on request available,
though), here is what I do :
I have a TCPServer and BaseRe
> but... i see it doesn't work for some commands, like "man python" (it
> gets stuck on the "if" line)...
.readlines() won't return until it hits end-of-file, but the "man"
command waits for user input to scroll the content, like the "more" or
"less" commands let you view "pages" of information on
Hello,
I am working on a project that invovles the use of linear programming.
The framework for the project has been written in Python. I recently
came across PuLP http://www.jeannot.org/~js/code/index.en.html#PuLP ,
which creates output files to use with LP solvers. I was wondering if
anyone ha
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> IOW: feel free to invoke setlocale in your library. It will likely
> work in many cases, but may break in some. So you should atleast
> document that this is what your library does.
Thanks for the advice. I ended up implementing it in the library, w
I'm going to tell you about a TOP RATED AUTOSURF program that takes 5 mins of
your day and then instantly credits your account 12% of what you put in. Its
that easy and everyone is going crazy about it. I have personally done this
and been paid.
This is how it works. You have to have/get you
Wade wrote:
> http://www.slate.com/id/2124561/entry/2124562/
>
> Nice little series by Seth Stevenson for Americans daydreaming about
> emigration. Somewhere, anywhere ... maybe Amsterdam?
>
> I've never been to the Netherlands myself, but it sounds very
> civilized.
>
> Extra Python connection,
Mentre io pensavo ad una intro simpatica "[EMAIL PROTECTED]"
scriveva:
> now i am planning to write a bear minimum email client in
> pyhton. i found the smtp module of python could serve my
> pupose. I can send message using mails using the smtp lib.
> Now i'm looking for some modules which can he
[EMAIL PROTECTED] wrote:
> Is SciPy usable with Python 2.4.1? At http://www.scipy.org/download/ it
> says that 2.3.3 is recommended, and I don't see a binary for 2.4.1.
It is usable with Python 2.4.1 on Linux and OS X at least. IIRC,
mingw-compiled extensions don't work with the standard Python 2.
Hi,
I am new to this group. I am trying to build an application to see
all the contents of the outlook accounts (USING MAPI). Does anyone has
any information regarding this ?
--
http://mail.python.org/mailman/listinfo/python-list
Neil Schemenauer <[EMAIL PROTECTED]> writes on Mon, 22 Aug 2005 15:31:42 -0600:
> ...
> Some code may require that str() returns a str instance. In the
> standard library, only one such case has been found so far. The
> function email.header_decode() requires a str instance and the
>
Bryan Olson wrote:
> Paul Rubin wrote:
> > Bryan Olson writes:
> >
> >> seq[3 : -4]
> >>
> >>we write:
> >>
> >> seq[3 ; $ - 4]
> >
> > +1
>
> I think you're wrong about the "+1". I defined '$' to stand for
> the length of the sequence (not the address of the last
> element).
By
In article <[EMAIL PROTECTED]>,
"max(01)*" <[EMAIL PROTECTED]> wrote:
> in perl i can do this:
...
> but i do not know how to do it in python, because "if *command*:" gives
> syntax error.
>
> moreover, if i use
...
> it doesn't work, since "*do_something*" and *do_something_more* are
> always
Terry Hancock wrote:
> Frankly, I was surprised this worked at all, but I tried
> creating a property outside of a class (i.e. at the module
> level), and it seems to behave as a property:
Not so surprising. Making a class begins by making a little namespace,
then using it to build the class. If
Laszlo Zsolt Nagy wrote:
> Try this:
>
> gclas = raw_input("What is the class:")
> def Princlas():
>count = 0
>while count != 1000:
>count = count + 1
>return "Admin forceclass %s %s " % ( count , gclas )
have you tried your code ? Obviously, no, else you would have seen t
Sybren Stuvel wrote:
> Eli Stevens (WG.c) enlightened us with:
>
>>I've bumped into some snags with pyperl (can't import perl2.so? But
>>it's right there in site-packages/ !), and I'm wondering if it's bitrot
>>or a config error on my end.
>
>
> If the .so file is as old as you described, it'
On 24 Aug 2005 01:50:25 -0700, [EMAIL PROTECTED] wrote:
>I need to execfile() from a function in order to set value for a global
>variable from inside the executed file. I know there are "globals" and
>"locals" optional arguments for execfile, but I just can't figure out
>how to use them correctly
Hi,
I use urllib2 to download a redirected url and I get an exception from
the bowels of urllib2. It seems that urllib2 implements some super
sophisticated self check and tries to control the access to attributes
using lots of calls to hasattr(the builtin function) and a custom
__getattr__() on the
Antoon Pardon wrote:
> I think he did, because both expression are not equivallent
> unless some implicite constraints make them so. Values where
> both expressions differ are:
>
> start1=67, stop1=9, start2=10, stop2=29
Ouch! That didn't occur to me. How sloppy to just assume that
time periods
Andreas Kostyrka wrote:
> I cannot comment on linode as I'm not a customer. The info on the website
> seems ok. But the prices are somehow laughable: I'm currently paying
> EUR39 for a dedicated host (with at least 200GB traffic, I'd had to look it
> up
> 60GB "storage", 256MB RAM and a 2.4GHz P4
On Wed, 24 Aug 2005, Armin Steinhoff wrote:
> Adriaan Renting wrote:
>
> "Wade" <[EMAIL PROTECTED]> 08/24/05 2:31 pm >>>
>>
>> http://www.slate.com/id/2124561/entry/2124562/ Nice little series by
>> Seth Stevenson for Americans daydreaming about emigration. Somewhere,
>> anywhere ... maybe
Eric Brunel wrote:
> On Wed, 24 Aug 2005 15:07:27 GMT, William Gill <[EMAIL PROTECTED]> wrote:
>
>> Working with tkinter, I have a createWidgets() method in a class.
>> Within createWidgets() I create several StringVars() and
>> assign them to the textvariable option of several widgets.
>> Effec
That works perfectly - Thanks! I'm always getting tripped up by the
mutability of lists, I should really learn to look out for it more...
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I'm having some trouble with a function I've written in Python:
> def myFunction(l1,l2,result=[]):
[snipped rest of function and explanation of what it does]
> Does anyone know what is going on here? Is there an easy solution?
It shined out like a supernova. It has to
On 24 Aug 2005 06:57:07 -0700, twd <[EMAIL PROTECTED]> wrote:
> I'm seeing some new and unexpected behaviour with tkinter + python2.4,
> in a gnome+linux environment. The code below used to work (and
> continues to work under windows). The intended behaviour is that a
> window is created the the f
[EMAIL PROTECTED] wrote:
> Hi
hi
> I'm having some trouble with a function I've written in Python:
>
> def myFunction(l1,l2,result=[]):
> index=0
> for i in l1:
> result.append([])
> if type(i)==list:
> myFunction(i,l2,result[index])
> else:
>
Hi
I'm having some trouble with a function I've written in Python:
def myFunction(l1,l2,result=[]):
index=0
for i in l1:
result.append([])
if type(i)==list:
myFunction(i,l2,result[index])
else:
for j in l2:
result[index].appe
On Wed, 24 Aug 2005 15:07:27 GMT, William Gill <[EMAIL PROTECTED]> wrote:
> Working with tkinter, I have a createWidgets() method in a class.
> Within createWidgets() I create several StringVars() and
> assign them to the textvariable option of several widgets.
> Effectively my code structure is:
Either it didn't exist at the time, or I didn't know about the diff.py that
Thomas Heller mentioned in another response, so I wrote 'pyunidiff'
http://unpy.net/~jepler/pyunidiff.py
ah, I guess unix 'diff'-style output was added to difflib.py in 2003, while my
pyunidiff dates to 2002.
Jef
[EMAIL PROTECTED] wrote:
> Hi grp,
> I new to this grp and python too.
> i have started writing few python scripts myself.
>
> now i am planning to write a bear minimum email client in
> pyhton. i found the smtp module of python could serve my
> pupose. I can send message using mails using the smt
TonyHa said the following on 24.08.2005 15:50:
> Hello,
>
> Does any one have using Python to write a Unix "diff" command for
> Window?
http://gnuwin32.sourceforge.net/
http://gnuwin32.sourceforge.net/packages.html
Under Diffutils
--
Dejan Rodiger - PGP ID 0xAC8722DC
Delete wirus from e-mail a
Steven Bethard wrote:
> Bryan Olson wrote:
>
>> Steven Bethard wrote:
>> > Well, I couldn't find where the general semantics of a negative
stride
>> > index are defined, but for sequences at least[1]:
>> >
>> > "The slice of s from i to j with step k is defined as the sequence of
>> >
Mark Lutz in Programming Python, 2nd ed from O'Reilly covers the subject
in chapter 11 using only the standards modules for mails and Tkinter.
hth
[EMAIL PROTECTED] wrote:
> Hi grp,
> I new to this grp and python too.
> i have started writing few python scripts myself.
>
> now i am plannin
McBooCzech wrote:
> This (according to your suggestions) is my code which works for me
>
> import serial
> s = serial.Serial(port=0,baudrate=4800, timeout=20)
> while 1:
> line = s.readline()
> words = line.split(',')
> if words[0]=="$GPRMC":
> print words[1], words
Jonas Geiregat <[EMAIL PROTECTED]> wrote:
>
> If you can't find any rpm's there aren't any available.
> You need to compile mozilla with (I think) support for gtkmozembed but I
> guess that's done by default when you compile mozilla with
> ac_add_options --enable-default-toolkit=gtk2 in your moz
[EMAIL PROTECTED] wrote:
> Hi grp,
> I new to this grp and python too.
> i have started writing few python scripts myself.
>
> now i am planning to write a bear minimum email client in
> pyhton. i found the smtp module of python could serve my
> pupose. I can send message using mails using the smt
Working with tkinter, I have a createWidgets() method in a class.
Within createWidgets() I create several StringVars() and
assign them to the textvariable option of several widgets.
Effectively my code structure is:
def createWidgets(self):
...
var = StringVar()
Entry(master,textvar
On Wed, 24 Aug 2005 20:15:01 +0530 (IST)
[EMAIL PROTECTED] wrote:
> now i am planning to write a bear minimum email client in
> pyhton. i found the smtp module of python could serve my
> pupose. I can send message using mails using the smtp lib.
> Now i'm looking for some modules which can help me
Is SciPy usable with Python 2.4.1? At http://www.scipy.org/download/ it
says that 2.3.3 is recommended, and I don't see a binary for 2.4.1.
--
http://mail.python.org/mailman/listinfo/python-list
Kay Schluehr wrote:
> Steven Bethard wrote:
>>"The slice of s from i to j with step k is defined as the sequence of
>>items with index x = i + n*k such that 0 <= n < (j-i)/k."
>>
>>This seems to contradict list behavior though.
>> range(10)[9:-1:-2] == []
>
>
> No, both is correct. But
"TonyHa" <[EMAIL PROTECTED]> writes:
> Hello,
>
> Does any one have using Python to write a Unix "diff" command for
> Window?
>
> Tony Ha.
Yes. There's a script in your Python distribution:
Tools/scripts/diff.py
See also the docs for the 'difflib' standard library module.
I do not know whether
Hi grp,
I new to this grp and python too.
i have started writing few python scripts myself.
now i am planning to write a bear minimum email client in
pyhton. i found the smtp module of python could serve my
pupose. I can send message using mails using the smtp lib.
Now i'm looking for some modules
TonyHa wrote:
> Does any one have using Python to write a Unix "diff" command for
> Window?
No, but you can get the *actual* diff command for Windows:
http://unxutils.sourceforge.net/
--
Benji York
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-08-24, Sybren Stuvel <[EMAIL PROTECTED]> wrote:
>> import serial
>> s = serial.Serial(port=0,baudrate=4800, timeout=20)
>> while 1:
>> line = s.readline()
>> words = line.split(',')
>> if words[0]=="$GPRMC":
>> print words[1], words[3], words[5]
>>
>> I just won
Solved the problem all by myself. Patch (and rationale) available on
sourceforge.
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-08-23, praba kar <[EMAIL PROTECTED]> wrote:
>>> Some people with C background use Python instead of
>>> programming in C.why?
>>
>> Becuase it is much more efficient.
>>
>> -James
>
> What why it is more efficient. Kindly let me
> know with some details.
Have you read _any_ of the thre
Adriaan Renting wrote:
> Well, I'm not sure if Amsterdam is nice, but the Netherlands is o.k., except
> for the weather.
> I'd like to descripbe it as 49 weeks of autumn, 1 week of spring, 1 week of
> summer, 1 week of winter.
> Currently my employer only has an opening for a Microwave Antenna de
>Nice little series by Seth Stevenson for Americans daydreaming about
>emigration. Somewhere, anywhere ... maybe Amsterdam?
>
>I've never been to the Netherlands myself, but it sounds very
>civilized.
It used to be, until some lunatic (alledged to be a left-winger)
killed an (alledged right-wing)
On Wed, Aug 24, 2005 at 09:49:01AM +0100, Richie Hindle wrote:
>
> [Chris]
> > Not to be a shill, but I'd be interested in testimonials on
> > http://linode.org/
> > I wonder if virtualization is the next killer app.
> > Certainly blows the WTF my ISP? question away...
>
> I can't speak for lino
There probably is some free version somewhere, maybe even as part of CygWin.
I've used Araxis Merge on Windows. It used to be shareware. It's nice enough
that I bought it.
>>>"TonyHa" <[EMAIL PROTECTED]> 08/24/05 3:50 pm >>>
Hello,
Does any one have using Python to write a Unix "diff" com
[EMAIL PROTECTED] (Richard Bos) writes:
> l v <[EMAIL PROTECTED]> wrote:
>
>> Mike Schilling wrote:
>> > A formatting-only subset of HTML would be useful for both e-mail and
>> > Usenet
>> > posts.
>>
>> I would *agree* (your news reader may bold that last word)
>
> It had bloody better not.
I'm seeing some new and unexpected behaviour with tkinter + python2.4,
in a gnome+linux environment. The code below used to work (and
continues to work under windows). The intended behaviour is that a
window is created the the first time the button is pushed, and then
de-iconified and brought to th
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Does any one have using Python to write a Unix "diff" command for
Window?
Tony Ha.
--
http://mail.python.org/mailman/listinfo/python-list
Kay Schluehr wrote:
> Bryan Olson wrote:
>
>>Steven Bethard wrote:
>> > Well, I couldn't find where the general semantics of a negative stride
>> > index are defined, but for sequences at least[1]:
>> >
>> > "The slice of s from i to j with step k is defined as the sequence of
>> > items wi
Paul Rubin wrote:
> Bryan Olson writes:
>
>> seq[3 : -4]
>>
>>we write:
>>
>> seq[3 ; $ - 4]
>
>
> +1
I think you're wrong about the "+1". I defined '$' to stand for
the length of the sequence (not the address of the last
element).
>>When square-brackets appear within other sq
Not always easy to follow but great !
Using __str__ instead of __repr__ makes it work also with old style
(thanks to Simon Brunning for suggesting it, and with your link I even
now understand why !)
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote:
> Bryan Olson writes:
>
>>Mike Meyer wrote:
>> > The rule I follow in choosing my tools is "Use the least complex tool
>> > that will get the job done."
>>
>>Even if a more complex tool could do the job better?
>
> In that case, the simpler model isn't necessarily getting
I am using os.popen3 to call a console process and get its output and
stderr. However on Win32 (and not OS X) I also get the Errno message.
It's printed to the screen, which I wish to keep clean. How can disable
this notification?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Such a sweet and simple way.
Thanks.
tooper wrote:
> Use os.sep to get / or \ or whatever character used to build pathes on
> the os you're working on
>
--
http://mail.python.org/mailman/listinfo/python-list
The stuff on Descriptor.htm was really good .
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Well, I'm not sure if Amsterdam is nice, but the Netherlands is o.k., except
for the weather.
I'd like to descripbe it as 49 weeks of autumn, 1 week of spring, 1 week of
summer, 1 week of winter.
Currently my employer only has an opening for a Microwave Antenna designer
though, sorry no Python c
Mohammed Altaj wrote:
>
> Thanks a lot for your valuable answer, i like the way you code ,
Thanks.
> but i
> would like to use my own, so if it is possible for you and if you have
> time, please could you fix my code, so that i can do what i want.
> Because i am using the this out put to anoth
Johnny Lee wrote:
> Here is the source:
>
(snip)
> class TestCaseTest(TestCase):
> def testRunning(self):
> print "testRunning in TestCaseTest"
> test = WasRun("testMethod")
> assert(not test.wasRun)
> test.run()
> assert(
The PyDev environment (http://pydev.sourceforge.net/) for Eclipse
appears to have Jython debug support, though I just tried it now and it
did not work for me. The release notes
http://pydev.sourceforge.net/features.html seem to suggest it should, so
perhaps I just haven't configured something p
http://www.slate.com/id/2124561/entry/2124562/
Nice little series by Seth Stevenson for Americans daydreaming about
emigration. Somewhere, anywhere ... maybe Amsterdam?
I've never been to the Netherlands myself, but it sounds very
civilized.
Extra Python connection, besides the obvious one: Is "
I did mean the Language reference. chapter "Special method names". It contains
a lot of the funky stuff like __dict__ and __getattr__. There is a little info
in chapter 3.2 about __class__ : "__class__ is the instance's class."
Adriaan Renting| Email: [EMAIL PROTECTED]
ASTRON
1 - 100 of 150 matches
Mail list logo