def public_api():     print ("public api")    def _private_api():     print ("private api") 

Read more of this post