That's because python doesn't need pyc files to run. If you need one, the simplest way is to simply import the file into a python shell. Change to the directory the file is in and run python. Then enter this.
Code:
from os import getcwd
from sys import path
path.append(getcwd())
import pythonfile.py
Then press Ctrl-D to exit python and you should have a .pyc file in the directory.