Hello Justin,

thanks for the reply

my goal is pyqt window being popped up with double clicking in file browser 
like the other software without typing python command in the shell.

this is the video that I was following. but it did not work for me.
https://www.youtube.com/watch?v=d5NuWrOcZt4

and what is the best way to do this?

cheers,
-Jun


On Tuesday, 19 May 2015 19:05:36 UTC-7, Justin Israel wrote:
>
> Hi,
>
> Is your expectation that double clicking an executable python script would 
> result in a terminal window being popped up? That isn't what is happening 
> here. Most likely what you are getting is your python process not ending, 
> because it is sitting on input from stdin, which it never gets.  See what 
> happens after you double click the file, and then run this in a terminal:
>
> $ ps aux | grep test
>
> My guess is you will see these processes hanging around, until you kill 
> it. 
>
> Justin
>
>
> On Wed, May 20, 2015 at 12:59 PM Jung Hun <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> I was trying to make clickable python file in linux. but it does not work 
>> for some reason.
>>
>> I made test.py file and wrote down like below.
>>  
>> #!/usr/local/bin/python
>> print "this is test"
>> raw_input()
>>
>> and I did chmod 777 test.py and also chmod +x test.py in the shell.
>> and when I double clicked it in file manager which is dolphin, it does 
>> not happen anything.
>>
>> my system is 
>> System:  Fedora release 13 (Goddard)
>> KDE:  4.5.5 (KDE 4.5.5)
>>
>> thanks for your help in advance.
>> -Jun
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/55eb2e80-1e0f-4eb3-9e54-7ea8afcc11f1%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/55eb2e80-1e0f-4eb3-9e54-7ea8afcc11f1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/0efaf557-9d0e-4885-a353-49450f938e24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to