Results 1 to 6 of 6

Thread: Python: ligthweight curse alternative for cross-platform?

  1. #1
    Join Date
    Feb 2007
    Beans
    863

    Python: ligthweight curse alternative for cross-platform?

    Hi,

    I would like to create a python program for the console of windows, linux, ... that would use a minimum of dependencies.

    Curses would be ideal for that but pdcurses or ncurses are one port that might be more or less similar to curses. With some differences.



    Would you know a lightweight alternative that exists, well ported and developed, for Windows and Linux?

    Pygames would be an alternative but this is not lightweight at all.

    Any inputs are welcome

  2. #2
    Join Date
    Jan 2006
    Beans
    2

    Re: Python: ligthweight curse alternative for cross-platform?

    Check out libtcod. I've used it for several programs (not just games).

  3. #3
    Join Date
    Feb 2007
    Beans
    863

    Re: Python: ligthweight curse alternative for cross-platform?

    Quote Originally Posted by panza View Post
    Check out libtcod. I've used it for several programs (not just games).
    it is amazing. does it really work under the tty console?
    http://www.youtube.com/watch?v=1FU0NeDFfjU


    visibly he used x11 to play it: http://www.youtube.com/watch?v=B6yBR4C8YsM
    is there a code for that?
    Last edited by honeybear; December 14th, 2012 at 06:31 AM.

  4. #4
    squakie is offline I Ubuntu, Therefore, I Am
    Join Date
    Oct 2012
    Beans
    2,238
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Python: ligthweight curse alternative for cross-platform?

    You can also use GTK for the GUI - it's cross platform. You just need to install the Windows version on the Windows platform. I'm going to assume you'll be doing the development in Ubuntu - in which case you need to install the GTK dev package as well.

  5. #5
    Join Date
    Feb 2007
    Beans
    863

    Re: Python: ligthweight curse alternative for cross-platform?

    Quote Originally Posted by squakie View Post
    You can also use GTK for the GUI - it's cross platform. You just need to install the Windows version on the Windows platform. I'm going to assume you'll be doing the development in Ubuntu - in which case you need to install the GTK dev package as well.
    Well, I would like to develop under non gtk, simply curses like

    for the linux console

  6. #6
    Join Date
    Apr 2006
    Location
    Seattle
    Beans
    2,893
    Distro
    Ubuntu Development Release

    Re: Python: ligthweight curse alternative for cross-platform?

    Thread moved to Programming Talk.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •