From 29ab98ca4c7218ad5ef6faaed7699a22d22f5614 Mon Sep 17 00:00:00 2001 From: connard <baptiste.gc@student-cs.fr> Date: Wed, 7 Oct 2020 14:46:09 +0200 Subject: [PATCH] true exemple of -X dev option --- exemples.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/exemples.py b/exemples.py index 7b541be..01b3a94 100644 --- a/exemples.py +++ b/exemples.py @@ -1,10 +1,15 @@ -####### CONTEXTE ########### # python -X dev -# from threading import Thread +# import sys -# thread = Thread() -# thread.isAlive() +# def main(): +# fp = open('README.md') +# nlines = len(fp.readlines()) +# print(nlines) +# # The file is closed implicitly + +# if __name__ == "__main__": +# main() # name == main # from mauvais_module import fonction_utile1 -- GitLab