[Geany] how to run a python script?

Mahela Munasinghe mahela007 at xxxxx
Thu Feb 26 07:00:56 UTC 2009


spir wrote:
> Le Thu, 26 Feb 2009 10:51:09 +0530,
> Mahela Munasinghe <mahela007 at gmail.com> s'exprima ainsi:
>
>   
>> hi.. I'm  a new user of geany. I seem to be having a problem running 
>> python scripts
>> I use kubuntu and I have python 2.5 AND python 3.0 installed. However 
>> when I save the file and hit F5 to run it I get a message saying
>> "09:57:32: Could not find terminal "xterm" (check path for Terminal tool 
>> setting in Preferences)"
>>
>> what's wrong?
>>     
>
> Not 100% sure. First learn which python is the default one for your OS with
> 	which python
>
> Geany executes your script using an OS commant defined under build/run command. You will probably find there
> 	python "%f"
>
> Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead
> 	/usr/bin/python "%f"
>
> You can dynamically change version if needed by setting the path found under
> 	which python2.5
> 	which python3.0
>
> [this is maybe a possible 'how', but I would like to know the 'why']
>
> denis
>
> ------
> la vita e estrany
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>   
where can I change this path? is there an option in geany or do i have 
to edit a text file?



More information about the Users mailing list