r/code • • Jul 06 '25

Help Please i need help with python code

i made a simple program that sends someone a message via xmpp but ITS NOT WORKING and i tried but its giving me errors

import xmpp

input1 = input(“type your XMPP username please:”)

username = input1

input2 = input(“type your password:”)

password = input2

input3 = input(“who do you want to send a message to?:”)

to = input3

msg = “if you see this its working”

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Marco_R63 Jul 07 '25

That could be but how did you create the object "client"?

When you ask for help you should provide the code chunk where it rises and the error message you get.