# Combine Python with Mathematica desktop?

**URL:** <https://community.wolfram.com/t/combine-python-with-mathematica-desktop/13245>\
**Category:** Questions\
**Tags:** mathematica, external-interfaces, interface-construction\
**Created:** [October 27, 2018, 2:56am UTC](https://community.wolfram.com/t/combine-python-with-mathematica-desktop/13245 "2018-10-27T02:56:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hindyilan](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hindyilan](https://community.wolfram.com/u/hindyilan)\
**Post date:** [October 27, 2018, 2:56am UTC](https://community.wolfram.com/t/combine-python-with-mathematica-desktop/13245/1 "2018-10-27T02:56:37Z")

</div>

Hi,  
I am quite new in Mathematica.  
First Question:  
I want to do the following in a document in Mathematica Desktop document.  
Create a method that implements a recursive algorithm.  
After each iteration call some display method (like Graph)  
wait for the user to confirm and continue running.  
Can you give me guidelines or reference of how to do that?  
Second Question:  
Can I combine python code inside Mathematica document?  
(Define python methods that call Mathematica methods and vise versa)  
Thanks,  
Ilan
