Facebook
From Perl Kangaroo, 1 Year ago, written in Python.
Embed
Download Paste or View Raw
Hits: 121
  1. import os
  2. from os import getcwd, listdir
  3.  
  4. local = listdir()
  5.  
  6. for nome in local:
  7.     if nome.startswith('Moki_C') == True:
  8.         print(nome)
  9.         nomeArquivo = nome
  10.  
  11.  
  12. caminho = os.getcwd()
  13. print(f'{caminho}\{nomeArquivo}')
  14.