python学习(一)运行第一个python脚本
2024-09-03 00:15:58
当然这里指的是在linux或者unix下,像写bash脚本那样
#!/usr/bin/python print('The Bright Side ' + 'of Life...')
反正我建议就算一开始也不要用解释器,脚本这个玩具要比解释器那个玩具好太多,解释器敲的命令留不下来。
#! 是一个标识吧,后面接的路径指明了执行脚本的解释器
[tuhooo@localhost python_programming]$ ls
first_scripts.py
[tuhooo@localhost python_programming]$ chmod u+x first_scripts.py
[tuhooo@localhost python_programming]$ ./first_scripts.py
The Bright Side of Life...
最新文章
- prototype.js源码
- 关于asp.net impersonation的一些谣传
- CentOS6.4安装Smokeping节点监控软件
- PHP String函数分类
- samba服务设置,Linux系统和Windows文件共享
- poj2299解题报告(归并排序求逆序数)
- MongoDB使用记录
- CentOS 配置 ssh
- warning: directory not found for option &;#39; &;#39;
- debian上安装lua编辑器
- 1000: A+B Problem(NetWork Flow)
- ios富文本的简单使用 AttributedString
- 【C++小白成长撸】--N阶幻方(魔阵)矩阵
- Java线程池带图详解
- Dynamics CRM 给视图配置安全角色
- Hbase技术笔记
- Spring Boot 数据库连接池 Druid
- Python实现Plugin
- 手机视频编辑软件APP
- POJ - 2299 Ultra-QuickSort(归并排序)
热门文章
- BZOJ1709超级弹珠
- Html.AntiForgeryToken 防止伪造提交
- DB迁移:从SQL Server 2005到MySQL
- DB2数据库报 [SQL0805N Package ";NULLID.SQLLD003"; was not found.]
- react 使用antd导航组件实现事件传递并局部刷新DOM
- C++多线程(POSIX)
- Hibernate search与Lucene包异常学习心得
- 2018年东北农业大学春季校赛 F wyh的集合【思维】
- 解决: g++: internal compiler error: Killed (program cc1plus)
- oracle的锁与并发机制