How do I call a specific python function in a file from the command line?

Viewed 8169

Say there is the following function in a file called fb_auth_token.py

def get_fb_access_token(email, password):
...
return ...

How would I run this from bash? python fb_auth_token.py get_fb_access?. How do I call just the one specific function?

3 Answers
Related