Re: Emacs and pdb after upgrading to Ubuntu Feisty

2007-05-08 Thread Patricia J. Hawkins
a/extend/skeezix/pjh/CODING/python/fibclass.py(3)() -> class Fib: (Pdb) This is emacs 23.0.0.1, from a weekly Feisty build of emacs-snapshot-gtk maintained by Alexandre Vassalotti, which also includes the xft font backend. Which means anti-aliased fonts on emacs... :) See: http://peadrop.com/blog/2007/01/06/pretty-emacs/ -- Patricia J. Hawkins Hawkins Internet Applications www.hawkinsia.com -- http://mail.python.org/mailman/listinfo/python-list

Re: tuple to string?

2005-07-22 Thread Patricia J. Hawkins
sions ;) .> t = (0x73, 0x70, 0x61, 0x6D) QH> (use string formatter): .> '%c%c%c%c' % t Or more generally: >>> t = (0x73, 0x70, 0x61, 0x6D) >>> '%c'*len(t) % t 'spam' but that's VERY perlonic python. Still, it's a technique th

Re: Question about namespaces and import. How to avoid calling os.system

2005-07-22 Thread Patricia J. Hawkins
s. PN> I can do this with "subprocess" module by setting its env -variable PN> but I try to avoid calling shell. How can I merge temporary PN> the namespaces of the two modules? The built-in execfile should do the trick. -- Patricia J. Hawkins Hawkins Internet Applications www.hawkinsia.com -- http://mail.python.org/mailman/listinfo/python-list