mercredi 23 septembre 2015

Check if a string is in a file with Python

I'm new to Python and I'm trying to figure out how I can search for a string in a file and use it as a condition in a if clause: If "String" is in the file, Print("Blablabla")

Aucun commentaire:

Enregistrer un commentaire