On Dec 27, 8:47 am, "Nicolas M. Thiery" <nicolas.thi...@u-psud.fr>
wrote:
>         Hi Robert B and all,
>
> Does anyone know a trick to access the global variables for the "main"
> scope?

I hope other people have other suggestions, but a few weeks ago I
found a code snippet on the web which allows you to access locals(),
and maybe that will help in your situation: see

<http://pythonic.pocoo.org/2009/5/30/finding-objects-names>

--
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to