[Tutor] Importing packages

Jerry Hill malaclypse2 at gmail.com
Fri Jan 21 16:40:42 CET 2011


On Fri, Jan 21, 2011 at 4:10 AM, arun kumar <arunkumar413 at gmail.com> wrote:
> Hi,
>
> I'm trying to program with gdata
> (http://code.google.com/p/gdata-python-client/) using python
> library.I'm having problem in writing import statements.

Have you read the Getting Started document linked from their wiki?
Particularly, there's a section on the right way to install the
library, then some example of it's use (including the import
statements) here:
http://code.google.com/apis/gdata/articles/python_client_lib.html#library

You haven't said what you tried or what error messages you've gotten,
so if those docs don't help, you'll have to give us more information.
Particularly: what version of python are you running?  What Operating
System?  How have you manipulated your sys.path, where did you install
the gdata libraries, and what is the folder structure there?

You may also find the part of the python tutorial about modules and
packages useful in figuring out what's going on:
http://docs.python.org/tutorial/modules.html

-- 
Jerry


More information about the Tutor mailing list