PyDev of the Week: Yasoob Khalid

Posted by Mike on July 20th, 2015 filed in Advocacy, PyDevOfTheWeek, Python
2 Comments »

This week we would like to welcome Yasoob Khalid (@yasoobkhalid) as our PyDev of the Week. He is the writer behind the Free Python Tips blog. Let’s spend some time getting to know him better.

pic

Read the rest of this entry »


wxPython: Ensuring Only One Instance Per Frame

Posted by Mike on July 15th, 2015 filed in Cross-Platform, GUI Toolkits, Python, wxPython
3 Comments »

The other day, I came across an interesting StackOverflow question where the fellow was trying to figure out how to open a sub-frame only once. Basically he wanted a single instance of the sub-frame (and other sub-frames). After digging around a bit on Google, I found an old thread from the wxPython Google Group that had an interesting approach to doing what was needed.

Basically it required a bit of meta-programming, but it was a fun little exercise that I thought my readers would find interesting. Here’s the code:

Read the rest of this entry »


Python 101: Episode #10 – Functions

Posted by Mike on July 14th, 2015 filed in Cross-Platform, Python, Screencast
Comment now »

I recently completed Episode #10 of the Python 101 Screencast. It’s about the basics of functions. I hope you like it!


PyDev of the Week: Kevin Ollivier

Posted by Mike on July 13th, 2015 filed in Advocacy, PyDevOfTheWeek, Python
Comment now »

This week we would like to welcome Kevin Ollivier as our PyDev of the Week. He’s helped me (and many others) lots of times on the wxPython mailing list. Let’s spend some time getting to know him a bit better.

Read the rest of this entry »


wxPython: Extracting XML from the RichTextCtrl

Posted by Mike on July 10th, 2015 filed in Cross-Platform, GUI Toolkits, Python, wxPython
2 Comments »

I recently came across a StackOverflow question where the fellow was asking how to get wxPython’s RichTextCtrl’s XML data so he could save it to a database. I don’t know much about this control, but after a quick Google search, I found an article from 2008 that gave me the information I needed. I took that example and cut it down to the following example:

Read the rest of this entry »


Python 101: Episode #9 – Imports

Posted by Mike on July 8th, 2015 filed in Advocacy, Education, Packaging, Python
Comment now »

Check out my latest episode of Python 101. This one is talks about how imports work in Python. You will learn about the following aspects of importing:

  • import
  • from module import submodule
  • from module import *

Enjoy!


PyDev of the Week: Alex Gaynor

Posted by Mike on July 6th, 2015 filed in Advocacy, PyDevOfTheWeek, Python
Comment now »

This week we welcome Alex Gaynor (@alex_gaynor) as our PyDev of the Week! Alex writes an interesting Python blog and is on the board of directors for the Python Software Foundation. You can get a feel for the projects that Alex contributes to via his Github page. Let’s spend some time getting to know him better!

Read the rest of this entry »


Python 101 Screencast: Episode #8 – File I/O

Posted by Mike on July 1st, 2015 filed in Cross-Platform, Education, Python
Comment now »

Check out my latest video from the Python 101 Screencast. In this episode we learn how to use Python’s file handling capabilities. You will learn how to read, write and append to a file.


Python 101: Episode #7 – Exception Handling

Posted by Mike on June 29th, 2015 filed in Cross-Platform, Python
Comment now »

I recently recorded the next episode of Python 101. This one is on Exception Handling. I hope you like it:


PyDev of the Week: David Beazley

Posted by Mike on June 29th, 2015 filed in Advocacy, PyDevOfTheWeek, Python
Comment now »

This week we welcome David Beazley (@dabeaz) as our PyDev of the Week! David is the author of the Python Essential Reference and the co-author of the Python Cookbook, Third edition. He also has a blog that I enjoyed when I was first learning Python, although I don’t think it’s updated much any more. You might find his Python talks of interest though. Let’s spend some time getting to know him better!

Read the rest of this entry »