Message from discussion
do not understand:
Received: by 10.205.130.14 with SMTP id hk14mr1084125bkc.5.1342334595141;
Sat, 14 Jul 2012 23:43:15 -0700 (PDT)
X-BeenThere: pyglet-users@googlegroups.com
Received: by 10.204.143.150 with SMTP id v22ls3869725bku.1.gmail; Sat, 14 Jul
2012 23:43:11 -0700 (PDT)
Received: by 10.204.128.207 with SMTP id l15mr1086008bks.4.1342334591719;
Sat, 14 Jul 2012 23:43:11 -0700 (PDT)
Received: by 10.204.128.207 with SMTP id l15mr1086007bks.4.1342334591707;
Sat, 14 Jul 2012 23:43:11 -0700 (PDT)
Return-Path: <andreas.schie...@gmail.com>
Received: from mail-bk0-f47.google.com (mail-bk0-f47.google.com [209.85.214.47])
by gmr-mx.google.com with ESMTPS id q3si1310706bkv.1.2012.07.14.23.43.11
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 14 Jul 2012 23:43:11 -0700 (PDT)
Received-SPF: pass (google.com: domain of andreas.schie...@gmail.com designates 209.85.214.47 as permitted sender) client-ip=209.85.214.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andreas.schie...@gmail.com designates 209.85.214.47 as permitted sender) smtp.mail=andreas.schie...@gmail.com; dkim=pass header...@gmail.com
Received: by bkcik5 with SMTP id ik5so3040123bkc.6
for <pyglet-users@googlegroups.com>; Sat, 14 Jul 2012 23:43:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=OnKBOHoW7HqaI+/oulxMGJFpJPvWJz9KQfjW6ndPGyQ=;
b=vMpKx+28cqxG/CwanuVHYQNbD1FBqH8DBuQRwNrmQnRy+uF8EJW7ivNnC7Ay4r0z8w
atDV4EPp1KNWzg5kGVocg3PS8TLYyVhe83ML6bLYn9QVR+wsekD/c5RCb97Pg4RtIRSp
yOfiZGa/Qz6jnLP8gL5wynuqFSb8BeqX0KwUbfCUygP/ugQ08PcCjFwCvAvCNXAm0Zz5
F85pahaMG+RnwarjCIHFFZYUTXAw6w0CLQa7njhyBTTWMh6NKWd3qqKusPsgGuNpVoBD
P1x5yWYWM9n0dvvWzjJw7j1KXWNaglUSHTTQObRWeuOgVLjgeSm0SLpWycaXbX40Ryj5
R7WQ==
MIME-Version: 1.0
Received: by 10.204.156.4 with SMTP id u4mr3273770bkw.6.1342334591489; Sat, 14
Jul 2012 23:43:11 -0700 (PDT)
Received: by 10.204.103.79 with HTTP; Sat, 14 Jul 2012 23:43:11 -0700 (PDT)
In-Reply-To: <96f854fc-acb3-42b7-9464-ad9df56c3a2f@googlegroups.com>
References: <96f854fc-acb3-42b7-9464-ad9df56c3a2f@googlegroups.com>
Date: Sun, 15 Jul 2012 08:43:11 +0200
Message-ID: <CALM+mVDkuOk5NeTTCJ_W_v3tbOq6kX8QGGiZFJk=PvM7TGb...@mail.gmail.com>
Subject: Re: do not understand:
From: Andreas Schiefer <andreas.schie...@gmail.com>
To: pyglet-users@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Hi,
the pyglet source code has to be converted with 2to3 to work with Python 3.x.
If you install pyglet via "setup.py install", this happens
automatically if you use Python 3.
Otherwise, if you want to use pyglet without installing it, you can
run the conversation manually:
[extract the zip file]
$ cd pyglet
$ 2to3 -w -n pyglet
$ 2to3 -w -n examples
the above commands convert the pyglet module source and the examples.
Andy
On Sat, Jul 14, 2012 at 6:37 PM, PKHG <pkhgrag...@gmail.com> wrote:
> Hallo,
> downloaded from http://code.google.com/p/pyglet/downloads/list
> pyglet-1.2alpha1.tar.gz
> and it is announced to be for Python 3
>
> BUT this error message shows that it is NOT???!!
> C:\pyglet-1.2alpha1>\Python32\python.exe
> Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyglet
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "pyglet\__init__.py", line 276
> print '[%d] %s%s %s' % (thread, indent, name, location)
> ^
> SyntaxError: invalid syntax
>
> Python 3.2 needs brackets around parameters of print , doen't it?
>
> So what am I missing?
> Peter
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyglet-users/-/9gziXQi-CTMJ.
> To post to this group, send email to pyglet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> pyglet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.