Used for general python code