Java Threadlocal Variable Example Python Script