On 28/01/13 15:40, Aaron Misquith wrote:
I am working on a program which is used to login to facebook, get my
friend lists using graph api and export them into pdf format.
So far i'm able to login with facebook and get the friend list. I would
like if someone is able to provide me a code to export the output to
pdf.

There is a third part module for this, a Google search for pyPDF should find it... and several tutorials.

Another thing is that i'm hardcoding username, password and access
tokens; is there anyway this can be obtained using user input?

raw_input()?

or am I missing something?

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to