Lummoxx wrote:
>
>Hi, thanks for the reply.
>
>[root@openge bin]# head mailmanctl
>#! /usr/bin/python
>
>[root@openge bin]# which python
>/usr/bin/python
>[root@openge bin]# /usr/bin/python
>Python 2.4.3 (#1, Jun 11 2009, 14:09:37)
>[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import grp
>>>> print '%r' grp.getgrall()
>  File "<stdin>", line 1
>    print '%r' grp.getgrall()
>                 ^
>SyntaxError: invalid syntax



Sorry, my bad. That should be

>>> print '%r' % grp.getgrall()

Please try again.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to