IDLE accepts command line arguments.  Try idle -h to see the options.
Jestermon

On 8/10/09, Hagbard <[email protected]> wrote:
>
> Hello, I am new to Python and to pyglet. I am trying to get the media
> player example to work, but I am having trouble.
>
> First, I tried running it through IDLE, and it returned "sys.exit(1)",
> presumably because the length of sys.argv is less than  2, which, as
> far as I can tell, means that I need to execute it with a filename as
> an argument.
>
> I'm having trouble figuring out how to do that. Can anyone help me
> out?
>
> It gave me the hint "'Usage: media_player.py <filename>
> [<filename> ...]"
>
> But unfortunately, at this point that doesn't help me very much.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to