mariolino1988
Bannato a Vita
- Messaggi
- 172
- Reazioni
- 1
- Punteggio
- 38
salve amici ho un problema vorrei unire un file con un link ed aprire file quando apro link in python grazie
ho provato webbroswer ma nnt
ho provato webbroswer ma nnt
Segui il video qui sotto per vedere come installare il nostro sito come web app sulla tua schermata principale.
Nota: Questa funzionalità potrebbe non essere disponibile in alcuni browser.
Pubblicità
import socket
hostname=socket.gethostname()
IPAddr=socket.gethostbyname(hostname)
print("Your Computer Name is:"+hostname)
print("Your Computer IP Address:"+IPAddr)
with open('newfile.txt', 'w') as file:
file.write ("Your Computer Hostname is: " + hostname)
file.write ("Your IP Address: " + IPAddr)