I think you need to import the modules themselves. So if you want pylet.text you have to go "import pyglet.text"
On Thu, Jun 12, 2008 at 8:29 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > I just found Pyglet, and I was looking through the guide and some > examples, and while some work, this is causing an error: > > import pyglet > > label = pyglet.text.Label(etc..) > > or even: > > from pyglet import text > > It says there is no attribute named text. I'm using the latest SVN > version, and I couldn't find anything saying that it had changed from > 1.0 to 1.1, and I am using the 1.1 guide/docs. > > Any help would be greatly appreciated. > > Thanks, > Kuros > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
