Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63303 > unrolled thread

Which python framework?

Started byblissend@gmail.com
First post2014-01-06 09:02 -0800
Last post2014-01-06 16:42 -0800
Articles 6 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Which python framework? blissend@gmail.com - 2014-01-06 09:02 -0800
    Re: Which python framework? Chris Angelico <rosuav@gmail.com> - 2014-01-07 04:09 +1100
      Re: Which python framework? blissend@gmail.com - 2014-01-06 09:37 -0800
        Re: Which python framework? blissend@gmail.com - 2014-01-06 11:07 -0800
          Re: Which python framework? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-06 19:12 +0000
    Re: Which python framework? CM <cmpython@gmail.com> - 2014-01-06 16:42 -0800

#63303 — Which python framework?

Fromblissend@gmail.com
Date2014-01-06 09:02 -0800
SubjectWhich python framework?
Message-ID<2e5c9033-1bb5-46e4-93e6-046069923297@googlegroups.com>
I love programming in python but I'm having trouble deciding over a framework for a single player MUD like game I'm making for fun. Ideally it's a cross-platform free framework in case I want make it open source later with good capabilities of customizing the GUI look/style.

Currently I'm using wxpython which is great but I'm reading that if I want more customization over the look (i.e. a frame being all black and not using windows 7 blue borders) then I may want to look elsewhere? If so what would be more ideal?

Keep in mind this is only a text based game so 3D is not needed. Perhaps I have to forgo my love of python for something else? Something comparable to appealing look of python syntax?

[toc] | [next] | [standalone]


#63306

FromChris Angelico <rosuav@gmail.com>
Date2014-01-07 04:09 +1100
Message-ID<mailman.5035.1389028177.18130.python-list@python.org>
In reply to#63303
On Tue, Jan 7, 2014 at 4:02 AM,  <blissend@gmail.com> wrote:
> I love programming in python but I'm having trouble deciding over a framework for a single player MUD like game I'm making for fun. Ideally it's a cross-platform free framework in case I want make it open source later with good capabilities of customizing the GUI look/style.

If by "MUD-like" you mean that it's fundamentally based on scrolling
text and inputted commands, you may be able to just skip the GUI
altogether and use the console (print() and input()). That'd save you
a lot of trouble. Alternatively, it might be worth going the other way
and actually making it a MUD. Wait for a socket connection, let the
user TELNET in. Your GUI would then be an actual MUD client, off the
shelf, giving you all its features absolutely for free. Either way,
you put zero effort into building a GUI, and you get something every
bit as powerful as you could build manually.

ChrisA

[toc] | [prev] | [next] | [standalone]


#63313

Fromblissend@gmail.com
Date2014-01-06 09:37 -0800
Message-ID<e7de73d7-dc4e-48a8-802d-ea5496ac2ea0@googlegroups.com>
In reply to#63306
On Monday, January 6, 2014 12:09:28 PM UTC-5, Chris Angelico wrote:
> On Tue, Jan 7, 2014 at 4:02 AM,  <blissend@gmail.com> wrote:
> 
> > I love programming in python but I'm having trouble deciding over a framework for a single player MUD like game I'm making for fun. Ideally it's a cross-platform free framework in case I want make it open source later with good capabilities of customizing the GUI look/style.
> 
> 
> 
> If by "MUD-like" you mean that it's fundamentally based on scrolling
> 
> text and inputted commands, you may be able to just skip the GUI
> 
> altogether and use the console (print() and input()). That'd save you
> 
> a lot of trouble. Alternatively, it might be worth going the other way
> 
> and actually making it a MUD. Wait for a socket connection, let the
> 
> user TELNET in. Your GUI would then be an actual MUD client, off the
> 
> shelf, giving you all its features absolutely for free. Either way,
> 
> you put zero effort into building a GUI, and you get something every
> 
> bit as powerful as you could build manually.
> 
> 
> 
> ChrisA

I suppose what I'm trying to accomplish isn't ordinary. Yes, it's fundamentally a scrolling text based game but... with input commands only as a secondary option. I'm going to design a new user experience I have in mind via a GUI that can engage users without having to type commands. This is why I'm wondering about alternatives.

[toc] | [prev] | [next] | [standalone]


#63320

Fromblissend@gmail.com
Date2014-01-06 11:07 -0800
Message-ID<70cdce3d-cdc1-4c7f-ab24-fa26d1c770fb@googlegroups.com>
In reply to#63313
On Monday, January 6, 2014 12:37:24 PM UTC-5, blis...@gmail.com wrote:
> On Monday, January 6, 2014 12:09:28 PM UTC-5, Chris Angelico wrote:
> 
> > On Tue, Jan 7, 2014 at 4:02 AM,  <blissend@gmail.com> wrote:
> 
> > 
> 
> > > I love programming in python but I'm having trouble deciding over a framework for a single player MUD like game I'm making for fun. Ideally it's a cross-platform free framework in case I want make it open source later with good capabilities of customizing the GUI look/style.
> 
> > 
> 
> > 
> 
> > 
> 
> > If by "MUD-like" you mean that it's fundamentally based on scrolling
> 
> > 
> 
> > text and inputted commands, you may be able to just skip the GUI
> 
> > 
> 
> > altogether and use the console (print() and input()). That'd save you
> 
> > 
> 
> > a lot of trouble. Alternatively, it might be worth going the other way
> 
> > 
> 
> > and actually making it a MUD. Wait for a socket connection, let the
> 
> > 
> 
> > user TELNET in. Your GUI would then be an actual MUD client, off the
> 
> > 
> 
> > shelf, giving you all its features absolutely for free. Either way,
> 
> > 
> 
> > you put zero effort into building a GUI, and you get something every
> 
> > 
> 
> > bit as powerful as you could build manually.
> 
> > 
> 
> > 
> 
> > 
> 
> > ChrisA
> 
> 
> 
> I suppose what I'm trying to accomplish isn't ordinary. Yes, it's fundamentally a scrolling text based game but... with input commands only as a secondary option. I'm going to design a new user experience I have in mind via a GUI that can engage users without having to type commands. This is why I'm wondering about alternatives.

It appears pyqt has better theming capabilities from what I'm reading up on.

[toc] | [prev] | [next] | [standalone]


#63321

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-06 19:12 +0000
Message-ID<mailman.5042.1389035583.18130.python-list@python.org>
In reply to#63320
On 06/01/2014 19:07, blissend@gmail.com wrote:

Would you please read and action this 
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing 
double line spacing, thanks.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#63385

FromCM <cmpython@gmail.com>
Date2014-01-06 16:42 -0800
Message-ID<0fbd425b-ec62-485a-99ab-1403aac75644@googlegroups.com>
In reply to#63303
On Monday, January 6, 2014 12:02:31 PM UTC-5, blis...@gmail.com wrote:
> I love programming in python but I'm having trouble deciding over a framework for a single player MUD like game I'm making for fun. Ideally it's a cross-platform free framework in case I want make it open source later with good capabilities of customizing the GUI look/style.
> 
> 
> 
> Currently I'm using wxpython which is great but I'm reading that if I want more customization over the look (i.e. a frame being all black and not using windows 7 blue borders) 

You can turn off some of the frame style flags and make the frame look a number of different ways, though the point in a frame in wxPython is *native*, and so will be limited in look to what the OS natively draws.  (So, in a sense, don't blame wxPython, blame Windows, OS X, or Linux, if you want). You'd have to describe what you mean by "all black" more (I mean, do you want a top border at all?  Do you want a gripper?  Full screen? Etc), but I suggest you ask on the wxPython list and they can tell you best what is and what is not possible. My guess is that whatever you have in mind that is beyond wxPython's capabilities is going to fall into YAGNI territory (user-experience-wise) anyway.

> Keep in mind this is only a text based game so 3D is not needed. Perhaps I 
> have to forgo my love of python for something else?

I highly doubt that.  I'm sure whatever you want to do is doable with Python.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web