This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Creating a window in python

 
Ranch Hand
Posts: 83
Android Python Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing an application in python and I would like to create a new window through which to display my curses application. To clarify, I want a separate window that is managed through the graphical desktop, not a separate window object for curses, which the curses application can be displayed through, a la Dwarf Fortress. I have not found any resources on this topic as I have been unable to write out the request in a way that Google understands. I am somewhat of a newcomer to curses, but I understand python. If this might involve a library, I am willing to implement, especially since I'm in the early stages of development. I personally think the code itself is irrelevant in this situation, but if you would like to see it, It's on my personal repl.it under curses-game.

As always, thanks for any help or insight you could provide.
 
Rancher
Posts: 138
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if I understand your question, are you asking for a GUI library? Have you tried Tkinter?
 
Rocky Rocha
Ranch Hand
Posts: 83
Android Python Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I'm not looking for a GUI Library, especially not Tkinter. I'm looking for a way to generate a window associated with the application that renders a curses application. Similarly to how when you run dwarf fortress there's a window that appears and renders all the game in ASCII and Unicode. How do I accomplish this in python? Specifically Python 3.6+
 
Now I am super curious what sports would be like if we allowed drugs and tiny ads.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!