Compilling My code in Python language

Im new to python even though I find it easy to run and operate, Im having problems compiling in Python. How can I go about this? Is there a way I can get to integrate python and java so as to use a multiplex environment? How can this be achieved, Im hoping that someone can help me on this
