Did you import the module? For example: import MyApp facebook = MyApp.faceboo(api_key, fb_secret) Haden On 12/24/2009 10:17 PM, Alex Hall wrote:
Hi all,I have a Facebook id and api key and so on. I want to put this in a file called myApp.py so I can include it in any python files I make for this app and log on by just sayingfb=facebook.Facebook(myApp.id,myApp.sk)However, trying to include the file results in a "no module named py" error on line 1. The file is justid=1 ak='ab2' sk='bc3'but those numbers and strings are, of course, made up. Why is it not letting me do this? Thanks!Have a great day, Alex New email address: mehgcap@xxxxxxxxx __________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind