Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53543

problem of double import in python

Subject problem of double import in python
From Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Date 2013-09-03 05:18 +0430
Newsgroups comp.lang.python
Message-ID <mailman.526.1378169302.19984.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

problem of double import in python Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> - 2013-09-03 05:18 +0430
  Re: problem of double import in python alex23 <wuwei23@gmail.com> - 2013-09-03 11:07 +1000

csiph-web