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 -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -