Python: Difference between revisions

16 bytes added ,  7 April 2021
Line 119: Line 119:
gazeFiles = [path.join(x, y) for x in gazeFolders for y in os.listdir(x)]
gazeFiles = [path.join(x, y) for x in gazeFolders for y in os.listdir(x)]
</syntaxhighlight>
</syntaxhighlight>
See also glob.


====Read/Write entire text file into a list====
====Read/Write entire text file into a list====