On Tue, 27 Sep 2016 23:44:11 -0700 (PDT), prasanthk...@gmail.com wrote: [snip] > > if __name__ == '__main__': > > GenAccessToken("This_is_a_Test_QED_MAC_Key_Which_Needs_to_be_at_Least_32_Bytes_Long", > "default", "default", 60000, > "g,m,a,s,c,p,d") > > When i am calling the above method from main method it is not > returning the value but when i use print it is showing the value. Is > there any wrong in returning the value from a method.
How do you know it's not returning a value? You don't save the return value anywhere. -- To email me, substitute nowhere->runbox, invalid->com. -- https://mail.python.org/mailman/listinfo/python-list