as you could have seen by the =error-message=
the file texte.txt which you are trying to read does not exist....
The solution would be to create a texte.txt file and retry your used read code
With following code
you will do a test of the existence of texte.txt file
and if the file texte.txt is not found
you will create the texte.txt file
print "== if the file doesn't exist, create one =="
print "File exists"
print "Creating the texte.txt-file"
my_file = open("texte.txt", 'w')
my_file.write("I'm the first line of the file!" +"\n")
my_file.write("I'm the second line."+"\n")
my_file.write("Third line here, boss."+"\n")
my_file = open("texte.txt","r")
== discussions / opinions ==