Ed Leafe wrote:
> On Jan 28, 2009, at 3:30 PM, Bob Sysero llc Dev wrote:
>
>   
>> ** PROBLEM *** PROBLEM ***************************** I Had to stop  
>> here
>>
>> The problem I am having is in Ubuntu 8.04 when I click on main.py and
>> then select run or run in terminal NO WINDOW is being displayed.  If I
>> run the terminal in the HelloWorld Directory I can run the main by
>> typing:
>>
>> python main.py
>>
>> But for a customer that would not be a option! So what I could do is
>> create another script called run Hello World that would have in the
>> script:
>>
>> export PYTHONPATH=$HOME/temp/HelloWorld
>> cd $HOME/temp/HelloWorld
>> python main.py
>>
>> My Quiestion is there a simpler way that I can include in this How To?
>>     
>
>       main.py should have the following lines at the top:
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> Since it is executable, double-clicking it should run it with python  
> as expected. I just tried it in KDE using Dolphin, and it ran as  
> expected. Is your main.py executable?
>
>
> -- Ed Leaf

I am running on Gnome and I checked the main.py is set for executable. 
What is strange is when I started back in the the early summer 2008 I 
had no problems when I clicked on the main.py. When working on the How 
To use Class Designer that I found I could not click on main.py and run 
the demo. If I run the terminal type in cd to my current directory then 
type:

python main.py

The demo runs without a problem.

Any Idea
Bob


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to