1. Naive Lazyweb Question: Programmatic Form Editing

    Dear lazyweb,

    I would like to be able to write Python code like the following:

    page_obj = parse(html_code)
    
    form_obj = page_obj.forms[0]
    
    form_obj.my_name = 'bob'
    form_obj.my_select.choose('option2')
    
    new_html_code = page_obj.emit_html()
    

    That is, we have an existing HTML form, and I would like to be able to parse it …

    read more

    There are comments.

  2. « Page 22 / 37 »

    Proudly powered by pelican, which uses python.

    The theme is subtlely modified from one by Smashing Magazine, thanks!

    For more about this blog's author, see the main site or the lab site

    While the author is employed by the University of California, Davis, his opinions are his own and almost certainly bear no resemblance to what UC Davis's official opinion would be, had they any.