[EMAIL PROTECTED] schrieb:
> what's the from ... import keyword use for?
> for example - from contenttype import getContentType
> 
> import os
> import sys
> import getopt
> import types
> import re
> import pprint
> import logging
> from contenttype import getContentType
> 
> In Java what kind of statement is similar this?
> 
> thanks

http://docs.python.org/ref/import.html ("The first form of" and 
following, sixth paragraph)

HTH,
Stargaming
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to