diff options
author | hut <hut@lavabit.com> | 2009-11-22 23:56:47 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-11-22 23:56:47 +0100 |
commit | 2b3db775535290cbbaae570dc79ed3438afe4795 (patch) | |
tree | a385d5c5a5491c4a19b77c945030ea141926de76 /test1.py | |
parent | ec338c02cf3b31d2ed1438752c338bd6123f3044 (diff) | |
download | ranger-2b3db775535290cbbaae570dc79ed3438afe4795.tar.gz |
the basic loop
Diffstat (limited to 'test1.py')
-rw-r--r-- | test1.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test1.py b/test1.py index 715e510d..97505c41 100644 --- a/test1.py +++ b/test1.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # coding=utf-8 # some tests with curses, threads and unicode import os @@ -6,6 +6,9 @@ import curses import time import threading import locale +import _thread + +lock = _thread.allocate_lock() locale.setlocale(locale.LC_ALL, 'en_US.utf8') |