DeveloperPlayBook
Python
Python
  • Introduction
  • Architecture
    • Technology Stack
    • ADR Records
  • Design
  • Bootstraping
  • Development Environment
    • Accounts (AWS, GCP, CircleCI)
  • Services/API
    • Serverless
    • Containers
    • Python
    • Firebase
    • Chatbots
    • Testing
  • Frontend
    • Serverless
    • Containers
    • Chatbot
  • Plattform
  • IAM - IAMaaS
  • Persistance - DBaaS
    • Serverless
    • Container
  • Event Driven / Streaming aaS
    • Kinesis
  • AI - AIaaS
  • Production / Reliability Engineering
  • create-k8s-secrets
  • VI
  • Tools
Powered by GitBook
On this page
  • Object Oriented Programming:
  • Debug with python:
  • Switch in Python:
  • Testing
  • Accessing value inside nested dictionaries
  • How do I write a function that returns another function?
  • Lambda Functions
  • Check if key exists in (nested) dict
  • Dependency Injection
  • String replacement / patterns (f-strings)
  1. Services/API

Python

PreviousContainersNextFirebase

Last updated 7 years ago

Object Oriented Programming:

Debug with python:

print(variable)
  • encode json? cls=decimalencoder.DecimalEncoder ?

Overview:

https://www.fullstackpython.com/table-of-contents.html

https://github.com/mattmakai/fullstackpython.com/pulls

Modules: https://www.tutorialspoint.com/python/python_modules.htm

Switch in Python:

Testing

Accessing value inside nested dictionaries

How do I write a function that returns another function?

Lambda Functions

Check if key exists in (nested) dict

Dependency Injection

String replacement / patterns (f-strings)

Check if key is in (nested) dictonary:

  • you always can create a function for it

else:

Accessing value inside nested dictionariesStack Overflow
Object-Oriented Programming in Python (OOP): TutorialDataCamp
Object-Oriented Programming (OOP) in Python 3 – Real Pythonrealpython
How do I write a function that returns another function?Stack Overflow
Getting started with Serverless Framework and Python (Part 2)David Allen Fox
Logo
Why Doesn't Python Have Switch/Case?Daniel Roy Greenfeld
Python-Tutorial: Lambda, filter, reduce und map
Logo
Elegant way to check if a nested key exists in a dict?Stack Overflow
What is a Pythonic way for Dependency Injection?Stack Overflow
Check if Key exists in Dictionary - Python - thisPointerthisPointer.com
The new f-strings in Python 3.6 | Seasoned & Agile
Logo
Logo
Logo
Safe method to get value of nested dictionaryStack Overflow
Logo
Logo
Convert floating point number to a certain precision, and then copy to stringStack Overflow
Logo
Logo
Logo
Logo
Logo
Logo