Modified PyQspice *.cir file

please check this post.