mariolino1988
Bannato a Vita
- Messaggi
- 172
- Reazioni
- 1
- Punteggio
- 38
salve amici spero che qui mi dareste un aiuto ho fatto questo codice vorrei che il contenuto del codice si vedrebbe in un fil txt grazie
Python:
import socket
import shutil
hostname=socket.gethostname()
IPAddr=socket.gethostbyname(hostname)
print("Your Computer Name is:"+hostname)
print("Your Computer IP Address:"+IPAddr)
shutil.copy ('mariolino.py', 'test.txt')
Ultima modifica da un moderatore: