Python Forum
how to add smilar size python interpreter to my program. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: how to add smilar size python interpreter to my program. (/thread-2197.html)



how to add smilar size python interpreter to my program. - harun2525 - Feb-25-2017

hello guys, i want add python interpreter (small size) to my program because i dont want convert executable to my program. why dont ı want convert ? because  i want my program is  dynamicly and installable other module and extensible.
thanks for helps.


Note:
the Inkspace graphic program contains own python interpreter, i want do same thing


RE: how to add smilar size python interpreter to my program. - ichabod801 - Feb-25-2017

Look into the code module, especially the InteractiveConsole class. The documentation is here.


RE: how to add smilar size python interpreter to my program. - harun2525 - Feb-25-2017

(Feb-25-2017, 11:15 AM)ichabod801 Wrote: Look into the code module, especially the InteractiveConsole class. The documentation is here.

hey guys thanks very much, i googled and found pydev interactiv konsole do you know anything pydev ?


RE: how to add smilar size python interpreter to my program. - ichabod801 - Feb-25-2017

Pydev is an add-in for Eclipse to create a Python IDE (Integrated Design Environment, basically a feature heavy tool for writing code). The interactive console for it is specific to that application. It's not something you can add into your own applications.


RE: how to add smilar size python interpreter to my program. - harun2525 - Feb-25-2017

(Feb-25-2017, 02:48 PM)ichabod801 Wrote: Pydev is an add-in for Eclipse to create a Python IDE (Integrated Design Environment, basically a feature heavy tool for writing code). The interactive console for it is specific to that application. It's not something you can add into your own applications.

do you  know how to install module to my created exe program, i added pip and setup tools module to my exe program with cx_Freeze but i give error while installing module. why i cant install module to my created exe program with cx_Freeze


RE: how to add smilar size python interpreter to my program. - ichabod801 - Feb-25-2017

I don't know about making exe programs. I would post another thread with that question, as the people who do know may not look in this thread to see the question (since the thread title is about something else).


RE: how to add smilar size python interpreter to my program. - harun2525 - Feb-25-2017

It would be better if such a tutorial


RE: how to add smilar size python interpreter to my program. - snippsat - Feb-25-2017

Quote:do you  know how to install module to my created exe program,
Everything has to work before you make exe,there is a reason why the are called freezing tool.
Having problem to understand what you mean Confused
the point of freezing code is so that people shall not need a python interpreter.
Quote:cx_Freeze is used to produce a stand alone Python interpreter as a  Windows executable.