• Home
  • About
    • About The Coder
    • Language List
  • Code Rules
    • #1: Clarity Trumps Everything
    • #2: Source Code is for Humans
    • #3: Don’t Ignore Warnings
    • #4: Comment As You Go
    • #5: Always Use Parentheses
    • #6: Always Define Literals
    • #7: Never Repeat Yourself
  • CS-101
  • Python-101
  • Simple Tricks
  • Guestbook

The Hard-Core Coder

~ I can't stop writing code!

The Hard-Core Coder

Category Archives: Python

Exploring Python.

This is Python! (part 6)

16 Monday Feb 2026

Posted by Wyrd Smythe in Python

≈ 1 Comment

Tags

Python 100, Python code, software design, Unicode

This series of posts is for those who have used a programming language before but are not familiar with Python. This post concludes the introduction to the language.

This last post of the introductory tour is a grab bag of features I skipped in previous posts. From now on we’ll be digging deeper into specific topics.

Continue reading →

This is Python! (part 5)

09 Monday Feb 2026

Posted by Wyrd Smythe in Python

≈ 2 Comments

Tags

Python 100, Python code, software design

This series of posts is for those who have used a programming language before but are not familiar with Python. This fifth post continues the introduction to the language.

In the last post we explored the if-elif-else statement as well as the while and for loop statements. In this post we start exploring functions.

Continue reading →

This is Python! (part 4)

02 Monday Feb 2026

Posted by Wyrd Smythe in Python

≈ 2 Comments

Tags

Python 100, Python code, software design

This series of posts is for those who have used a programming language before but are not familiar with Python. This post continues the introductory tour of the language.

In the last three posts [part 1, part 2, & part 3] we toured the key Python data types. In this post we start exploring Python syntax and language statements.

Continue reading →

This is Python! (part 3)

26 Monday Jan 2026

Posted by Wyrd Smythe in Python

≈ 3 Comments

Tags

Python 100, Python code, software design

This is the third post in a series for those who have never used Python but have used a programming language before. These posts are meant as an introduction to this delightful and popular programming language.

The first post introduced Python’s most basic data types; the second post introduced its more interesting list-like data types. In this post, we’ll start digging deeper into those list-like data types and what they can do.

Continue reading →

This is Python! (part 2)

19 Monday Jan 2026

Posted by Wyrd Smythe in Python

≈ 5 Comments

Tags

Python 100, Python code, software design

This is the second post in a series for those who have never used Python but have used a programming language before. These posts are an introduction to this delightful and popular (free) programming language.

The first post introduced Python’s most basic data types: int, float, str, bool, and None. In this post we’ll meet the list-like data types.

Continue reading →

This is Python! (part 1)

12 Monday Jan 2026

Posted by Wyrd Smythe in Python

≈ 5 Comments

Tags

Python 100, Python code, software design

There is a well-known movie line: “This! Is! Sparta!!” To begin the new year, here begins a series of posts under the rubric of “This is Python!” (Python isn’t quite as emphatic about things as Spartans, so it’s just one sentence with one exclamation point.)

These posts are meant for those who have never met Python but who have used a programming language before and know the general concepts. These posts provide a tour of the language.

Continue reading →

Tk Calculator App Extra

29 Monday Dec 2025

Posted by Wyrd Smythe in Fun, Python

≈ 1 Comment

Tags

Python code, software design

The last three posts (see here, here, and here) have taken us through Python’s standard tkinter module from the basics to a simple windowed application with a text window for editing and the usual features for loading and saving text files.

I mentioned in the second post that I’d “implement a simple word-counter to replace the calculator parsing and execution code.” That’s what today’s short end-of-the-year post is about.

Continue reading →

Python Prefix Calculator App

22 Monday Dec 2025

Posted by Wyrd Smythe in Fun, Python

≈ 2 Comments

Tags

calculator, Jan Łukasiewicz, Polish notation, prefix notation, Python code, software design

In the last post we used the Python tkinter module (which is standard) to build a shell window for script-based calculator app. To do anything useful, the shell needs a back-end calculator object to implement script parsing and executing functions.

In this post we’ll look at code for a script-driven prefix calculator that can be easily extended to include other (mathematical) functions.

Continue reading →

Python Tk Calculator App

15 Monday Dec 2025

Posted by Wyrd Smythe in Fun, Python

≈ 3 Comments

Tags

Python code, software design

The previous post laid out the basics for creating windowing (GUI) apps in Python using the tkinter (Tk Interface) module. The module has been part of the standard library since Python versions 2.7 and 3.1.

In this post, as a small seasonal gift, I’ll start presenting a working GUI application — a script-driven pre-fix calculator with variables. Between the calculator code and its window code, there is too much for one post, so there will be (at least) a second part next week.

Continue reading →

Tk Windows in Python

24 Monday Nov 2025

Posted by Wyrd Smythe in Fun, Interesting, Python

≈ 3 Comments

Tags

Python code, software design

Python has included the Tk interface module (tkinter) since versions 2.7 and 3.1. The module is a binding to version 8.5 of the Tk GUI suite for making windowing applications. My first installed version of Python was 2.7, so I’ve been aware of the module for over ten years but never explored it.

At the beginning of this month, I decided to dive in. It led to an intense two-week bout of 12+ hour days, but I emerged with working apps (and my sanity). This post and ones to come document and share what I’ve learned.

Continue reading →

← Older posts
Follow The Hard-Core Coder on WordPress.com

The Posts

  • This is Python! (part 6)
  • This is Python! (part 5)
  • This is Python! (part 4)
  • This is Python! (part 3)
  • This is Python! (part 2)
  • This is Python! (part 1)
  • Tk Calculator App Extra
  • Python Prefix Calculator App
  • Python Tk Calculator App
  • Tk Windows in Python

The Topics

  • Blog (4)
  • CS101 (37)
  • Fun (39)
  • Interesting (5)
  • Opinion (12)
  • Python (67)
  • Stories (15)

The Month

February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Jan    

The Past

Posts

RSS Feed

Comments

RSS Feed

The Main Blog

Visit Logos con carne

Lots of wyrds... with meat!

The Author

Wyrd Smythe

Wyrd Smythe

The canonical fool on the hill watching the sunset and the rotation of the planet and thinking what he imagines are large thoughts.

View Full Profile →

Create a website or blog at WordPress.com

  • Subscribe Subscribed
    • The Hard-Core Coder
    • Already have a WordPress.com account? Log in now.
    • The Hard-Core Coder
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar