•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 429,822 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,319 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 2551 | Replies: 3
![]() |
•
•
Join Date: Nov 2007
Location: Ireland
Posts: 21
Reputation:
Rep Power: 1
Solved Threads: 1
Does anyone know how easy it is to automate a web browser using python?
If so, can you point me in the direction of any basic examples of screen scraping and html manipulation using python
I work with firefox
LarZ
If so, can you point me in the direction of any basic examples of screen scraping and html manipulation using python
I work with firefox
LarZ
Last edited by LarZ : Dec 7th, 2007 at 11:52 am.
if this were a computer game i'd be googling a patch right now...
•
•
Join Date: Feb 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I have not seen any code release for automating firefox with python, but I have seen one for the IE browser. Check out PAMIE for Internet Explorer: http://sourceforge.net/projects/pamie/
•
•
Join Date: Oct 2007
Posts: 41
Reputation:
Rep Power: 2
Solved Threads: 5
Webbrowser is great too.
import webbrowser as WEB
WEB.open('anyfile.extension')
# are URL's accepted? probably
# or under Linux, you could;
# import os
# os.system('firefox URL')
# and then
# os.system('killall -9 firefox') Last edited by 1337455 10534 : Mar 21st, 2008 at 7:00 pm.
"And da wind cry moron." ~ Pearls Before Swine
![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adult advertising blog browser browsing community data design development devices domains email firefox google india intel internet java legal linux marketing merger microsoft mozilla msn multimedia news php privacy programming python report research rss search security sex software sun video w3c web web development wiki wikipedia windows xml yahoo youtube
- Previous Thread: Client Web Service
- Next Thread: Judging my skill.


Linear Mode