|
Howdy plamere
So... I'm sort of in the same boat. Total noob with python. I started using it a few months ago for something(can't remember what), but soon other things took priority.
I was also interested in the swinger code and have found a few more that are interesting.
First of all, I had problems with setting my key (I ended up editing my environment variables). But here is what I got in python when I tried setting it using that method(* for protection):
config.ECHO_NEST_API_KEY = A***MPFE
Traceback (most recent call last):
File "", line 1, in
NameError: name 'AMPFE***' is not defined
I've tried running the swinger.py code from the command prompt and these are the results:
C:Python26ToolsScripts>python swinger.py ../music/Discipline.mp3
File "swinger.py", line 4
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose
.dtd">
^
SyntaxError: invalid syntax
I've tried running swinger.py from the root(c:), but I get this error:
C:>python swinger.py
python: can't open file 'swinger.py': [Errno 2] No such file or directory
Sorry about the length of this message, and for jumping on your thread(bernico). I just wanted to include a description of every problem I've run into in case this helps you deduce my problem.
e.g.
Are there any other commands I have to enter prior to running swinger.py?
Is there any useful/simple resource for digging into this as a beginner?
Thank you so much to everyone who has done work on this project. I'm looking forward to using it, and learning what else I can do.
Thanks
|