Posts by leonardo black • 23 points
2 posts
-
0
votes2
answers16445
viewsA: How do I delete a file from a python folder
import the def clean up(): pasta = "diretorio" arquivo = str(input('digite o nome do arquivo que deseja apagar: ')) diretorio = os.listdir(pasta) if arquivo in diretorio: print('---removendo…
-
2
votes3
answers1154
viewsQ: How do I allow only numbers and a special character in javascript?
I have a validation problem in client-side in case I want to validate the ZIP code field, I need it to only accept the 9 numbers of the ZIP code of the person and the trace - from the CEP, who can…