@ justin .pyw works just fine with command prompt

@ my lazt post
Kindly use quotes("") for paths otherwise, path containing white spaces
will break


On Saturday, May 4, 2013, Justin Israel <[email protected]> wrote:
> I think from the command prompt you would use the .py instead of the pyw.
> pyw is the windows special version that tells it not to load up a console
when you double click it. And you would either need to make sure .py is
associated with python, or run it with the interpreter as DayDreamer
mentioned.
>
> On Sat, May 4, 2013 at 5:43 PM, Day Dreamer <[email protected]>
wrote:
>
> U need to have python executable path before your script path
>
> Eg. C:/Python31/python.exe C:/myScript/hello_world.pyw
>
> Also, make sure your PyQt package path is configured( if its in
site-packages it will get added automatically), otherwise gou have to
explicitly add the path to system paths using sys.path.append method.
>
> On Saturday, May 4, 2013, matthew park <[email protected]> wrote:
>> Thanks Justin,
>>
>> I don't get any error, basically code itself is fine and when I run
'*.pyw' file in eclipse editor, the GUI is shown up.
>> But, I want to run this GUI program in the command prompt of Windows.
code is run but GUI isn't shown up if I type like
>> "C:\myPyQt\blah.pyw myApp parameter" in the command prompt.
>>
>>
>>
>>
>>
>>
>> On Fri, May 3, 2013 at 2:32 PM, Justin Israel <[email protected]>
wrote:
>>>
>>> Can you be more specific? It doesn't show up, as in it says "PyQt4" not
found? Can you show what you are doing and what error is being raised?
>>> If you have installed the binary installers for pyqt, then it should be
in your site-packages.
>>> On May 4, 2013, at 2:35 AM, matthew park wrote:
>>>
>>> Hi there PyQt experts!
>>> I am trying to run PyQt Gui in the command line(cmd) in Windows, but it
doesn't show up.
>>> I got python31, SIP, and PyQt. Sip is configured.
>>> Is there something I missed?
>>> Thanks a lot!!
>>>
>>> Matt,
>>> --
>>> 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 post to this group, send email to [email protected]
.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>> --
>>> 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 post to this group, send email to [email protected]
.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>
>> --
>> 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 post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> 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 post to this group, send email to

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to