I\'m trying to run some simple threading in Python using:
t1 = threading.Thread(analysis(\"samplequery\")) t1.start() other code runs in here t1.join()
You need to provide the target attribute:
target
t1 = threading.Thread(target = analysis, args = ('samplequery',))