"Chris Smith" <[EMAIL PROTECTED]> wrote
>>>I'm trying to learn how to use Pmw.BLT
> I know I've installed Pmw ok since all I do for installation is
> unpack
> it and put in into the site-packages folder in the python
> installation.
I admire your optimism! :-)
Have you actually proved it by ge
"Jay Mutter III" <[EMAIL PROTECTED]> wrote
> The following is what I put in (interactively) and what I got out.
>
> >>> ss = open('inp.txt')
> >>> s = ss.read()
> >>> s.replace('p. ','\n')
> 'Barnett, John B., assignor of one-half to R. N. Tutt, Kansas City,
> Mo. Automatic display-sign.\xc2\xa0
Alan Gauld wrote:
> "Chris Smith" <[EMAIL PROTECTED]> wrote
>
>
>>I'm trying to learn how to use Pmw.BLT
>
>
>>line 16, in __init__
>>self.vector_x = Pmw.Blt.Vector()
>> File "C:\Python24\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBlt.py",
>>line
>>99, in __init__
>>self.tk.call(_vectorComm
"Utkarsh Tandon" <[EMAIL PROTECTED]> wrote
> So I was just trying to make a program that removed
> comments from a C program.
> The program worked but a whitespace came after every
> character. Can anyone please tell me the reason for thw
> whitespace.
See comments below.
But a general observati
On 3/25/07, Utkarsh Tandon <[EMAIL PROTECTED]> wrote:
> realtext = str(realtext)
Here's the problem. Use this instead:
realtext = "".join(realtext)
> realtext = realtext.replace('[', "").replace(']', "").replace(',',
> "").replace("'", "").replace('\\n', "").replace('\\t', "")
And d
Umm, hey everyone
I'm a newbie to the world of programming. The best way to learn anything is
to do it. So I was just trying to make a program
that removed comments from a C program. The program worked but a whitespace
came after every character. Can anyone please tell me the reason for thw
white
On 3/25/07, Jay Mutter III <[EMAIL PROTECTED]> wrote:
[snip huge post]
92% of the lines in your post contained quotes from earlier posts.
Please try to reduce the amount of quoted lines.
--
- Rikard.
___
Tutor maillist - Tutor@python.org
http://mai
>
> Message: 1
> Date: Sat, 24 Mar 2007 16:41:22 -0700 (PDT)
> From: Jaggo <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Tutor Digest, Vol 37, Issue 62
> To: tutor@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Message: 2
> Date: Sat, 24 Mar 2007 19:2
"Chris Smith" <[EMAIL PROTECTED]> wrote
> I'm trying to learn how to use Pmw.BLT
> line 16, in __init__
> self.vector_x = Pmw.Blt.Vector()
> File "C:\Python24\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBlt.py",
> line
> 99, in __init__
> self.tk.call(_vectorCommand, 'create', self._name)
>
"Lurch" <[EMAIL PROTECTED]> wrote
> the nuts,bolts, and the occasional nail. Now Im trying to code a
> simple
> status window to let the dumb user (me) know what's going on behind
> the
> curtain. The idea is, the application calls the subroutine, the
> subroutine pops open a frame and print s
10 matches
Mail list logo