I have experience with C++ so I have been fiddling with Python to try learning a new language but keeping hitting a wall. I've been trying to run Python (both on command line and through JPE on the Debian OS) to run the example 'bat and ball' program in the Magpi issue 2 magazine but it refuses to run.
When checking using JPE it produces an error message:
On the command line I get errors with ALSA to do with card 0 e.g.:error importing pygame: name 'color' is not defined
A simple"Hello World" runs fine but this one kicks up a fuss. Any ideas what's going wrong?ALSA lib confmisc.c:768:(parse_card) cannot find card '0'