meaning of [ ]

Andrej Viktorovich viktorovichandrej at gmail.com
Sun Sep 3 07:21:01 EDT 2017


Hello,

Trying to understand command:
[p for p in sys.path] 

It prints array of paths. I suppose p becomes array of strings but what [] means in this statement?



More information about the Python-list mailing list