[Geany] Simple question - Michal Olber

Ricardo Briceno rib8 at xxxxx
Tue Jan 10 03:10:50 UTC 2012


No error on the console.

Thanks.

> Date: Mon, 9 Jan 2012 18:02:11 -0800
> From: mbrush at codebrainz.ca
> To: geany at uvena.de
> Subject: Re: [Geany] Simple question - Michal Olber
> 
> On 01/09/2012 05:08 PM, Colomban Wendling wrote:
> > Le 10/01/2012 01:30, Ross McKay a écrit :
> >> Ricardo Briceno wrote:
> >>
> >>> Very simple code. Maybe there is an option I need to configure:
> >>>
> >>> #!/usr/bin/env python
> >>> print "Hello World!"
> >>>
> >>> When I run it in Geany I get an empty shell (command language type
> >>> in linux) with just a $ prompt.
> >>
> >> Can you confirm that /usr/bin/env python actually gives you python? e.g.
> >> just type this into a terminal and tell us what output you get:
> >>
> >> /usr/bin/env python
> >>
> >> On Fedora 16, I get the python shell. If you get an error, it's probably
> >> because your computer doesn't have python set up correctly, or at least
> >> /usr/bin/env doesn't know about it.
> >
> > Or maybe that it maps to Python 3, for which the above snippet isn't
> > valid (print isn't a keyword anymore but a function -- e.g. needs
> > parenthesis around the argument(s)).
> 
> I think it'd at least print a SyntaxError on the console or something, 
> wouldn't it?
> 
> Cheers,
> Matthew Brush
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20120110/d4c79d33/attachment.html>


More information about the Users mailing list