2019独角兽企业重金招聘Python工程师标准>>> 很简单记一下步骤: 最后 - 即可 #if DEV print("我是开发环境") #else print("我是生产环境") #endif 转载于:https://my.oschina.net/zhaodacai/blog/1552858