[IPython-dev] How to import python 7.x into python3 script

Muhammad Fayed m10fayed at gmail.com
Mon Jan 27 11:46:19 EST 2020


Sorry for my late reply,
I’ve tried “import IPython.ipapi”, but I get module not found error.  
I think I’ll try to hack around my needs.
Thank you so much,
Sincerely,
Mohamed E. Fayed 

> On Jan 27, 2020, at 9:53 AM, Steve Holden <steve at holdenweb.com> wrote:
> 
> Hi there,
> 
> Thanks for your note. Unfortunately "Python 7.x" does not allow us to identify the component you are trying to install. As far as magic commands go, you msy get some assistance from the page at https://stackoverflow.com/questions/10361206/how-to-run-an-ipython-magic-from-a-script-or-timing-a-python-script <https://stackoverflow.com/questions/10361206/how-to-run-an-ipython-magic-from-a-script-or-timing-a-python-script>, which details ways to make magics available inside scripting.
> 
> The auto-response message should also give you  many possible sources for further answers to your questions.
> 
> Kind regards,
> Steve
> 
> 
> On Mon, Jan 27, 2020 at 5:04 AM Muhammad Fayed <m10fayed at gmail.com <mailto:m10fayed at gmail.com>> wrote:
> Hi,
> Hope my mail find you well,
> First, I want to make use of some python magic commands in my python script. How I could do it?
> Second, What if I’ll reuse the function in the script in ani python session, will it work or not? If not, what is the difference? 
> Thank you so much,
> Sincerely,
> Mohamed E. Fayed 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at python.org <mailto:IPython-dev at python.org>
> https://mail.python.org/mailman/listinfo/ipython-dev <https://mail.python.org/mailman/listinfo/ipython-dev>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at python.org
> https://mail.python.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20200127/589e6048/attachment.html>


More information about the IPython-dev mailing list