nfc - How to build the nfcpy source code to a python module? -


i want use nfcpy lib read/write nfc tags. source code of python.

how can buide python module can add import nfc program?

here explained how can make module of python code: http://learnpythonthehardway.org/book/ex40.html

your module (here should python code):

# goes in mystuff.py def apple():     print "i apples!" 

access way:

import mystuff mystuff.apple() 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -