On Sat, Apr 16, 2005 at 12:58:33PM -0400, Paul Tremblay wrote:
> I have written a script that is available at:
>
> https://sourceforge.net/projects/rtf2xml/
>
> This script has gotten about 1600 downloads and I have not got many
> bug complaints. However, recently I got the bu
I've looked
around the Python online documentation, but haven't found any
clues. Any suggestions?
--
****
*Paul Tremblay *
[EMAIL PROTECTED]*
___
Tutor maillist - Tutor@python.org
http://
problem I have with the
python url2lib is the dfficulty of determining the realm. For example,
bot lynx and curl (command line url tools) don't need a realm to work.
This seems to mean that lynx and curl provide more flexibility.
Paul
--
Adobe Draw, with
small difference that I had to start it form my shell. I'm pretty sure
there are ways to start applications without a shell. That isn't too
hard. The hard part is writing a program with a graphical interface.
This is always hard, in any languge.
Paul
--
On Wed, Mar 09, 2005 at 08:29:46AM -0500, Kent Johnson wrote:
>
> Kent Johnson wrote:
> >Paul Tremblay wrote:
> >
> >>So I just make a file called /etc/router_passwords and include
> >>something like
> >>WRT54G username password
> >>
> &
On Tue, Mar 08, 2005 at 01:42:40PM -0500, Kent Johnson wrote:
> Date: Tue, 08 Mar 2005 13:42:40 -0500
> From: Kent Johnson <[EMAIL PROTECTED]>
> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
> Cc: python tutor
> Subject: Re: [Tutor] getting a webpage via python
>
On Tue, Mar 08, 2005 at 11:50:12AM -0500, Kent Johnson wrote:
>
> Paul Tremblay wrote:
>
> You can use urllib2 to do this. It is a little work to set it up to use
> Basic authentication. Here is an example (slightly modified from the
> urllib2 example page):
>
> impo
then parse it.
I would like to make the code independent of lynx, if possible.
Thanks
Paul
--
****
*Paul Tremblay *
[EMAIL PROTECTED]*
___
Tutor maillist - Tutor@python.org
http://mail.pytho
ame module as the client and name the helper
> starting with _.
> - I tend to worry more about naming with _ in a module that is likely to be
> reused. For a module that will probably be only be used once, I don't use _
> at all. In a module that has a public API I try to use _
During the recent discussion on jython, a poster
brought up the good point that one should hide
variables and modules to indicate that they are
not for public use:
self.__for_internal_purposes = 5
__internal_stuff.py
"""
This module only makes sense for use with
the parent module.
"""
So one co
road and all but i'll be honest, i am in a big
> jam here and this huge task was just dumped on me. I am frankly a
> little desperate for help on this and hoping someone is feeling up to
> spoon feeding me a clear m
e_obj.write(line)
else:
break
# test for errors
error_result = error_obj.readlines()
read_obj.close()
junk_obj.close()
error_obj.close()
if error_result:
return 1
--
*Paul Tremblay
12 matches
Mail list logo