On Wed, Jun 11, 2008 at 7:22 PM, Kuros <[EMAIL PROTECTED]> wrote: > Thanks for the reply. Unfortunately, that didn't work. I can do things like: > import pyglet.window > and it works fine...but it can't seem to find text > Thanks again, > Kuros > > On Wed, Jun 11, 2008 at 6:57 PM, Matthew Stevens <[EMAIL PROTECTED]> > wrote: >> >> 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 >> > > >> > >>
Are you by chance do this inside a file you've named pyglet.py? -- \\\\\/\"/\\\\\\\\\\\ \\\\/ // //\/\\\\\\\ \\\/ \\// /\ \/\\\\ \\/ /\/ / /\/ /\ \\\ \/ / /\/ /\ /\\\ \\ / /\\\ /\\\ \\\\\/\ \/\\\\\/\\\\\/\\\\\\ d.p.s --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
