I can not get location info from pyS60. It seems the featured API is not activated.
How can I activate this API? Is there any free licensing system?
Or anything so that I can use restricted (or non-free for general developers) APIs at least in my phone to test the application?
Thanks in advance.
You need to sign you application. The process depends on the phone and kind of developement model you want to follow.
If you just want to test some apps on your phone, use Open Signed Online. If you want to test many small scripts, perhaps it is better to sign the PythonShell itself.
I've done something similar, you can get more info at nokia-gsm-location-hacks howto.