title: Creating XML from jupyter notebook and executing function
body: <p>i am using jupyter notebook for writing my python program.</p>
  
  <p>in that i defined a function, inside of which i defined a variable</p>
  
  <p>that i can modify from outside.</p>
  
  <pre><code>import pandas as pd
  import re
  
  myVariable = 'abc'
  
  def myfunc(id):
      ....
      ....
      a = myVariable
      ....
      ....
  
  
  print df
  </code></pre>
  
  <p>can i create a xml file from it where the notebook runs and prints respective outputs</p>
  
  <p>and  i want to be able to change my defined variable 'myVariable'.</p>
  
  <p>i don't know if it's possible using jupyter notebooks, and i'm a beginner</p>
  
  <p>Thanks in advance</p>