pythonic chew toyz (a column, by K. Urner) v.1 n.1

2009-01-14 Thread kirby.ur...@gmail.com
Selena spotted me right away as "the O'Reilly spy", me agreeing she had an exceptionally good memory, maybe we could recruit her? Our banter traces to the first meeting on OS Bridge and how I introduced myself [0], not yet realizing Allison Randal was in the audience (way more an insider, as to ho

pythonic chew toyz (a column, by K. Urner) v.1 n.1

2009-01-14 Thread kirby.ur...@gmail.com
Selena spotted me right away as "the O'Reilly spy", me agreeing she had an exceptionally good memory, maybe we could recruit her? Our banter traces to the first meeting on OS Bridge and how I introduced myself [0], not yet realizing Allison Randal was in the audience (way more an insider, as to ho

pythonic chew toyz (continued)

2009-05-03 Thread kirby.ur...@gmail.com
On Sun, May 3, 2009 at 5:52 PM, kirby wrote: > From: "kirby.ur...@gmail.com" > Date: Jan 14, 2:18 pm > Subject: pythonic chew toyz (a column, by K. Urner) v.1 n.1 > To: comp.lang.python > > > Selena spotted me right away as "the O'Reilly spy", me a

FWD: Lore about Division

2010-02-10 Thread kirby.ur...@gmail.com
Alan: 2^(1/2) Kirby: Also pow(2, 0.5) in Python. Alan: Gee, I wonder if pow(2, (1/2)) also works in Python? Kirby: It does if you remember integer division in earlier versions, such that one needed: from __future__ import division or, simply made it 1./2 or 1/2. or something, to force a floa

Packages at Python.org

2010-12-01 Thread kirby.ur...@gmail.com
With Microsoft abandoning Visual FoxPro come 2015, we have 100K developers jumping ship (rough guess), perhaps to dot NET, but not necessarily.** This page is potentially getting a lot of hits (I'm not privy to the analytics): http://packages.python.org/dbf/ So how *do* you get source code fro

Re: Packages at Python.org

2010-12-01 Thread kirby.ur...@gmail.com
> http://packages.python.org/dbf/ > > So how *do* you get source code from such a web place?  I'm not > finding > a tar ball or installer.  Sorry if I'm missing something obvious, like > a link > to Sourceforge. > Thanks to very quick replies with pointers to http://pypi.python.org/pypi/dbf/ in

DBF (VFP) to XLS (Excel) in pure Python

2010-12-01 Thread kirby.ur...@gmail.com
Playing around with arcane tools to read those pesky DBF files (with memo fields), like floating wine barrels cast off the sinking VFP ship. http://pypi.python.org/pypi/dbf http://packages.python.org/dbf/dbf-module.html Me threading on comp.lang.python: http://bit.ly/e547Za xlwt and xlrt for rea

Re: DBF (VFP) to XLS (Excel) in pure Python

2010-12-02 Thread kirby.ur...@gmail.com
On Dec 1, 10:28 pm, "kirby.ur...@gmail.com" wrote: > Playing around with arcane tools to read those pesky DBF files (with > memo fields), like floating wine barrels cast off the sinking VFP > ship. > Although it's true I don't know that I'm getting "in

win32 design pattern: COM localserver?

2010-12-08 Thread kirby.ur...@gmail.com
Greetings gurus. I'm faced with the challenge of having a single-threaded proprietary Win32 language wanting to do multiple calls against a Python COM object. Something like... loObj = CREATEOBJECT("map_maker") loObj.report( params, filename) do while .True. yadda yadda enddo RETURN I.e. th

Combing Medusa's Hair... (Design Pattern)

2010-12-14 Thread kirby.ur...@gmail.com
This is an idea I got thinking about COM objects, and getting some support from Mark Hammond, Python's Win32 wizard. The goal is to have a host language (not Python) instantiate an object that runs against the Python interpreter, which lives as its own process. The VMs have various ways of imple

weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-04 Thread kirby.ur...@gmail.com
Here we are in an Eclipse pydev console, running Python 3.1.2. For the most part, everything is working great. However... >>> import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) C:\Python31\python.exe 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] >

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-04 Thread kirby.ur...@gmail.com
On Jun 4, 9:47 am, Peter Otten <__pete...@web.de> wrote: > I can provoke the error in "naked" Python 3 by changing the > Example.__module__ attribute: > > Python 3.1.1+ (r311:74480, Nov  2 2009, 15:45:00) > [GCC 4.4.1] on linux2 > Type "help", "copyright", "credits" or "license" for more informati