mardi 13 septembre 2016

Using python to emulate user console input

I need to write a number of the tests for C++ console application, which (I mean a tests) will emulate user's input in standard console stdin/std::cin, analyze the output and return passed/failed results.

unfortunatelly, I have no enough experience in Python, just only know basic syntax and minimally standard library.

could you share any links/samples with Python code which does this, as a start point for my task?

Aucun commentaire:

Enregistrer un commentaire