Here is part of my module:gm.py def avg_list(list): sum = 0 for num in list: sum += num avg = float(sum)/len(list)
I just installed lxml for parsing xml file in python. I am using TextMate as an IDE. Problem is that when I try to import lxml (from lxml import entree) then I get
Py2exe builds the executable without exceptions. When I run the executable, a log file is generated with the following:
Im running Google AppEngine. I have oauth2 开发者_StackOverflow中文版installed. Im successfully able to import oauth2 inprogram but when I run my python application using GoogleAppEngine Launcher on l
I am trying to build a python script via PyInstaller.I have used the following commands to configure, generate a spec file, and build:
I am running on a Windows XP SP3 and currently h开发者_如何学Pythonave fresh installations of the following:
Having trouble with py2exe importing the suds module, and narrowed i开发者_运维问答t down to the following:
Probably this is a silly issue, but I haven\'t been able to figure it out. I\'m getting ImportError: No module named etree.ElementTree when I write:
I have a problem that I don\'t really know where to begin solving. Maybe it\'ll ring someone\'s bell.
I created my own Django application with directory structure /appname __init__.py models.py /submodule1 __init__.py