title: 2 values have been recieved, a number and None
body: <p>I use 2 codes. I want program 1 to recieve the value from program 2.</p>
  
  <p>file 1:</p>
  
  <pre><code>from OpenUSB import transmitter
  
  def valuepullup():
      newval = transmitter()
      print(newval)
  
  
  valuepullup()
  </code></pre>
  
  <p>file 2:</p>
  
  <pre><code>def transmitter():
      print (2)
  </code></pre>
  
  <p>result I get is:</p>
  
  <pre><code>2
  None
  </code></pre>
  
  <p>I would love use the value which just got send over. As the current situation the None spoils it.
  Is there a way to stop the none from coming with the 2.</p>
  
  <p>Thanks in advance</p>