Create pythonTestCode