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


Groups > comp.lang.python > #16378

Executing .pyc using python c api

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mrinalini@edss.co.in>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:using': 0.04; 'api.': 0.05; 'python': 0.08; 'executes': 0.09; 'subject:.pyc': 0.09; 'subject:api': 0.09; 'subject:python': 0.10; 'thanks,': 0.18; 'pass': 0.29; 'script.': 0.29; 'subject: .': 0.29; 'values': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.34; 'done.': 0.34; 'however,': 0.36; 'variables': 0.37; 'run': 0.37; 'using': 0.38; 'files': 0.39; 'to:addr:python.org': 0.40; 'within': 0.60
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Date Tue, 29 Nov 2011 13:04:01 +0530
From Mrinalini Kulkarni <mrinalini@edss.co.in>
To <python-list@python.org>
Subject Executing .pyc using python c api
Organization EDSS Pvt.Ltd.
X-Sender mrinalini@edss.co.in
User-Agent Roundcube Webmail/0.5.1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.3118.1322553616.27778.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322553616 news.xs4all.nl 6918 [2001:888:2000:d::a6]:39081
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16378

Show key headers only | View raw


 Hi

 I need to run .pyc files using python c api. if i do PyImport_Import it 
 executes the script. However, i need to pass a set of variables and 
 their values which will be accessed from within the script. How can this 
 be done.

 thanks,

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


Thread

Executing .pyc using python c api Mrinalini Kulkarni <mrinalini@edss.co.in> - 2011-11-29 13:04 +0530
  Re: Executing .pyc using python c api Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-11-29 10:02 +0100
    Re: Executing .pyc using python c api 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-29 06:19 -0800

csiph-web