iOS Training from beginner to advanced
We’re going to have a diversion away from the penguin app for a bit due to some work I ‘m doing and thought it would be useful for many working with the Raspberry Pi and Python. I’m working with time-lapse photography on the Raspberry… Continue Reading “From Apple to Raspberry Pi: How to do Threading with Python and Tkinter”
We began to make our penguin data collection interface last week. Today we are going to add Combobox selections to the penguin panel. The Combobox widget codes similar to the Entry widget. Instead of text for a title it takes a list for values.… Continue Reading “From Apple to Raspberry Pi: Adding Combo Box Selections and Message Boxes”
We’ve been learning parts of Python together. So far we’ve learned the basics of Python and setting up classes and instances in it. We have a good start on using UI elements and styling them with the basics of tk and ttk. I’d like… Continue Reading “From Apple to Raspberry Pi: Using Object Oriented Programming with Tkinter”
When I posted yesterday about GIMP and making Buttons for Python projects on the Raspberry Pi, I had thought someone would have a tutorial for the classic pre-iOS7 rounded rectangle button. I didn’t find any. Here is a video I put together of making… Continue Reading “From Apple to Raspberry Pi: Making Round Rectangle Buttons — The Movie”
I’ve explored much of the basic coding in Python, but I’ll need a good user interface for the projects I’m doing. When it comes to the graphical user interface (GUI), Xcode and Python are on two different planets. With storyboards and interface builder, Xcode… Continue Reading “From Apple to Raspberry Pi: Windows Buttons and Widgets — on Pi!”
There are several ordered types in Python, one of the most common is the string. In Xcode, we defined a NSString this way: Objective-C has the @”…” indicators for a string. Python on the other hand can use the much easier “…” or ‘…’… Continue Reading “From Apple to Raspberry Pi: Using Strings”
Object oriented languages have a concept called inhertance. A class can give its methods and properties to another class, which then replaces or expands the inherited class. We call the new class a subclass. When we replace a function or method we override the… Continue Reading “From Apple to Raspberry Pi: Using Inheritance and Overrides”