I tried to draw a common emitter amplifier by using SchemDraw package in Google Colab Notebook. I installed SchemDraw version=0.14 by pip in Colab Notebook. This version is not latest. The latest version(=0.15) probably has some ploblem. pip install schemdraw==0.14 The version of Python in the notebook kernel is 3.7. It came up against a diffculty. In Python 3.7. or earlier the Walrus operator := is not available. import schemdraw print('Schemdraw',schemdraw.__version__) !python --version # Schemdraw 0.14 # Python 3.7.13 Sample codes in the SchemDraw Gallary are written with the Walrus operator. For instance the code below is one in the gallary and dose not work in the Colab Notebook. import schemdraw import schemdraw.elements as elm # Discharging capacitor with schemdraw.Drawing() as d: d += (V1 := elm.SourceV().label('5V')) d += elm.Line().right(d.unit*.75) d += (S1 := elm.SwitchSpdt2(action='close').up().anchor('b').label('$t=0$...
I am a pythoner since 2020. I will write here my dairy about python, my hobby, and...