Reputation: 15718
I'm starting to code with pyglet in Windows. I usually rely on Spyder as an IDE, but it seems not to like pyglet. So what would be a convenient way to code / run pyglet in Windows? What is your minimal development setup? Short of obvious minimal setups such as running code on Console2 or using IDLE.
Upvotes: 0
Views: 1485
Reputation: 11
pycharm, I would highly recommend. The free version has all you need, and is very highly organised. I use it all the time. You'll need to copy your pyglet file into every project tho. Still, it's easy to use and functional, and comes with a lot of good tools.
Upvotes: 0
Reputation: 6057
I currently use PyCharm (there is also a free community edition). Among other helpful features (debugger, version control etc) it provides viewing images inside the IDE which is especially useful when it comes to game programming.
Upvotes: 1
Reputation: 31
If you're working specifically with windows only, there's another great option: Visual Studio using the Python Tool for Visual Studio.
You do not need the full fledged Visual Studio package, it works with a stripped-to-bones version by Microsoft called Integrated Shell that is free to use (as in no-costs; see instructions on the python tools website). The plugin itself is free (as in Apache license).
I used the spyder IDE myself before switching. Feature-wise I believe there are quite comparable: Syntax Highlighting, code completion, integrated console and full debugger user. The difference is that the python tools integrate perfectly into the standard VS debugging workflow, using breakpoints, watching and evaluating variables and function at any point during debugging etc. If you've ever worked in Visual Studio you'll just love it. Best Python debugger I've come across.
I used it in the past to debug a Panda3D application (a 3D game engine for python). Since pyglet is also using openGL, it should work, but I haven't tried that yet.
Upvotes: 3
Reputation: 149
I use pyscripter. It is free and has many useful features like predicting text and works fine with pyglet.
Upvotes: 2