python bracket

2007-02-02 Thread fatwallet961
there is no bracket in python how can i know where a loop or a function ends? -- http://mail.python.org/mailman/listinfo/python-list

main

2007-02-02 Thread fatwallet961
is the main function in python is exact compare to Java main method? all execution start in main which may takes arguments? like the follow example script - def main(argv): == and what is __name__ __main__ use for in terms of Java? thanks

from... import...

2007-02-02 Thread fatwallet961
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://mail.py