
25.04.2010, 23:18
|
|
Познавший АНТИЧАТ
Регистрация: 30.04.2007
Сообщений: 1,205
Провел на форуме: 4778940
Репутация:
1257
|
|
Магия?
Так работает:
import thread, time
def some_function(text, some):
print "Text: "+text
thread.start_new_thread(some_function, ("qwe", ""))
time.sleep(3);
А так нет:
import thread, time
def some_function(text):
print "Text: "+text
thread.start_new_thread(some_function, ("qwe"))
time.sleep(3);
что не так?
|
|
|