Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103939
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Inception |
| Date | 2016-03-03 16:37 +1100 |
| Message-ID | <mailman.137.1456983466.20602.python-list@python.org> (permalink) |
| References | <80f8708e-1fec-4310-9191-56df2ad14197@googlegroups.com> <85oaawt9cy.fsf@benfinney.id.au> |
Ben Finney <ben+python@benfinney.id.au> writes:
> Denis Akhiyarov <denis.akhiyarov@gmail.com> writes:
>
> > Is it possible to embed CPython in CPython, e.g. using ctypes, cffi,
> > or cython?
>
> I don't know what you mean by “embed” in this context. What would
> qualify as “yes” for you?
Here is CPython embedded in CPython::
>>> import subprocess
>>> subprocess.check_call(["python3", "--version"])
Python 3.5.1+
If that doesn't impress you, then you'll need to be more specific about
what you're expecting.
--
\ “If the arguments in favor of atheism upset you, explain why |
`\ they’re wrong. If you can’t do that, that’s your problem.” |
_o__) —Amanda Marcotte, 2015-02-13 |
Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-02 21:01 -0800
Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 16:32 +1100
Re: Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-02 21:43 -0800
Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 17:06 +1100
Re: Inception Paul Rubin <no.email@nospam.invalid> - 2016-03-02 22:30 -0800
Re: Inception Rustom Mody <rustompmody@gmail.com> - 2016-03-02 22:22 -0800
Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 16:37 +1100
Re: Inception Christian Gollwitzer <auriocus@gmx.de> - 2016-03-03 09:09 +0100
Re: Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-03 15:04 -0800
csiph-web