#!/usr/bin/env python2

from PrinterApplication import PrinterApplication

app = PrinterApplication.getInstance()
app.run()

#!/usr/bin/env python3

from src.PrinterApplication import PrinterApplication

app = PrinterApplication.getInstance()
app.run()

Load the right file for PrinterApplication