title: Python Creating and Importing Modules
body: <p>I wrote functions that are applyRules(ch), processString(Oldstr) and named it lsystems.py
  And I put</p>
  
  <pre><code>import lsystems
  def main():
      inst = applyRules("F")
      print(inst)
  main()
  </code></pre>
  
  <p>and saved it as mainfunctioni</p>
  
  <p>However, when I try to run mainfunctioni, it says 'applyRules' is not defined.
  Doesn't it work because I put import lsystems?</p>
  
  <p>What should I do to work my mainfunctioni through lsystems?</p>