Re: Python basic window control examples?

It depends. If you have a good grasp of the core basics IE: variables, if/else, loops, functions, and classes, then the next thing to look into is libraries and API's to expand the function set. For windows and graphics you'll want to look into libraries like Pyglet, Pygame, or wxPython, each has their own pro's and con's depending on what you want to do, but I can provide a brief comparison.

Pyglet can handle 2D and 3D rendering and has support for 3D positional audio, though not extended features like HRTF or EFX. It can handling windowing, mouse, and keyboard support. The API itself has no native TTS support, so you'll need to use a library like Tolk, accessible_output2, or Pyttsx.

Pygame is a fairly dependable library that's primarily been used for 2D, and supports basic audio functions. It can also handle mouse and keyboard input, and like Pyglet does not have native TTS support.

wxPython is a widget based api, as such you can create windows and buttons, but is not terribly well suited for graphical rendering, which may be fine for your applications. It has some keyboard and mouse support, but doesn't have native audio support. Many of its widgets and functions do have native TTS support, but not all.

If you like, I can provide examples or further descriptions for any or all of these libraries and how they can be used.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Patrick via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Patrick via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector

Reply via email to