Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > How to embed python2 into python3?

Thread Tools

How to embed python2 into python3?

Posts: n/a
Hello, all:

I have two programs, one is written in py3k, the other is written in
python 2. I am wondering how to make them work together except port
the python 2 code to py3k? Is that possible to expose python2's
function to py3k? In other words, I want to embed the Python 2
interpreter into my py3k program. So I can call python2's function in
py3k's code.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
changing from python2.3 to python2.4 Uwe Mayer Python 1 04-09-2005 11:22 AM
python2.4 generator expression > python2.3 list expression snacktime Python 13 02-22-2005 11:40 AM
Re: dl + getenv (without arguments) = segfault (python2.p2, python2.3) Skip Montanaro Python 1 08-07-2003 07:19 AM
dl + getenv (without arguments) = segfault (python2.p2, python2.3) Xavier Python 0 08-06-2003 10:26 PM