Posts by Jose Enrico Guedes de Lima • 3 points
1 post
-
0
votes2
answers171
viewsQ: os.path modulo python
Can someone explain to me what happens in these 2 lines? caminhos = [os.path.join(pasta, nome) for nome in os.listdir(pasta)] arquivos = [arq for arq in caminhos if os.path.isfile(arq)]…
pythonasked Jose Enrico Guedes de Lima 3