How to use _ in interactive mode

2005-11-25 Thread pythonic
Hi, I use '_' for localization in my program. The problem is when testing the program using python intractive mode I lose _ function. One solution is put following in PYTHONSTARTUP file. -- import readline def __enforce_underscore__ (): __builtins__._ = str readline.set_pre_input_hook (__enforce_u

Python for embedded linux?

2005-08-02 Thread pythonic
Where can I find a minimal version of python (less than 2 MB) suitable for a web server on an embedded linux system? The small size is required because the system lives on flash memory. Thanks, Ken Seehart -- http://mail.python.org/mailman/listinfo/python-list