from... import...

fatwallet961 at yahoo.com fatwallet961 at yahoo.com
Fri Feb 2 23:12:09 EST 2007


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



More information about the Python-list mailing list