In message <[EMAIL PROTECTED]>, Antoon Pardon wrote:
> On 2007-10-01, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>
>> En Sun, 30 Sep 2007 16:16:30 -0300, <[EMAIL PROTECTED]> escribi?:
>>
From my POV, if I want sequence from here to there, it should include
>>> both here and there.
>>>
>>> I
In message <[EMAIL PROTECTED]>, Shawn
Milochik wrote:
> On 10/1/07, Brandon McGinty <[EMAIL PROTECTED]> wrote:
>>
>
>> Brandon McGinty
>> McGinty Soft Ltd.
>> Website design, configuration, and maintenance
>> Python and PHP coder
>
> So let me get this straight:
>
> You label yourself as a code
In message <[EMAIL PROTECTED]>, John
Machin wrote:
> On Oct 2, 6:27 am, brad <[EMAIL PROTECTED]> wrote:
>> Is this the correct way to slice the last 4 items from a list?
>>
>> x = [1,2,3,4,5,6,7,8,9]
>> print x[-4:]
>>
>> It works, but is it Pythonic?
>
> It's Pythonic. It's also unambiguous, unl
Hi All,
I am trying to connect .NET web service using HTTPS. I wrote a
python script using https. For that need to send SOAP message to the
server. But it is giving error 401.3 execution access is denied.(SOAP
message not processing)
I have a doubt can we access web services
Jean-Francois Canac wrote:
>I am reading a large amount of data from a COM port (or from a file) at a rate
of 20 records per second. It is about >positioning of a vehicle on a race track.
>In each record we have time, position (lat and long) speed, course all from GPS
equipment. I would like to
In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>I am trying to connect .NET web service using HTTPS. I wrote a
> python script using https. For that need to send SOAP message to the
> server. But it is giving error 401.3 execution access is denied.(SOAP
> message not processing)
"Steve Holden" wrote:
> religious issues for me. It's more like "This problem has a cross head,
> so I'll need a Philips screwdriver".
As long as it is not a Pozidrive, that is a commendable attitude.
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, JD wrote:
> I want send my jobs over a whole bunch of machines (using ssh). The
> jobs will need to be run in the following pattern:
>
> (Machine A) (Machine B) (Machine C)
>
> Job A1 Job B1Job C1
>
> Job A2 Job B2
In message <[EMAIL PROTECTED]>, Duncan Booth wrote:
> Steve Holden <[EMAIL PROTECTED]> wrote:
>
>>> No, that will uppercase the string, but it doesn't (and shouldn't)
>>> strip the accents:
>>>
>> I can agree that is doesn't (though I am taking your word for it), but
>> a French person will defi
In message <[EMAIL PROTECTED]>, Bent C Dalager wrote:
> Unfortunately, these days English almost always means American English...
North American or South American? Seems like USAmericans speak a little
different English from other Americans...
--
http://mail.python.org/mailman/listinfo/python-li
In message <[EMAIL PROTECTED]>, Daniel
Nogradi wrote:
> It might be slightly off topic here but couldn't find a more suitable
> place for this question:
>
> I'm trying to build the python binding for ming -- http://ming.sf.net
> -- but for some reason the python macro for autoconf -- python.m4 --
In message <[EMAIL PROTECTED]>, Lawrence D'Oliveiro wrote:
> ... each one waiting for a remote process
> on some master machine to terminate.
Of course, "master" there should be "slave". :)
--
http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, George Neuner
wrote:
> The Christian Bible says "In the beginning was the Word..."
Which is an English mistranslation from the Greek "logos".
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
> Duncan Booth wrote:
>> [EMAIL PROTECTED] wrote:
>>
>>> On Oct 4, 7:35 am, JBJ >> [EMAIL PROTECTED]> wrote:
Hi,
I'am very newbie in Python.
For the moment I'am trying to convert an unicode character to his
uppercase unaccented character.
By example wi
Hrvoje Niksic a écrit :
> [EMAIL PROTECTED] writes:
>
>> I will expose my case quicly.
>> The MYCLASES.py file contains the A class, so i can use
>> from MYCLASES import A
>> a = ()
>>
>> Using the "package mode" (wich looks fine BTW), having the simple
>> MYCLASES/
>> __init__.py
>> A.p
John Machin wrote:
> On Oct 4, 4:35 am, JBJ [EMAIL PROTECTED]> wrote:
>> Hi,
>> I'am very newbie in Python.
>> For the moment I'am trying to convert an unicode character to his
>> uppercase unaccented character.
>> By example with locale fr_FR:
>> a,A,à,À should return A
>> o,O,ô,Ô should return
Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
> it's quite common to use the __init__.py of the package (as
> explained by Ben) as a facade to the internal organization of the
> package, so you can change this internal organization without
> breaking client code.
We agree on that. It is the OP
"Wildemar Wildenburger" wrote:
> (By the way: Accusing a German of racism is almost too easy an insult.
> Not that I had taken any, just saying.)
I always thought that it would be insulting to a German if you accused
him or her of not being a racist...
- Hendrik
--
http://mail.python.org/m
MindMaster32 wrote:
> I am writing a script that has to read data from an ASCII file of
> about 50 Mb and do a lot of searches and calculations with that data.
> That would be a classic problem solved by the use of a database
> (SQLite would suit just fine), but that would require the user to
> ins
"Lawrence D'Oliveiro" <[EMAIL PROTECTED]> wote:
> Honestly, why do people react to the word "pointer" as though computers have
> to wear underwear to conceal something shameful going on in their nether
> regions?
I think it is because a pointer is a variable containing as a value the address
of s
In message <[EMAIL PROTECTED]>, Carl Banks wrote:
> On Wed, 03 Oct 2007 16:46:20 +, JD wrote:
>>
>> I want send my jobs over a whole bunch of machines (using ssh). The jobs
>> will need to be run in the following pattern:
>>
>> (Machine A) (Machine B) (Machine C)
>>
>> Job A1
On Thu, 04 Oct 2007 11:11:03 +1300, Lawrence D'Oliveiro wrote:
> In Python, all names _are_ variables. They are not "bound" to objects.
The general convention among Python programmers is to describe names
being bound to values. While the analogy to real life binding of objects,
it's close enoug
On Oct 4, 4:55 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> In message <[EMAIL PROTECTED]>, Carl Banks wrote:
>
>
>
> > On Wed, 03 Oct 2007 16:46:20 +, JD wrote:
>
> >> I want send my jobs over a whole bunch of machines (using ssh). The jobs
> >> will need to be
On Mon, 01 Oct 2007 09:09:21 -0700, Arnaud Delobelle wrote:
> As pointed out by others, implementations of rationals in Python abound.
> Whereas there is a canonical representation of floats and ints (and even
> longints) in the machine, it is not the case for rationals. Moreover
> most programmin
Steven D'Aprano <[EMAIL PROTECTED]> writes:
> > implementation in pure Python). Finally, arithmetic would become very
> > confusing if there were three distinct numeric types; it already causes
> > enough confusion with two!
There's already ints, longs, floats, complexes, and decimals. What's
th
George Neuner writes:
> On Wed, 3 Oct 2007 09:36:40 + (UTC), [EMAIL PROTECTED] (Bent C
> Dalager) wrote:
>
>>In article <[EMAIL PROTECTED]>, David Kastrup <[EMAIL PROTECTED]> wrote:
>>>[EMAIL PROTECTED] (Bent C Dalager) writes:
>>>
In article <[EMAIL PROTECTED]>,
Frank Goenninger
In message <[EMAIL PROTECTED]>, Steven D'Aprano wrote:
> ... pedants ...
When people use that word against me, it's generally a sign they're trying
not to admit I'm right.
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Bent C Dalager wrote:
>
>> Unfortunately, these days English almost always means American English...
>
> North American or South American? Seems like USAmericans speak a little
> different English from other Americans...
Leave him be i
Hendrik van Rooyen wrote:
> "Steve Holden" wrote:
>
>> religious issues for me. It's more like "This problem has a cross head,
>> so I'll need a Philips screwdriver".
>
> As long as it is not a Pozidrive, that is a commendable attitude.
>
I said cross head, not Pozidriv (tm). But then I have
JBJ wrote:
> Steve Holden wrote:
>
>> Duncan Booth wrote:
>>> [EMAIL PROTECTED] wrote:
>>>
On Oct 4, 7:35 am, JBJ >>> [EMAIL PROTECTED]> wrote:
> Hi,
> I'am very newbie in Python.
> For the moment I'am trying to convert an unicode character to his
> uppercase unaccented charac
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, George Neuner
> wrote:
>
>> The Christian Bible says "In the beginning was the Word..."
>
> Which is an English mistranslation from the Greek "logos".
So, now you're telling me that the Garden of Eden was actually a
*marketing campaig
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Steven D'Aprano wrote:
>
>> ... pedants ...
>
> When people use that word against me, it's generally a sign they're trying
> not to admit I'm right.
If it were less important to be right and more important to be
considerate this threa
Lawrence D'Oliveiro a écrit :
> In message <[EMAIL PROTECTED]>, Carsten
> Haese wrote:
>
>> On Thu, 2007-10-04 at 11:11 +1300, Lawrence D'Oliveiro wrote:
>>
>>> In Python, all names _are_ variables. They are not "bound" to objects.
>>> The value of os.path is a pointer.
>> No. "os.path" refers to
Hrvoje Niksic a écrit :
> Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
>
>> it's quite common to use the __init__.py of the package (as
>> explained by Ben) as a facade to the internal organization of the
>> package, so you can change this internal organization without
>> breaking client code.
In message <[EMAIL PROTECTED]>, Steve
Holden wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message <[EMAIL PROTECTED]>, George Neuner
>> wrote:
>>
>>> The Christian Bible says "In the beginning was the Word..."
>>
>> Which is an English mistranslation from the Greek "logos".
>
> So, now you're te
Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Steve
> Holden wrote:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message <[EMAIL PROTECTED]>, George Neuner
>>> wrote:
>>>
The Christian Bible says "In the beginning was the Word..."
>>> Which is an English mistranslation from the Gr
--
http://mail.python.org/mailman/listinfo/python-list
>
> how to configure apache where i want to configure .
> if any files want to copy in to apache folder, wahts the procedure to
> start the coding pls help me am very very beginner pls spend some time
> to teach how to do that.please plaes
>
Unlike PHP, Python is not primarily a web programming la
On 10/4/07, Damodhar <[EMAIL PROTECTED]> wrote:
> hi,
>
> Am working in PHP MYSQL. I am very very interest to learn Python but i
> don't Know Little Bit,
> am using windows Xp, Ialready download from
> http://www.python.org/ftp/python/2.5.1/python-2.5.1.ia64.msi
>
> and install into C:\Python25
>
>
Check it out:Very good online resources,tons of cool men and beautiful
women eager for lovers:
1.Buy tickets online:
http://groups.google.com/group/all-good-things/web/want-to-buy-tickets-online-come-here
2.No 1 social network:
http://groups.google.com/group/all-good-things/web/1-social-netwo
hi,
Am working in PHP MYSQL. I am very very interest to learn Python but i
don't Know Little Bit,
am using windows Xp, Ialready download from
http://www.python.org/ftp/python/2.5.1/python-2.5.1.ia64.msi
and install into C:\Python25
whats the next step . i UsedApache 2.0 run as a local serve
Tim X wrote:
> "The Americans are identical to the British in all respects except, of
> course, language." Oscar Wilde
> "We (the British and Americans) are two countries separated by a common
> language. G.B. Shaw
> There is a well-known saying: Two nations separated by a common language.
>
marcpp wrote:
> Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
> (various distributions), but in Windows all appears disordered.
> Any recomendations?
A slightly unhelpful one might be "learn to use sizers", as they are the
key to ordered layouts. Unfortunately the learn
Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
>> We agree on that. It is the OP who *wants* to access his modules
>> directly without ever naming the package.
>
> To be exact, he wants to reorganize it's source code (splitting a
> file that's getting too big AFAICT)
You're right, I misread his
[EMAIL PROTECTED] wrote:
> We've had some reports of a UnicodeDecodeError in SpamBayes by people using
> its IMAP filter. I'm unable to reproduce it with other SpamBayes
> applications I use and don't have a suitable IMAP setup in which to test it.
> This problem is holding up the 1.1 release of S
On 2007-10-03, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Ben Finney wrote:
>
>> Lawrence D'Oliveiro <[EMAIL PROTECTED]> writes:
>>
>>> On my Gentoo system:
>>>
>>> >>> import os
>>> >>> os.path
>>>
>>>
>>> It's just a variable that happens to p
Hi...
Looking for an app that provides bidding/auction functionality, for a system
similar to what Google provides.
Anybody have any expertise with any system like this, or any kind of app
that could be modified to get this kind of functionality.
Thanks
--
http://mail.python.org/mailman/list
Steve Holden wrote:
> Lawrence D'Oliveiro wrote:
>> In message <[EMAIL PROTECTED]>, Steve
>> Holden wrote:
>>
>>> Lawrence D'Oliveiro wrote:
>>>
In message <[EMAIL PROTECTED]>, George Neuner
wrote:
> The Christian Bible says "In the beginning was the Word..."
Which is an Eng
I've used [::-1] as a shorthand for reverse on several occasions, but
it occurred to me yesterday I never really thought about why it
works. First, I checked out the documentation.
>From section 3.6 of the Python Library Reference:
"The slice of s from i to j with step k is defined as the sequen
Hi,
I recently started using Python and am extremely happy with how
productive it's made me, even as a new user. I'm hoping to continue
using the language for my research, and have come across a bit of a
stumbling block.
I'm a seasoned Java programmer and quite a big fan of interfaces...
i.e. The
Wojciech Gryc napisał(a):
> I'm a seasoned Java programmer and quite a big fan of interfaces...
> i.e. The idea that if I make a number of distinct classes that
> implement interface X, I can pass them all as parameters to functions
> or whatnot that require an X object.
>
> Is there something si
hello,
I'm struggling with a memory leakage of my app for quite some
time. Could somebody help?
I join a demo program in attachment.
The problem is that the memory consumption keeps on increasing while
opening and closing tabs.
In the demo attached a click on "button" will open a new tab. If, f
On Oct 4, 11:11 am, Wojciech Gryc <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I recently started using Python and am extremely happy with how
> productive it's made me, even as a new user. I'm hoping to continue
> using the language for my research, and have come across a bit of a
> stumbling block.
>
> I
Thank you Carl and thank you Jarek. This makes me feel much better --
on to coding, I shall go. :)
Thanks again,
Wojciech
On Oct 4, 11:27 am, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Oct 4, 11:11 am, Wojciech Gryc <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I recently started using Python and am
On Oct 4, 4:35 pm, Gary Coulbourne <[EMAIL PROTECTED]> wrote:
> >>> dict1={1: 4, 3: 5}... and 2 millions element
> >>> dict2={3: 3, 8: 6}... and 3 millions element
>
> If you don't mind doing some kind of lazy evaluation, you could do
> something like...
>
> --
> dict1
Steve Holden wrote:
> Malheureusement, I see that absence of accented capitals is a modern
> phenomenon that is regarded as an impediment to the language mostly
> stemming from laziness of individual authors and inadequacy of low-end
> typesetting software. I hadn't realised I was so up-to-date
>>> dict1={1: 4, 3: 5}... and 2 millions element
>>> dict2={3: 3, 8: 6}... and 3 millions element
If you don't mind doing some kind of lazy evaluation, you could do
something like...
--
dict1={1:4, 3:5}
dict2={3:3, 8:6}
import UserDict
class Merge(UserDict.DictMixi
Hendrik van Rooyen wrote:
> "Wildemar Wildenburger" wrote:
>
>> (By the way: Accusing a German of racism is almost too easy an insult.
>> Not that I had taken any, just saying.)
>
> I always thought that it would be insulting to a German if you accused
> him or her of not being a racist...
>
Hello,
I am trying to pickle an object, and I get:
TypeError: a class that defines __slots__ without defining
__getstate__ cannot be pickled
I didn't find __slots__ in the object or the class. Is there a way to
find it, or to to know which object or class causes the problem?
Thanks
--
http://
Hi,
The following regex (Not including the end quotes):
"@param\[in|out\] \w+ "
Should match any of the following:
@param[in] variable
@param[out] state
@param[in] foo
@param[out] bar
Correct? (Note the trailing whitespace in the regex as well as in the
examples)
--
http://mail.python.org/ma
It should also match:
@param[out] state Some description of this variable
On 10/4/07, Robert Dailey <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The following regex (Not including the end quotes):
>
> "@param\[in|out\] \w+ "
>
> Should match any of the following:
>
> @param[in] variable
> @param[out]
On Thu, Oct 04, 2007 at 04:49:50PM +0200, Wildemar Wildenburger wrote regarding
Re: The Modernization of Emacs: terminology buffer and keybinding:
>
> Steve Holden wrote:
> > Lawrence D'Oliveiro wrote:
> >> In message <[EMAIL PROTECTED]>, Steve
> >> Holden wrote:
> >>
> >>> Lawrence D'Oliveiro wr
On Thu, 2007-10-04 at 17:30 +0200, Wildemar Wildenburger wrote:
> Sidenote: Its funny that everybody calls the Dutch "Dutch" (when
> speaking English), which pretty much is the word "deutsch", which, guess
> what, means "German" (cf. Pennsylvania Dutch). That has always baffled
> me --- do Dutch
In article <[EMAIL PROTECTED]>,
John Nagle <[EMAIL PROTECTED]> wrote:
> Filip Salomonsson wrote:
> > On 02/10/2007, John Nagle <[EMAIL PROTECTED]> wrote:
> >> But there's something in there now that robotparser doesn't like.
> >> Any ideas?
> >
> > Wikipedia denies _all_ access for the standard
JL wrote:
> Hello,
>
> I am trying to pickle an object, and I get:
>
> TypeError: a class that defines __slots__ without defining
> __getstate__ cannot be pickled
>
> I didn't find __slots__ in the object or the class. Is there a way to
> find it, or to to know which object or class causes the p
On Thu, 2007-10-04 at 10:58 -0500, Robert Dailey wrote:
> It should also match:
>
> @param[out] state Some description of this variable
>
>
> On 10/4/07, Robert Dailey <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The following regex (Not including the end quotes):
>
>
"Hendrik van Rooyen" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Jean-Francois Canac wrote:
>
>>I am reading a large amount of data from a COM port (or from a file) at a
>>rate
> of 20 records per second. It is about >positioning of a vehicle on a race
> track.
>>I
Hello folks,
I'm having an issue with mixing wxPython and threading ... I realize
multi-threading always introduces subtle bugs, but the following
scenario is just odd:
I start a dummy thread, that does nothing but increment a counter and
print its value to the screen, then afterwards, I start th
You *are* talking about python regular expressions, right? There are a number
of different dialects. Also, there could be issues with the quoting method
(are you using raw strings?)
The more specific you can get, the more we can help you.
Cheers,
Cliff
On Thu, Oct 04, 2007 at 11:54:32AM -05
hello,
i've spent couple of hours trying to figure out the correct regular
expression to catch a VisualLisp (it is for AutoCAD and has a syntax
that's similar to common lisp) function body. VisualLisp is case-
insensitive. Any line beginning with ";" is for comment (can have
space(s) before ";").
> Is this a subclass? Look at the parent classes.
Its class is a subclass of a similar class, but it indirectly
references instances of subclasses of asyncore.dispatcher or
asynchat.async_chat. I don't think there are other particular classes.
If I remove the first references, pickle works. A
I am using py2exe to generate an executable so that I can deliver my
scripts as a EXE. I have a couple of file that are needed by the
program that I do not want to include in the EXE because they are used
for program configuration (similar to the way an INI file is used.)
These file may change per
On 10/4/07, Adam Lanier <[EMAIL PROTECTED]> wrote:
>
>
> try @param\[(in|out)\] \w+
>
This didn't work either :(
The tool using this regular expression (Comment Reflower for VS2005) May be
broken...
--
http://mail.python.org/mailman/listinfo/python-list
Wojciech Gryc a écrit :
> Hi,
>
> I recently started using Python and am extremely happy with how
> productive it's made me, even as a new user. I'm hoping to continue
> using the language for my research, and have come across a bit of a
> stumbling block.
>
> I'm a seasoned Java programmer
So y
I added the following method to the 2 subclasses of
asyncore.dispatcher and asynchat.async_chat and now pickle works:
def __getstate__(self):
return
Later I will probably modify this method so it returns something more
interesting.
Thanks for your help! I was confused because I am not
On Oct 4, 1:13 pm, Kelie <[EMAIL PROTECTED]> wrote:
> hello,
>
> i've spent couple of hours trying to figure out the correct regular
> expression to catch a VisualLisp (it is for AutoCAD and has a syntax
> that's similar to common lisp) function body. VisualLisp is case-
> insensitive. Any line beg
[EMAIL PROTECTED] wrote:
> I am using py2exe to generate an executable so that I can deliver my
> scripts as a EXE. I have a couple of file that are needed by the
> program that I do not want to include in the EXE because they are used
> for program configuration (similar to the way an INI file is
On 2007-10-04, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Yes, and it's even simpler : just pass your object. If it effectively
> implements the desired interface, everything will work fine !-)
[...]
>> What I'd like to do is create a feature detection system for
>> my work -- specifically
> i've spent couple of hours trying to figure out the correct regular
> expression to catch a VisualLisp
[snipped]
> "(defun foo", but it is hard to find the ")" at the end of code block.
> if eventually i can't come up with the solution using regular
> expression only, what i was thinking is afte
On 10/4/07, Casey <[EMAIL PROTECTED]> wrote:
[snippage]
>
> Following the reference to section 3.2 provides a (non-rigorous)
> description of what a slice object is, in terms of the extended
> slicing semantics. But it doesn't shed any additional light on the
> meaning of [::-1].
>
> >From this, I
You don't necessarily need the subprocess module to do this, though you
could use it.
I've done this sort of thing in the past with fork and exec.
To serialize the jobs on the machines, the easiest thing is to just send
the commands all at once to a given machine, like "command1; command2;
comma
I don't know how "clean" it is, but there are a few situations in which I do
something like this:
getattr(obj, "method", default_method)(*original_method_args)
The default_method is a base implementation or a simple error handler. For
example, when a client hits one of our XMLRPC servers and pass
On Thu, Oct 04, 2007 at 10:15:59AM -0700, [EMAIL PROTECTED] wrote:
> ... because they are used for program configuration ...
not sure if i completely understood but i guess you do something like
that:
my_config.py:
db_host = "mydbserver"
db_user = "root"
...
and in your program.py yo
On 2007-10-04, Casey <[EMAIL PROTECTED]> wrote:
> I've used [::-1] as a shorthand for reverse on several occasions, but
> it occurred to me yesterday I never really thought about why it
> works. First, I checked out the documentation.
>
>>From section 3.6 of the Python Library Reference:
>
> "The
I think I don't understand how the module search path works...
Let's say I have a folders called 'test'. Underneath it, I create two
more folders called 'foo' and 'bar'.
In 'foo', I create an empty '__init__.py' file, indicating that this
folder is a package 'foo'. I then create a simple python
On Oct 4, 7:50 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> Use a parsing lib. I've tinkered a bit with PyParsing[1] which
> is fairly easy to pick up, but powerful enough that you're not
> banging your head against limitations. There are a number of
> other parsing libraries[2] with various domain
On Oct 4, 7:28 am, Dan <[EMAIL PROTECTED]> wrote:
> So, paren matching is a canonical context-sensitive algorithm. Now,
> many regex libraries have *some* not-purely-regular features, but I
> doubt your going to find anything to match parens in a single regex.
> If you want to go all out you can us
On 10/4/07, Shafik <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> I'm having an issue with mixing wxPython and threading ... I realize
> multi-threading always introduces subtle bugs, but the following
> scenario is just odd:
>
> I start a dummy thread, that does nothing but increment a counter and
On 10/4/07, mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
<[EMAIL PROTECTED]> wrote:
> I think I don't understand how the module search path works...
>
> Let's say I have a folders called 'test'. Underneath it, I create two
> more folders called 'foo' and 'bar'.
>
> In 'foo', I create a
On Oct 2, 11:11 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 02 Oct 2007 12:12:09 -0300, rc <[EMAIL PROTECTED]> escribi?:
>
> >> Try objCOMAdminCatalogObject.SetValue("ID", AppID).
> > When I try that I get exception:
> > AttributeError: Add.SetValue
>
> I think you would get more h
On Oct 4, 1:41 pm, "Kurt Smith" <[EMAIL PROTECTED]> wrote:
> >>> 'abc'[None:None:-1]
> 'cba'
> Kurt
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Martin and John,
Thank you both for your replies
Must I have OpenSSL imported in my Python program?
So far I have been using only SSL support.
Built-in SSL support works OK if I connect from my Python program
directly to SSL server ( but not via proxy).
L.
--
http://mail.python.org/mailman/lis
On 10/4/07, J. Clifford Dyer <[EMAIL PROTECTED]> wrote:
>
> You *are* talking about python regular expressions, right? There are a
> number of different dialects. Also, there could be issues with the quoting
> method (are you using raw strings?)
>
> The more specific you can get, the more we can
Casey wrote:
> I've used [::-1] as a shorthand for reverse on several occasions, but
> it occurred to me yesterday I never really thought about why it
> works. First, I checked out the documentation.
>
>>From section 3.6 of the Python Library Reference:
>
> "The slice of s from i to j with step
I don't know how many other people subscribe to the python mailing list and
use the mailing list using the web-based interface for Gmail, but I do. I
use it mainly because Gmail doesn't support IMAP and I use my email from
multiple locations. Gmail web based works fine except that it starts your
ca
On 10/4/07, brad <[EMAIL PROTECTED]> wrote:
> Does anyone else feel that unittesting is too much work? Not in general,
> just the official unittest module for small to medium sized projects?
>
> It seems easier to write some quick methods that are used when needed
> rather than building a program w
Does anyone else feel that unittesting is too much work? Not in general,
just the official unittest module for small to medium sized projects?
It seems easier to write some quick methods that are used when needed
rather than building a program with integrated unittesting. I see the
value of it
> As far as the dialect, I can't be sure. I am unable to find documentation
> for Comment Reflower and thus cannot figure out what type of regex it is
> using. What exactly do you mean by your question, "are you using raw
> strings?". Thanks for your response and I apologize for the lack of detail.
>
>
>
>>>On Oct 3, 2007, at 11:42 AM, Gerardo Herzig wrote:
>>>
>>>
>>>
Hi all. I have a single file with several classes, wich i want to
separate into several packages.
The big file is named, say MYCLASES, and contains a class named
A(object), and B(A).
We have be
1 - 100 of 174 matches
Mail list logo