摘要: 在RHEL6下使用Vim写python脚本发现不能使用中文注释,后来发现是编码问题[wu@server python]$ cat ex4.py #!/usr/bin/python #中文注释 #cars_num cars = 100 #space_car_num space_in_a_car = 40 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passen.. 阅读全文
posted @ 2012-07-26 14:33 枯木-Linux 阅读(561) 评论(0) 推荐(0) 编辑