Python keeps showing the same old output -
the problem python keeps showing same lines/strings in output though have deleted 1 or more lines within txt file; example, txt file "1.png.txt" contains following lines:
extra cooking scallops 2 tbsp bottled mild or medium thai green curry paste 2 tbsp water 2 tsp light soy sauce
now, have manually deleted line "extra cooking scallops", output remains same. still shows line "extra ... scallops" in beginning. can please tell me how correct output?
here code:
import sys, os, string open("1.png.txt", 'r') myfile: data = myfile.read() n in data.split('\n'): print n
i find in such cases either failing run “save” in editor, or else saving file different location , old copy of file python using staying same.
but if using particularly complex ide, conceivable kind of caching going on? guess 1 of first 2 suggestions!
Comments
Post a Comment