I am new to python programming I was trying to create bot service of twitch but I am totally confused about how to search for ports and hosts. The code I wrote is:
s = openscoket("irc.twitch.tv", port)
but it gives me error:
File "main.py", line 2
IndentationError: unexpected indent
I used port because I don’t know how to search for serial ports. I also have an error in my code how can I solve this?