Category: Python
Python: Send e-mail to multiple recipients using Gmail SMTP
Below is the method I used. def SendEmail(content): gmailUser = ‘me’ password = ‘password’ recipients = [‘you1’, ‘you2’, ‘you3’ ] msg = MIMEMultipart(‘alternative’)…
Completely remove Python 2.7 on OS X Lion
Simple. Here are the steps: 1. Remove the Python 2.7 framework sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 2. Remove the Python 2.7 applications directory sudo rm -rf “/Applications/Python 2.7” 3. Remove the symbolic links in /usr/local/bin
Eclipse error when adding Python Lib on OS X Lion
When I tried creating my first PyDev project in Eclipse on OS X Lion, I was asked to configure my interpreter as it was not listed. And when I did the “Auto Config” option, it came be with the following error: “Error: Python stdlib not found It seems that the Python /Lib folder (which contains…
Downloadable Python 3.1.1 Docs
As of now, only the Python 2.6.5 Documentation is published for download on the python.org website; however, I was interested in downloading Python 3.1.1’s Documentation. After some searching, I found it; so sharing it to the world. It’s at: http://www.python.org/ftp/python/doc/3.1.1/. (I personally chose the “python-3.1.1-docs-pdf-letter” and it printed fine.) Happy Coding!
Should I learn Python 2.x or Python 3.x
Googling this didn’t really help me decide, but after stumbling on an interview by O’Relly with Guido van Rossum, the creator of Python, I decided to go with Python 3.x. Here’s what he said that set my mind: If you’re learning Python for the first time, 3.0 is a great way to learn the language.…
Learning Python, Linux, Java, Ruby and more with Tutorial Videos
I’m kicking off my Python journey once more, hopefully, now with depth. And came across this website – thanks to Anton Sipos – called ShowMeDo, that I believe can enhance your learning through videos. Take it easy.