Open in app

Sign In

Write

Sign In

James Cooper
James Cooper

51 Followers

Home

About

May 19, 2022

Moving from Python to C++ :

I. Elementary classes and objects In Python, you can write code quickly and compile and run it pretty much on the spot. The compilation creates a byte code file and the Python runtime executes those byte codes pretty quickly. …

Python

7 min read

Python

7 min read


Jan 12, 2021

Writing a calculator program in Python

Many computer courses in Python suggest writing a calculator program in Python to develop both your logic and user interface skills. In this article we discuss some more advanced concepts you might use to write a good calculator program with a minimum of effort. …

Python Programming

5 min read

Writing a calculator program in Python
Writing a calculator program in Python
Python Programming

5 min read


Jan 4, 2021

Build a simple address book in Python

It is not uncommon to propose an exercise in Python to construct an address book display. It should display a list of names and allow you to view the details of any individual, as well as being able to add, edit to update entries. In this article we take a…

Python

6 min read

Build a simple address book in Python
Build a simple address book in Python
Python

6 min read


Oct 15, 2020

Easy Eggs Benedict

There’s really not much to making this fabulous breakfast (or lunch or dinner) dish. This video shows how to make Eggs Benedict in about 10 minutes. Actually, the video is only 9 minutes, because we cut out part of the egg poaching time. But all you need to make…

Recipes For Cooking

2 min read

Easy Eggs Benedict
Easy Eggs Benedict
Recipes For Cooking

2 min read


Oct 5, 2020

Entering data in Python: console or GUI

Suppose you want the user to enter some data for a Python program to work on. For this, Python provides the input statement, which can print out a prompting string and wait for keyboard input. name = input(“What is your name? “) print(“Hi “+name +” boy!”) This little program asks…

Programming Languages

4 min read

Entering data in Python: console or GUI
Entering data in Python: console or GUI
Programming Languages

4 min read


Sep 22, 2020

Comparing Python Tkinter and PyQt5

TkInter is the well-known GUi system based on the Tk toolkit and interfaced to Python so that it has become the preferential GUI interface system. PyQt5 is an analogous user interface developed and support by Riverbank Computing, and is essentially a set of bindings for the QT platform developed by…

Python Programming

6 min read

Comparing Python Tkinter and PyQt5
Comparing Python Tkinter and PyQt5
Python Programming

6 min read


Sep 21, 2020

PyQt Radio Buttons and the Mediator Pattern

In our previous article, we showed how to derive a new class from QRadioButton that keeps the index value of that button and keeps the click event callback right in the class itself. In this simple article we are going to look at an easy program that fills an entry…

Python Programming

4 min read

PyQt Radio Buttons and the Mediator Pattern
PyQt Radio Buttons and the Mediator Pattern
Python Programming

4 min read


Sep 19, 2020

Improving the RadioButtons in PyQt5

Subclassing QRadioButtons gives you a slicker interface. PyQt5 is an alternative GUI interface for Python that some choose over Tkinter. It has a number of advantages, notably built-in Tooltips. Coding for PyQt is in general as easy or easier than in tkinter, but there are some quirks. One place where…

Python Programming

4 min read

Improving the RadioButtons in PyQt5
Improving the RadioButtons in PyQt5
Python Programming

4 min read


Jan 23, 2019

Delicious Southern buttermilk biscuits

Our recipe for biscuits is really very simple, with flour, baking powder, baking soda, salt, unsalted butter and buttermilk. And it took a leap into high quality when we decided to fold and roll the biscuit dough, like you do when making croissants. …

Baking

6 min read

Delicious Southern buttermilk biscuits
Delicious Southern buttermilk biscuits
Baking

6 min read


Jan 10, 2019

Why homeopathy is hokum

There are lots of faux drugs on the shelves of many shameless drugstore chains that are labeled “homeopathic.” Usually they are labelled as something like “200C.” This is not a temperature, but the number of dilutions of the original substance. The completely unsubstantiated hypothesis behind homeopathy is that “like cures…

Homeopathy

3 min read

Why homeopathy is hokum
Why homeopathy is hokum
Homeopathy

3 min read

James Cooper

James Cooper

51 Followers

is the author of “Python Programming with Design Patterns” and 20 previous books.

Following
  • Richard Leslie

    Richard Leslie

  • Steve Savage

    Steve Savage

  • Alison Bernstein

    Alison Bernstein

  • Glenn Rockowitz

    Glenn Rockowitz

  • Charles Veley

    Charles Veley

See all (32)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams