[Tutor] box drawing characters

Bill Allen wallenpb at gmail.com
Wed Aug 18 15:31:39 CEST 2010


On Wed, Aug 18, 2010 at 3:15 AM, Alan Gauld <alan.gauld at btinternet.com>wrote:

>
> "Bill Allen" <wallenpb at gmail.com> wrote
>
>> I want to be able to create some user interfaces, similar to what you see
>>>
>> in console based programs like Midnight Commander or other TUI type
>> programs
>> that use box drawing characters to create a user interfaces for input and
>> display of information.
>>
>
> This is OK and you can use curses on Linux/Unix systems and something
> like Conio on Windows, but....
>
>
>  However, I do want them to be portable to most
>> platforms that Python will run on.
>>
>
> This is much more difficult. Terminals are non portable and neither
> of the libraries above work on the other system. You would probably
> have to build your UI twice. This is one area where real GUIs work
> better than a terminal.
>
> This is good to know.   For my purposes either will be an acceptable option

for me as I am very much in learning mode.   In the endgame, I can always
do an OS detection and load whichever code is appropriate as the duplication
does not bother me much.

Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100818/e0672646/attachment-0001.html>


More information about the Tutor mailing list