I have a sent.py file, and in this file I have a function getProcessing()
, when I call this function I want to call a function (createmrjob) from another python file (processing.py).
Im trying to do this with code below and it is working fine, but after I call this function getProcessing()
when user choose option 2, it is created a processing.pyc file. It is normal? There is a way that this file its not created?
def getProcessing():
from processing import createmrjob
def nav():
print ""
while True:
response_options = {'1': Choice(msg="User Managment", callback=userManagment), '2': Choice(msg="processing", callback=getProcessing)}
result = make_choice(response_options)
if result is None:
print "Selected option not available."
else:
result.callback()