Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Clay Hobbs
On Sat, 2008-11-29 at 12:44 -0800, Josh wrote: > If you were a beginning programmer and willing to make an investment in > steep learning curve for best returns down the road, which would you pick? > > I know this topic has been smashed around a bit already, but 'learning > curve' always seems

PyOpenGL + wxPython developer needed

2008-11-04 Thread Clay Hobbs
I am working on a map editor for BZFlag (http://www.bzflag.org/), and I need help. Mostly, all I need help on is 3D rendering. I know nothing about OpenGL, so if you do, your help would be appreciated. The program I am making is called RatBZEdit (http://ratbzedit.sourceforge.net/). If you are i

Re: PyOpenGL double-buffered hardware surface

2008-10-06 Thread Clay Hobbs
On Sun, 2008-10-05 at 14:16 -0400, Mike C. Fletcher wrote: > Clay Hobbs wrote: > > How do I create a double-buffered hardware surface with PyOpenGL? I > > knew how to once, but forgot. > > > > > Depends on your GUI library, most of them have a flag-set that you

PyOpenGL double-buffered hardware surface

2008-10-05 Thread Clay Hobbs
How do I create a double-buffered hardware surface with PyOpenGL? I knew how to once, but forgot. --Ratfink -- http://mail.python.org/mailman/listinfo/python-list

Re: [wxpython-users] ANN: wxPython 2.8.9.0

2008-09-28 Thread Clay Hobbs
On Sun, 2008-09-28 at 12:01 -0700, Robin Dunn wrote: > Announcing > -- > > The 2.8.9.0 release of wxPython is now available for download at > http://wxpython.org/download.php. This release adds support for using > Cairo for drawing on wx windows, adds a Win64 build, and various other > f

Some questions about PyOpenGL and wxPython

2008-09-21 Thread Clay Hobbs
I am making a program with wxPython that renders objects in 3D using PyOpenGL, and I am having some problems. For one thing, I forgot how to make a double-buffered hardware surface. For another thing, glColor(1.0, 0.0, 0.0) just before the rendering doesn't make the object red. Please help, I'm

RPM of a Python program

2008-08-13 Thread Clay Hobbs
I want to make an RPM (Redhat Package Manager) file to install a Python program (not a module). How is this done? Does it use Distutils, or something completely different? Thanks in advance. -- Ratfink -- http://mail.python.org/mailman/listinfo/python-list

Re: Shared script

2008-08-01 Thread Clay Hobbs
On Fri, 2008-08-01 at 14:41 -0700, Zach Hobesh wrote: > I wrote a script that several different people on different machines > need to run on a regular basis. When I first wrote it, it was in > crisis mode, I got something out that was quick and dirty, very bare > bones. Recently I had some more

Re: simple error i hope

2008-08-01 Thread Clay Hobbs
On Fri, 2008-08-01 at 13:25 -0700, Emile van Sebille wrote: > suhail shaik wrote: > > > print fileName > > file = fileName.split(".") > .. this is a list > > you're shadowing a builtin -- generally a bad practice > > > print file > > textfile = file[0]+".txt" > > pr

PyOpenGL Tutorial?

2008-07-23 Thread Clay Hobbs
I need a tutorial for PyOpenGL (specifically, to be used with wxPython). I searched with Google and didn't find one. Does anybody know where one is? -- Ratfink -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I compare files?

2008-07-23 Thread Clay Hobbs
On Tue, 2008-07-22 at 17:29 -0700, Matimus wrote: > On Jul 22, 4:27pm, Clay Hobbs <[EMAIL PROTECTED]> wrote: > > I am making a program that (with urllib) that downloads two jpeg files > > and, if they are different, displays the new one. I need to find a way > > to

How do I compare files?

2008-07-22 Thread Clay Hobbs
I am making a program that (with urllib) that downloads two jpeg files and, if they are different, displays the new one. I need to find a way to compare two files in Python. How is this done? -- Ratfink -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with curses

2008-07-13 Thread Clay Hobbs
> On Sat, 12 Jul 2008 20:49:56 -0400, Clay Hobbs wrote: > > > Unfortunately, the error message isn't very helpful. > > But it would be helpful to tell it. If you get exceptions, always > copy'n'paste the traceback here. People might know what the exce

Problems with curses

2008-07-12 Thread Clay Hobbs
I am making a text-based game similar to Zork with Python. I have decided to use the curses module, and have run into a problem. I want to scroll the commands and output up after a command is run instead of clearing the screen. But when I use std.scroll(), an exception is raised. Here i

How do I create user-defined warnings?

2008-06-17 Thread Clay Hobbs
I already know how to make user-defined exceptions, like this one: class MyException(Exception): pass But for a module I'm making, I would like to make a warning (so it just prints the warning to stderr and doesn't crash the program). I have tried this: class MyWarni