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


Groups > comp.lang.python > #16378

Executing .pyc using python c api

Date 2011-11-29 13:04 +0530
From Mrinalini Kulkarni <mrinalini@edss.co.in>
Subject Executing .pyc using python c api
Organization EDSS Pvt.Ltd.
Newsgroups comp.lang.python
Message-ID <mailman.3118.1322553616.27778.python-list@python.org> (permalink)

Show all headers | 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