-
Notifications
You must be signed in to change notification settings - Fork 19
Home
Brennan Young edited this page Sep 11, 2015
·
2 revisions
Welcome to the python-neocities wiki!
Just trying this module out and getting a few issues. Was not sure where to report them, so I made the first wiki page.
First of all, neocities has a dependency on the module requests
. It might be worth mentioning that in the readme.
Also, I was unable to instantiate an object using the snippet provided. Not sure why. I ended up doing this:
import inspect
################### non standard libraries follow:
import neocities
# not sure why this is necessary
def getNC(user, passwd):
for name, obj in inspect.getmembers(neocities):
if inspect.isclass(obj):
return obj(user, passwd)
nc = getNC('site','pwd')