problem of double import in python

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Mon Sep 2 20:48:04 EDT 2013


Dear all,

I remember to avoiding to confusing compiler for header, use 
/////////////////
// in my include file
#define MYHEADER_H
// and in others code use:
#ifndef MYHEADER_H
#include blahblah
/////////////////////////

Unfortunately, i prevent to same error, double import to python, but i
don't know how to solve, Even i don't know policy of python programmers.

You'll make me happy if explain me...

Yours,
Mohsen




More information about the Python-list mailing list