Re: Please Help Publicize PyCon

2009-12-21 Thread Horace Blegg
*Bitten once again by 'reply all', my apologies john.* Brilliant troll :D Well done! I, for one, am looking forward to watching the videos of the talks, since I can not attend myself (hi college education!). On Mon, Dec 21, 2009 at 9:31 AM, John Nagle wrote: > Steve Holden, Chairman, PSF wrot

Re: Spawning an interactive interpreter in a running python process?

2009-12-12 Thread Horace Blegg
Better and better! You know, I think I knew about those two, I just never connected the dots. With a little fiddling, I think I can cobble together what I want. My sincere thanks, sir/ma'am. On Fri, Dec 11, 2009 at 9:46 PM, Gabriel Genellina wrote: > En Sat, 12 Dec 2009 02:11:27 -0300

Re: Spawning an interactive interpreter in a running python process?

2009-12-11 Thread Horace Blegg
*I really must get in the habit of replying to all, and not just replying*. Ahh, I didn't know it could do that. I will go experiment. But from what you said, it doesn't seem like one could do that on the fly. It actually requires altering the app, and then running it again. I wonder if I could

Spawning an interactive interpreter in a running python process?

2009-12-11 Thread Horace Blegg
Hello List, I'm curious, in an academic sense, if it's possible to spawn the interactive interpreter (>>>) in a running python application. Ideally, I would like to be able to access the modules, functions and variables the application can. Is something like this possible? If not, would I be

Re: Reversible Debugging

2009-07-03 Thread Horace Blegg
You might consider using a VM with 'save-points'. You run the program (in a debugger/ida/what have you) to a certain point (logical point would be if/ifelse/else statements, etc) and save the VM state. Once you've saved, you continue. If you find the path you've taken isn't what you are after, you

Re: pep 8 constants

2009-07-03 Thread Horace Blegg
I've been kinda following this. I have a cousin who is permanently wheel chair bound and doesn't have perfect control of her hands, but still manages to use a computer and interact with society. However, the idea/thought of disabled programmers was new to me/hadn't ever occurred to me. You say tha

Re: Accessing windows structures through ctypes.

2009-07-01 Thread Horace Blegg
http://www.codeproject.com/KB/threads/GetNtProcessInfo.aspx Looks rather to be pretty simple: Acquire the PED base pointer (article explains how) and then just read that information into a struct using ReadProcessMemory(). On Wed, Jul 1, 2009 at 10:42 PM, Rajat wrote: > Hi, > > Using ctypes can

Re: The Python Way for module configuration?

2009-06-30 Thread Horace Blegg
On Sun, Jun 28, 2009 at 10:22 AM, kj wrote: > In <87fxdlujds@benfinney.id.au> Ben Finney > > > writes: > > >(Even if you don't want to receive email, could you please give your > >actual name in the ‘From’ field instead of just initials? It makes > >conversation less confusing.) > > I don't

Re: postgreSQL python bindings - which one?

2009-06-27 Thread Horace Blegg
On Sat, Jun 27, 2009 at 10:23 AM, Philip Semanchuk wrote: > > On Jun 27, 2009, at 8:27 AM, Albert Hopkins wrote: > > On Fri, 2009-06-26 at 21:10 -0700, Horace Blegg wrote: >> >>> Hi, I'm having a hard time deciding which set of PGSQL python bindings >>> t

postgreSQL python bindings - which one?

2009-06-26 Thread Horace Blegg
Hi, I'm having a hard time deciding which set of PGSQL python bindings to go with. I don't know much about SQL to begin with, so the collage of packages of somewhat daunting. I'm starting a pet project in order to teach my self more, but I want to avoid getting off on the wrong foot and picking a p

Re: looking for a book on python

2009-06-26 Thread Horace Blegg
Hello, http://diveintopython.org/ - might be a good place to start. There are also a bunch of free programming books (some related to python, some not) to be found here: http://www.e-booksdirectory.com/programming.php#python - How good these books may or may not be is up to you to find out. Also,

Re: Reading a large csv file

2009-06-22 Thread Horace Blegg
Do you even HAVE 14 gigs of memory? I can imagine that if the OS needs to start writing to the page file, things are going to slow down. -- http://mail.python.org/mailman/listinfo/python-list

Re: Tool for browsing python code

2009-06-16 Thread Horace Blegg
On Tue, Jun 16, 2009 at 3:15 PM, Daniel Fetchinson < fetchin...@googlemail.com> wrote: > >> "D'Arcy J.M. Cain" writes: > >> >> not sure if there are any "curses" base TUI's (!) for Python. > >> > vi > >> > >> emacs :) > > > > Hey, it was all pretty civil up till now. ;) > > I've heard from my co

Am I doing this the python way? (list of lists + file io)

2009-06-05 Thread Horace Blegg
Hello, I'm a fairly new python programmer (aren't I unique!) and a somewhat longer C/++ programmer (4 classes at a city college + lots and lots of tinkering on my own). I've started a pet project (I'm really a blacksheep!); the barebones of it is reading data from CSV files. Each CSV file is going