• Blog
  • About
  • RSS
  • Photography Site
  • Art
  • Books
  • ComPosts
  • Creativity
  • GIS
  • Inventions and Ideas
  • Photography
  • Poetry
  • Programming
  • Prose
  • Technology
  • Web Development
Subscribe via RSS

Recent Posts

  • What is a Christian?
  • Expansion of U.S. domestic surveillance threatens civil liberties and freedom
  • How to Prepare for a Cyber-Attack
  • Gutterfound
  • Where to Find the desktop.msi File for Performing a Silent Install of ArcGIS for Windows
Skip to content
Ryan Davison
  • Blog
  • About
  • RSS
  • Photography Site

Tag: switch/case

How to Write a Python Switch Statement

by Ryan DavisonProgrammingPosted on March 4, 2019March 4, 2019No Comments

I’ll admit, I don’t use switch statements very often when programming. When I do, it has always been in Javascript. So when I found myself wanting to use a Python switch statement recently, I discovered that the switch/case statement doesn’t exist in the language. The Python Switch in a Nutshell If you don’t want to …

Read more “How to Write a Python Switch Statement”

Powered by WordPress Inspiro WordPress Theme by WPZOOM