LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2004, 01:24 PM   #1
fiomba
Member
 
Registered: Sep 2004
Posts: 63

Rep: Reputation: 15
Running from Python a browser


I am very newbie in python.
I would like to launch a browser (for ex. Mozilla) but with parameters, that is the url address of a page .

I have tried with
Code:
import os
os.system('mozilla')
It opens Mozilla and when I exit it returns "0"
But it does not work in this form:
Code:
os.system('mozilla', 'http://www.google.com')

TypeError: system() takes exactly 1 argument (2 given)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Python Script in UBUNTU Session Manager warnetgm Linux - Newbie 2 12-06-2006 03:08 PM
Python noob - running programs in the background / recieving signals form the OS crm Programming 0 09-18-2005 07:11 AM
running python programs in suse 9.2? crazytigger SUSE / openSUSE 2 06-13-2005 09:24 AM
Running eric3 Python IDE adam-red Linux - Software 1 12-18-2004 01:02 PM
running movies on browser ankscorek Linux - Distributions 1 11-14-2004 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration