In article <6ded5cc9-5491-43d3-849c-17fcfaaec...@k17g2000yqh.googlegroups.com>,
papa hippo wrote:
>
>The prime goal of 'phileas' is to enable html code to be seamlessly
>included in python code in a natural looking syntax, without resorting
>to templatng language.
>
>see:
>
>http://larry.myerscou
papa hippo writes:
> On 20 nov, 09:02, Stefan Behnel wrote:
>> papa hippo, 19.11.2009 19:53:
>>
>> > The prime goal of 'phileas' is to enable html code to be seamlessly
>> > included in python code in a natural looking syntax, without resorting
>> > to templatng language.
>>
>> I assume you know
On 20 nov, 09:02, Stefan Behnel wrote:
> papa hippo, 19.11.2009 19:53:
>
> > The prime goal of 'phileas' is to enable html code to be seamlessly
> > included in python code in a natural looking syntax, without resorting
> > to templatng language.
>
> I assume you know XIST, ElementTree's ElementMa
On 19 nov, 20:18, Steve Howell wrote:
> On Nov 19, 10:53 am, papa hippo wrote:
>
> > The prime goal of 'phileas' is to enable html code to be seamlessly
> > included in python code in a natural looking syntax, without resorting
> > to templatng language.
>
> > see:
>
> >http://larry.myerscough.nl
>> The prime goal of 'phileas' is to enable html code to be seamlessly
>> included in python code in a natural looking syntax, without resorting
>> to templatng language.
>>
>> see:
>>
>> http://larry.myerscough.nl/phileas_project/
>>
>> I intend to submit phileas to the python.announce forum with
papa hippo, 19.11.2009 19:53:
> The prime goal of 'phileas' is to enable html code to be seamlessly
> included in python code in a natural looking syntax, without resorting
> to templatng language.
I assume you know XIST, ElementTree's ElementMaker, and all those other
ways of generating XML/HTML
On Nov 19, 10:53 am, papa hippo wrote:
> The prime goal of 'phileas' is to enable html code to be seamlessly
> included in python code in a natural looking syntax, without resorting
> to templatng language.
>
> see:
>
> http://larry.myerscough.nl/phileas_project/
>
> I intend to submit phileas to
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8 code, it chokes. The
code is something like
On Fri, 10 Oct 2008 00:13:36 +0200, Johannes Bauer wrote:
> Terry Reedy schrieb:
>> I believe you are confusing unicode with unicode encoded into bytes
>> with the UTF-8 encoding. Having a problem feeding a unicode string,
>> not 'UFT-8 code', which in Python can only mean a UTF-8 encoded byte
>>
Johannes Bauer wrote:
Terry Reedy schrieb:
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8
On Thu, Oct 9, 2008 at 4:54 PM, Johannes Bauer <[EMAIL PROTECTED]> wrote:
> Hello group,
>
> Now when I take "website" directly from the parser, everything is fine.
> However I want to do some modifications before I parse it, namely UTF-8
> modifications in the style:
>
> website = website.replace(
Terry Reedy schrieb:
> Johannes Bauer wrote:
>> Hello group,
>>
>> I'm trying to use a htmllib.HTMLParser derivate class to parse a website
>> which I fetched via
>> httplib.HTTPConnection().request().getresponse().read(). Now the problem
>> is: As soon as I pass the htmllib.HTMLParser UTF-8 code,
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8 code, it chokes. The
code is something like
In <[EMAIL PROTECTED]>, Diez B. Roggisch wrote:
> Whatever lunix is, […]
An operating system for the Commodore 64. `LUnix NG` Website:
http://lng.sourceforge.net/
:-)
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot.Please forgive my careless mistake, I am completely a new user^-^2006/10/26, Fredrik Lundh <[EMAIL PROTECTED]>:
joe Li wrote:> **class Bunch(object):> def __init__(self, **fields):
> self.__dict__ = fields>> p = Bunch(x=2.3, y=4.5)> print p>> print p.__dict__>> I dont' unde
joe Li wrote:
> **class Bunch(object):
> def __init__(self, **fields):
> self.__dict__ = fields
>
> p = Bunch(x=2.3, y=4.5)
> print p
>
> print p.__dict__
>
> I dont' understand the usage of the double * here, could anyone explain
> it for me?
if you're
class Bunch(object): def __init__(self, **fields): self.__dict__ = fields p = Bunch(x=2.3, y=4.5)print p
print p.__dict__I dont' understand the usage of the double * here, could anyone explain it for me? thanks.
--
http://mail.python.org/mailman/listinfo/pyth
thanks Diez
i will start with your suggestions
let see what happen
On Oct 25, 11:27 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> >> what tools are you using to do that today?
>
> > where are many of EXE programs
> > but i need python solution for adding it to
[EMAIL PROTECTED] schrieb:
>> what tools are you using to do that today?
>
> where are many of EXE programs
> but i need python solution for adding it to my automate program under
> lunix
Whatever lunix is, under linux, a popular free OS you could e.g. use
PyKDE and let Qt render a KHTML-compone
> what tools are you using to do that today?
where are many of EXE programs
but i need python solution for adding it to my automate program under
lunix
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > how can i render html page to png image
> > ex:
> >
> > http://www.website.com/index.html
[EMAIL PROTECTED] wrote:
> how can i render html page to png image
> ex:
>
> http://www.website.com/index.html -> index.png
what tools are you using to do that today?
--
http://mail.python.org/mailman/listinfo/python-list
Pierre Imbaud wrote:
> Hi, Im looking for a way to display some python code
> in html: with correct indentation, possibly syntax hiliting, dealing
> correctly with multi-line comment, and... generating valid html code if
> the python code itself deals with html (hence manipulates tag litterals.
> T
"GHUM" <[EMAIL PROTECTED]> wrote:
>> Hi, Im looking for a way to display some python code
>> in html: with correct indentation, possibly syntax hiliting, dealing
>> correctly with multi-line comment,
>
>
> the usual way is to create your own web-framework
>
Or you could use an existing web frame
Fredrik Lundh wrote:
> Pierre Imbaud wrote:
>
> > I rather thought of some module built on python parser, generating html
> > or xml, ideally customizable.
>
> see "colorizer.py" and "element_colorizer.py" in this directory:
>
> http://svn.effbot.python-hosting.com/stuff/sandbox/pythondoc
>
Pierre,
> Hi, Im looking for a way to display some python code
> in html: with correct indentation, possibly syntax hiliting, dealing
> correctly with multi-line comment,
the usual way is to create your own web-framework
If it is just "some" Python code and you have to do it "once", just
look
Pierre Imbaud wrote:
> I rather thought of some module built on python parser, generating html
> or xml, ideally customizable.
see "colorizer.py" and "element_colorizer.py" in this directory:
http://svn.effbot.python-hosting.com/stuff/sandbox/pythondoc
--
http://mail.python.org/mailman
> Hi, Im looking for a way to display some python code
> in html: with correct indentation, possibly syntax hiliting, dealing
> correctly with multi-line comment, and... generating valid html code if
> the python code itself deals with html (hence manipulates tag litterals.
> Thanks for your help!
Colin J. Williams wrote:
> Josh Bloom wrote:
>
>>Hey Pierre,
>>
>>I'm using this plug-in for wordpress to display Python code.
>>http://blog.igeek.info/wp-plugins/igsyntax-hiliter/
>>It works pretty well and can display a lot of other languages as well.
>>
>>-Josh
>>
>>
>>On 10/3/06, *Pierre Imb
hanumizzle wrote:
> On 10/3/06, Colin J. Williams <[EMAIL PROTECTED]> wrote:
>
>
>>Another approach is to use PyScripter (an editor and IDE). One can
>>generate documentation and then save the generated html doc.
>>
>>Also PyDoc can be used directly.
>
>
> And if you want to go the traditional
On 10/3/06, Colin J. Williams <[EMAIL PROTECTED]> wrote:
> Another approach is to use PyScripter (an editor and IDE). One can
> generate documentation and then save the generated html doc.
>
> Also PyDoc can be used directly.
And if you want to go the traditional way, Emacs and Vim can both be
us
Josh Bloom wrote:
> Hey Pierre,
>
> I'm using this plug-in for wordpress to display Python code.
> http://blog.igeek.info/wp-plugins/igsyntax-hiliter/
> It works pretty well and can display a lot of other languages as well.
>
> -Josh
>
>
> On 10/3/06, *Pierre Imbaud* <[EMAIL PROTECTED]
Hey Pierre,I'm using this plug-in for wordpress to display Python code. http://blog.igeek.info/wp-plugins/igsyntax-hiliter/It works pretty well and can display a lot of other languages as well.
-JoshOn 10/3/06, Pierre Imbaud <[EMAIL PROTECTED]> wrote:
Hi, Im looking for a way to display some pytho
I figured it out... Just turned the POST request into a GET to see what
was getting appended to the URL - thanks Gabe!
Gabriel Genellina wrote:
> At Monday 7/8/2006 20:58, wipit wrote:
>
> >I need to process a HTML form in python. I'm using urllib2 and
> >HTMLParser to handle the html. There are s
At Monday 7/8/2006 20:58, wipit wrote:
I need to process a HTML form in python. I'm using urllib2 and
HTMLParser to handle the html. There are several steps I need to take
to get to the specific page on the relevant site the first of which is
to log in with a username/password. The html code tha
try this
http://miex.tigris.org
i wrote this for checking bad html, correct them and optimize them
--
http://mail.python.org/mailman/listinfo/python-list
I do exactly that in my Python CGI proxy (approx). I wrote a very
simple parser called scraper.py that makes it easy.
It won't choke on bad html either.
http://www.voidspace.org.uk/python/recipes.shtml
All the best,
Fuzzyman
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman
Steve Young wrote:
> Hi, I am looking for something where I can go through
> a html page and make change the url's for all the
> links, images, href's, etc... easily. If anyone knows
> of something, please let me know. Thanks.
You might try XIST (http://www.livinglogic.de/Python/xist)
Code might
Steve Young wrote:
> Hi, I am looking for something where I can go through
> a html page and make change the url's for all the
> links, images, href's, etc... easily. If anyone knows
> of something, please let me know. Thanks.
BeautifulSoup or PyMeld
Lorenzo
--
http://mail.python.org/mailman/l
Steve Young <[EMAIL PROTECTED]> writes:
> Hi, I am looking for something where I can go through
> a html page and make change the url's for all the
> links, images, href's, etc... easily. If anyone knows
> of something, please let me know. Thanks.
I've been doing a lot of that today. But the tool
39 matches
Mail list logo