How can I run files on external terminal?

I was trying to make a program in Python that generates random passwords and I wanted to run this program on the Windows terminal instead of the internal terminal of Visual Studio Code.

This is the code:

import random

lunghezza = int(input("inserisci la lunghezza della password"))  # insert password lenght

s = "abcdefghijklmnopqestuvwxyz1234567890"

p = "".join(random.sample(s, lunghezza)) 
 # lunghezza means lenght

print(p)


from Recent Questions - Stack Overflow https://ift.tt/3mf5I1N
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation