im quite new to python and have made a few programs to help me in school but i dont know how to compile them.
i have found a tutorial and have copied the code correctly but python says that the 'import' syntax is incorrect.

this is the code:

from distutils.core import setup import py2exe


how could i fix this?

thanks for the post but what i mean is that i understand the simple things just not why the syntax error has come up

how could i fix this?

from distutils.core import setup, import, py2exe When you import multiple modules you need to separate with commas.

Or you could just do: from distutils.core import * to get everything within distutils.core