3.a simple start -- To be continued

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了3.a simple start -- To be continued相关的知识,希望对你有一定的参考价值。

由于python的入门门槛比较低,所以这里就记一下python的简单入门:

1.头文件的形式

#!/bin/env python

# coding=utf-8    或者     # -*- coding:utf-8 -*-

2.常量和变量的写法

常量一般都用大写:  AGE = 56

变量建议的写法:   age_of_me = 3
3.注释代码
如果是一行的代码,用#注释
如果是多行的代码,用三引号来注释。
4.python中单引号与双引号,无任何区别。
5.
 
---未完待续---

 

以上是关于3.a simple start -- To be continued的主要内容,如果未能解决你的问题,请参考以下文章

present simple, continuous, and be going to 三者区别

bug 记录 Unable to start ServletWebServerApplicationContext due to multiple ServletWebServerFactory be

解决:The Tomcat connector configured to listen on port 8182 failed to start. The port may already be i

This application failed to start because no Qt platform plugin could be initialized

This application failed to start because no Qt platform plugin could be initialized.

This application failed to start because no Qt platform plugin could be initialized