Missing Print statement
vezycash opened this issue · comments
vezycash commented
current code
>>> import glob
>>> files = glob.glob('*.txt')
>>> files
(in windows python 3.6, calling files without a print statement does not display anything
Fix
import glob
files = glob.glob('*.txt')
print(files)
Suraj Patil commented
I didn't know that python on windows doesn't print the value of a variable when we type it. I'll update every instance now.
Suraj Patil commented
Instead of changing each and every statement, I have added a note at the first occurrence that if the normal thing doesn't work, please use print.
Thanks for pointing this out!