Seite 1 von 1

Paste and copy from textbox, click button in a webpage.

Verfasst: Dienstag 13. Mai 2014, 10:50
von fourseason46
I'm writing one python program, it is the task:
Paste the html script into a textbox, click the convert button, and then copy from the textbox in a webpage:
http://www.seabreezecomputers.com/html2bbcode/
Who can help me, I thank you sincerely.

Re: Paste and copy from textbox, click button in a webpage.

Verfasst: Dienstag 13. Mai 2014, 11:26
von BlackJack
@fourseason46: Why do you describe the task in terms of what a user would do with a web browser? For a program it would be much easier to talk to the web server itself.

Also there is a module that does such a conversion without even the need of a web service: https://pypi.python.org/pypi/html2bbcode/