+ 1
problem with print() and threading
not a big problem but i made a basic packet flooding script, but apparently print() has issues when threaded? any idea how toprevent the random blank lines? Thanks! (going to be a part of an anti-Ddos script, working my knowledge up so i can hopefully make it good enough for others to use :) script - https://code.sololearn.com/cAe6XKf0nK68/#py
2 Answers
+ 1
Hello @Kody. I haven't found any problem. But you must give the inputs in this format:
###
###
###
In different lines. Try this and tell me, please.
0
@raphael, i wrote this using sublime text and idle, when you run it in idle instead of printing lines like
'#
#
#'
it goes more like
'#
#
#
#
#
#
#
#'