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


Groups > comp.lang.python > #53543

problem of double import in python

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mohsen@pahlevanzadeh.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'compiler': 0.07; '#define': 0.09; '#include': 0.09; 'skip:/ 10': 0.09; 'python': 0.11; '#ifndef': 0.16; 'programmers.': 0.16; 'subject:import': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'all,': 0.19; 'import': 0.22; 'subject:problem': 0.24; 'code': 0.31; 'header,': 0.31; 'file': 0.32; 'but': 0.35; 'yours,': 0.36; 'to:addr:python-list': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'skip:u 10': 0.60; "you'll": 0.62; 'dear': 0.65; 'confusing': 0.84
DKIM-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pahlevanzadeh.org; s=default; h=Content-Transfer-Encoding:Mime-Version:Content-Type:Date:To:From:Subject:Message-ID; bh=rJ4HZiWkJAQHrt4XTgz2I1Xa/ZmdwQ43W0yzmfqUFU8=; b=JbPD2Og2I7LUrPOtBmbGl+veegBu+v2m3iHsRkNgWWfQBEtMzmzZDtRHYJTkBoUNimP4xdGa3Q068cT+9Zxz/W6lSz8nS0ksnVI6AucF/v02PWkeFcPpC3sKwu0wiuNWZvz6Akub7czGiI6tMUJrH1xNwfcJajeHKx8hnW/T7Q4=;
Subject problem of double import in python
From Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
To python-list@python.org
Date Tue, 03 Sep 2013 05:18:04 +0430
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.4.4-4+b1
Mime-Version 1.0
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - part7.royal-servers.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - pahlevanzadeh.org
X-Get-Message-Sender-Via part7.royal-servers.com: authenticated_id: mohsen@pahlevanzadeh.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.526.1378169302.19984.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378169302 news.xs4all.nl 15908 [2001:888:2000:d::a6]:48296
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53543

Show key headers only | 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