On 03/11/16 06:43, Palanikumar Gopalakrishnan wrote:
> On Wed, Nov 2, 2016 at 7:36 AM, wrote:
...
>> Today's Topics:
>>
>>1. Re: Python code (Danny Yoo)
>>2. Re: implementing sed - termination error (c...@zip.com.au)
>>3. Module webbrowser.os (Palanikumar Gopalakrishnan)
>>4. Re: i
On 03/11/16 01:31, Steven D'Aprano wrote:
> On Wed, Nov 02, 2016 at 09:16:56AM +, Alan Gauld via Tutor wrote:
>>
>> webbrowser.os(umask(0x777))
>
> I think you've missed the round brackets () and imagined a dot . :-)
Umm, yes, here is the actual session from my xterm:
web.os.umask(0x777)
e "shell=True" parameter. All the command line (which is the shell) is
> doing is honouring the shell quoting and constructing a sed invocation as
> distinct strings:
>
> sed
> -i
> s/this/that/g
> filename
>
> You want to do the equivalent in python, som
On Wed, Nov 02, 2016 at 09:16:56AM +, Alan Gauld via Tutor wrote:
> On 02/11/16 06:44, Palanikumar Gopalakrishnan wrote:
> > webbrowser.os(umask)
> >
> > But It retruns the following error
> >
> > *Traceback (most recent call last): File "", line 1, in
> > NameError: name 'umask' is not def
On Wed, Nov 02, 2016 at 12:14:50PM +0530, Palanikumar Gopalakrishnan wrote:
> Hi Guys,
> I recently tested with some code , which open browser
>
> import webbrowser
> webbrowser.open("https://www.google.com";)
>
> After that i want to experiment with webbrowser.os module,
webbrowse
On 02/11/16 06:44, Palanikumar Gopalakrishnan wrote:
> After that i want to experiment with webbrowser.os module, But dont know
> how to execute it.
webbrowser.os seems to just be a link to the standard os module.
So you should read the docs for os...and use the os module directly.
> So I use di
Hi Guys,
I recently tested with some code , which open browser
import webbrowser
webbrowser.open("https://www.google.com";)
After that i want to experiment with webbrowser.os module, But dont know
how to execute it.So I use dir(webbrowser.os) to find some details. Then i
tried the f