[ANN] sqlkit 0.8.5

2009-01-16 Thread Sandro Dentella
2.4) * PyGtk * Sqlalchemy (>= 0.5) * glade * dateutils Dowload & more: --- * http://docs.argolinux.org/sqlkit/sqlkit/download.html * hg clone http://hg.argolinux.org/py/sqlkit * google group: http://groups.google.it/group/sqlkit/ * License: GNU GPL

Re: emacs python modes [was Re: python/python output buffers]

2008-08-15 Thread sandro dentella
> > This has been the subject of a recent thread here. Emacs now ships with > a different python mode named python.el. You'll have to manually > (re)install the original python-mode.el. > > HTH Thanks. I did search for it and got lost in too many different post on python mode... Now I found it.

python/python output buffers

2008-08-15 Thread sandro dentella
Hi, I'm having a little problem while using python mode. I'm used to hit C-c C-c and have a Python Output buffer opened with the output. Now, on Ubuntu 7.10 and 8.04, C-c C-c sends to the Python buffer that is not raised in a window. I need to hit C-c C-z to see it. First of all I'm puzzled

psycopg2, gtk and float

2006-06-14 Thread Sandro Dentella
chall() for row in rows: print row[0] -- Sandro Dentella *:-) e-mail: [EMAIL PROTECTED] http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

Re: __init__.py, __path__ and packaging

2006-05-05 Thread Sandro Dentella
hon' and I wanted that the content of debug.py was > simply included by: 'import dbg', so I wrote dbg/__init__.py as follows: > > import os > Dir = os.path.dirname(__file__) > __path__ = [os.path.join(Dir, 'lib')] > from debug import * > > -- Sandro Dentella *:-) e-mail: [EMAIL PROTECTED] http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

Re: __init__.py, __path__ and packaging

2006-05-04 Thread Sandro Dentella
In comp.lang.python, hai scritto: > Sandro Dentella wrote: >> The structure of my package: >> >> python/ >> `-- dbg/ >>|-- __init__.py >>`-- lib >>|-- __init__.py >>|-- debug.py >>`-- gtk_dbg.py >> &g

__init__.py, __path__ and packaging

2006-05-03 Thread Sandro Dentella
global name 'DBG' is not defined` What's happening? DBG seems to be set, as shown by dir(dbg)... any hints? I'd also accept a hint for a different approch, if it's the case, but I'd really would also understant this issue Thanks in advance sandro *:-) -- Sandro Dentella *:-) http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

gtk.spinbutton and set_value

2006-03-29 Thread Sandro Dentella
Hi all, why my spinbutton doesn't show '120'? why, if I write in a number, it is reset to 0 wen Enter is pressed? TYA sandro import gtk w = gtk.Window() spin = gtk.SpinButton() w.add(spin) w.show_all() spin.set_value(120) gtk.main() --

gtk tooltips and toolbutton

2006-03-29 Thread Sandro Dentella
T.add(tb) w.show_all() gtk.main() -- Sandro Dentella *:-) http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

beginner question on dinamin buiding of arg list

2006-03-05 Thread Sandro Dentella
I need to build-up an arg list to pass to a function. Suppose I have a dictionary: opts = { 'user' : 'jack', 'addr' : 'Green Str.'} and I want to build a cmd line like this: select( user='jack', addr='Green Str.' ) I

lists: += vs. .append() & oddness with scope of variables

2006-03-05 Thread Sandro Dentella
c1.py", line 26, in ? x = foo() File "c1.py", line 7, in __init__ print "a: ", a UnboundLocalError: local variable 'a' referenced before assignment TIA sandro *:-) -- Sandro Dentella *:-) e-mail: [EMAIL PROTECTED] http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

Re: 2D canvas for GTK

2006-01-09 Thread Sandro Dentella
Il 2006-01-09, John Bauman <[EMAIL PROTECTED]> ha scritto: > > "Sandro Dentella" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >>I need a (decent) canvas for PyGTK. I used tkinter.canvas with real >>pleasure >> in the past but

2D canvas for GTK

2006-01-08 Thread Sandro Dentella
*:-) -- Sandro Dentella *:-) http://www.tksql.orgTkSQL Home page - My GPL work -- http://mail.python.org/mailman/listinfo/python-list

project-like or plan extension?

2006-01-08 Thread Sandro Dentella
I'd like to find a plan or project-like extension to use in a PyGtk application. I need very basic functionaluties: time-zooming, possibility to set tooltip for objects, possibility to move around chunks of a job. Any ideas? TIA sandro -- Sandro Dentella *:-) http://www.tksq

Tkinter & GTK in the same application?

2006-01-08 Thread Sandro Dentella
I need to use tkinter.canvas in a gtk application. Is that any possible. I guess I should use threads: is there any example of how to start the 2 mainloops? Thanks for any possible hint sandro *:-) -- Sandro Dentella *:-) http://www.tksql.orgTkSQL Home page - My GPL work