I have a simple "Hello world" script that I want to turn into an executable. The problem is that even though I went through the steps of declaring the path of the Python interpreter in the first list ...

I have installed many python packages via sudo pip install and some of them have messed up the system by overwriting or updating preloaded python packages. Now I want to revert all the damage done and ...

I need help in fixing segmentation fault 11 error I keep getting whenever I import something in python commandline.
I would really appreciate your help, I am not able to practice coding at home due ...

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command
brew install python
But I am getting failed to download errors. ...

I would like to make a Python program executable, like in Windows, when you use a program like cx_Freeze to make Python programs become .exe. I would like to do the same for Mac, I would like to make ...

I've been able to get brew to install many packages on Snow Leopard using just the gcc library without installing all of X-Code.
I had installed Python as well as PosgreSQL from the gui installer and ...

I'd rather have my Mavericks web app use a UNIX domain socket instead of a TCP port to effect a reverse proxy. I've tried using variants of the Apache syntax for UDS in the proxies section of the web ...

I have a local process which creates an excel file using the python library openpyxl. I am not able to open the file in Numbers. When I try I receive the simple message "filename can't be opened." I ...

I've had some weird issues with my python install recently but I've usually been able to get it working. However I'm running into a really bizarre issue right now where pip is installing things that ...

I'd like to have double-clicking on a .py file on my Mac open with file in Spyder. There doesn't seem to be support for this built into Spyder (see here, here, and here). But is the effect achievable ...

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal.
The reason why I want to do this is that I want to write a small program in Python which ...

I would like to run a Python script each time it finishes and I think I can do this with cron but I am not sure how to do it.
The idea is each time the Python scripts ends, it will have to run again ...

I need to access Bluetooth from Python. I have tried installing lightblue via easy_install. It installs properly, but when I try to import it it fails.
User@Mac:codes$ python
Python 2.7.5 (default, ...