shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error.

Chris Angelico rosuav at gmail.com
Tue Apr 30 11:58:52 EDT 2013


On Wed, May 1, 2013 at 1:52 AM, Tony Romeo <tromeo at mdlogix.com> wrote:
> Thank you for the response.
>
> Results after using 0666:
>
>
> Traceback (most recent call last):
>   File "dump_cdorked_config.py", line 15, in ?
>     from ctypes import *
> ImportError: No module named ctypes

You really need to offer a lot more information about your environment
:) What operating system, what Python version, etc, etc? The ctypes
module is listed in the docs as "new in 2.5", so my crystal ball is
saying you quite probably are on Red Hat.

http://docs.python.org/2/library/ctypes.html

ChrisA



More information about the Python-list mailing list