Compiling Python

I am planning on doing a project involving bluetooth and I was wondering what would happen if I downloaded pybluez or light blue on a linux, made code using this, then compiled it using py2app and run the code on OSX, would it work? Also, does compiling python, download the libraries used as well?

You are asking questions about Python in an Arduino forum.

You may be lucky and get an answer but this is not really the place to ask about Python.

ssharma123:
I am planning on doing a project involving bluetooth and I was wondering what would happen if I downloaded pybluez or light blue on a linux, made code using this, then compiled it using py2app and run the code on OSX, would it work? Also, does compiling python, download the libraries used as well?

Not sure, you have not said which Arduino you are using to run Python.