Re: Question about learning Python

2022-09-07 Thread Sandro Volery
Best, Sandro -- https://mail.python.org/mailman/listinfo/python-list

Re: How to create an entry in the "Program menu" of Windows?

2011-02-02 Thread sandro
Alexander Kapps wrote: > On 01.02.2011 22:43, Diesel wrote: >> >> Hi, >> >> I'd like to add menu entry in the Program Menu as part of the >> installation of an application. Is it possible to do that from Python? >> >> Any examples or link? I have not been able to find anything with >> google... >>

[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: What would you like to see in a book about Matplotlib?

2009-01-11 Thread Sandro Tosi
On Sun, Jan 11, 2009 at 18:50, Dotan Cohen wrote: > 2009/1/11 Sandro Tosi : >>> I would suggest at least a chapter on _acquiring_ the data that is to >>> be plotted using Python to scrape different sources _not_designed_ to >>> be scraped. Online webpages come to

Re: What would you like to see in a book about Matplotlib?

2009-01-11 Thread Sandro Tosi
Hi Dotan, On Jan 11, 10:02 am, "Dotan Cohen" wrote: > 2009/1/5 Sandro Tosi : > > Your suggestions are really appreciated :) And wish me good luck! > > I wish you good luck! Thanks you :) > I would suggest at least a chapter on _acquiring_ the data that is to > be

Re: What would you like to see in a book about Matplotlib?

2009-01-11 Thread Sandro Tosi
Hello Thomas, thanks for your reply. On Jan 7, 5:11 pm, Thomas Guettler wrote: > Sandro Tosi schrieb: > > - what are you using matplotlib for? > > I use the API to create PNGs from data stored in postgres. Webframework: > Django. Nice, I plan to make some examples of web emb

Re: What would you like to see in a book about Matplotlib?

2009-01-11 Thread Sandro Tosi
Hi James, thanks for getting back to me. On Jan 6, 9:33 am, James Stroud wrote: > Sandro Tosi wrote: > > - what are the things you like the most of matplotlib, that you want > > to give emphasis to? And why? > > The ability to embed a figure (composed of subplots) into a

Re: What would you like to see in a book about Matplotlib?

2009-01-11 Thread Sandro Tosi
Hello Marco, thanks for your reply (and sorry for my late one) On Jan 6, 9:26 am, Marco Nawijn wrote: > On Jan 5, 10:57 am, Sandro Tosi wrote: > I am happy to hear that there might be a book on Matplotlib. I am > using Matplotlib for a while now and find it a very usefull and &g

What would you like to see in a book about Matplotlib?

2009-01-06 Thread Sandro Tosi
Hello and Happy 2009! I received the interesting proposal to author a book on Matplotlib, the powerful 2D plotting library for Python. While preparing the arguments list, I'd like to hear even your opinion, because different points-of-view will lead to a better product. Some basic question I'd l

Re: loading modules, metaclasses, chicken & eggs

2008-11-12 Thread sandro
Aaron Brady wrote: > On Nov 12, 9:38 am, sandro <[EMAIL PROTECTED] wrote: >> Hi, >> Is there a way to solve this? I'd like ro force a reload of the >> metaclass after 'debug'  has been loaded and debug.DBG set to True, >> but that doesn'

pygoocanvas binaries for windows?

2008-11-12 Thread sandro
Hi, I really need binaries for goocanva s for windows. There are plenty of places in innternet of people that tried to compile with no success. Have anybody of you managed to get them? thanks sandro -- http://mail.python.org/mailman/listinfo/python-list

loading modules, metaclasses, chicken & eggs

2008-11-12 Thread sandro
ed in sqlkit/__init__.py as it's the main one of the packages Is there a way to solve this? I'd like ro force a reload of the metaclass after 'debug' has been loaded and debug.DBG set to True, but that doesn't seem to happen... Any hints? sandro *:-) sqlkit: http:

Re: [ANN] SQLkit 0.8.3.2

2008-11-12 Thread sandro
Thorsten Kampe wrote: >> >> I'm happy to announce release 0.8.3 of sqlkit package for python - the >> first public release. > > Are you aware that you announced "sqlite 0.8.3" in the subject??!! > Ops, I wasn't aware, just too tired... thanks for telling. Anyhow, since I had some problems i

[ANN] sqlite 0.8.3

2008-11-11 Thread sandro
ANNOUNCE: sqlkit 0.8.3 November, 10 2008 I'm happy to announce release 0.8.3 of sqlkit package for python - the first public release. http://sqlkit.argolinux.org/ The package --- SQLkit PyGtk package provides Mask and Table widgets to

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

2008-08-15 Thread sandro dentella
mode... Now I found it. sandro -- http://mail.python.org/mailman/listinfo/python-list

python/python output buffers

2008-08-15 Thread sandro dentella
'm puzzled and would like to understand what makes the difference. I guess is some defaults that changed in the system configuration. What makes the difference between the two behaviors? Thanks in advance sandro *:-) -- http://mail.python.org/mailman/listinfo/python-list

psycopg2, gtk and float

2006-06-14 Thread Sandro Dentella
ally clueless. Any hints? TIA sandro *:-) import gtk import psycopg2 as ps2 DB = "host=localhost dbname=test user=test port=5432 password=xxx" conn = ps2.connect(DB) cursor = conn.cursor() cursor.executeq("SELECT DISTINCT a_float FROM numbers ") conn.commit() rows = cursor.fet

Re: __init__.py, __path__ and packaging

2006-05-05 Thread Sandro Dentella
o the end user). But to summarize, if I use 'from my_module import *' there is no way to reach directly 'my_module' and set a variable there? Thanks again sandro *:-) > I'm trying to fix the packaging of a very simple package, but some problem > show me th

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
I need a (decent) canvas for PyGTK. I used tkinter.canvas with real pleasure in the past but now I need to use the canvas in a Gtk application. Does anybody know of one with similar capabilities? It must work on Windows too. It must be able to produce postscript output. Thanks sandro

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