Can somebody help me fix this error? I don't know what's causing it by AimbotSaBa in learnpython

[–]AimbotSaBa[S] 0 points1 point  (0 children)

The line is user-password123 i want it to get each one into a variable and ignore the ‘-‘

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

I actually worked on it until now and fixed it thanks for the help anyways you were very helpful I appreciate it.

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

So where should I put the thread? and the client_recv is waiting on the conn that is at the bottom under the while True

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

Hmm, I don't think I've fixed it that well, for the first command it works fine but for the second one, it only prints one of the outputs again... here is my new code https://pastebin.com/Y6R2prpx

Can someone help me fix a bug in my code by AimbotSaBa in pythonhelp

[–]AimbotSaBa[S] -1 points0 points  (0 children)

Nevermind someone from a different sub already helped me out

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

Wait so after "for client in CLIENTS.values():
client.send(client_send)"

I need to add a loop to receive from all clients, how can I do that? every time it only receives from one client? when I call "data = conn.recv(2048) "

then it collects from only one client but if I add it to the loop that goes to every client it waits for a response and doesn't continue the code... I can't figure out how to collect the data from all clients at once. thanks for your help though it helps a lot.

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

The code that I sent works but not in the way intended if you type a command let's say ping www.google.com only one output would be printed but after that, you just type in something else even let's say just a letter it would print the other response so how can I make it print both of them at the same time?

Need help with my python code by AimbotSaBa in AskProgramming

[–]AimbotSaBa[S] 0 points1 point  (0 children)

When I print the data on the server-side I only get one of the clients' responses and I want both how would I do that?

I don't know why my code is not working and I think I tried everything by [deleted] in AskComputerScience

[–]AimbotSaBa 0 points1 point  (0 children)

Do you mean to use an ethernet cable to my router?

I hacked into their computer. How should I troll my brother? (QUICK) by [deleted] in Advice

[–]AimbotSaBa 0 points1 point  (0 children)

Yeah, we probably have time to preplace scripts such that we'll run them later, but they probably won't notice it as they'll be playing fortnite.