Python/Perl/Shell - 注释-声明-运行
2014-11-27 16:43
337 查看
Something really basic:
开头:
Shell
#!/bin/bash
perl:
#!/usr/bin/perl
python:
#! usr/bin/python
注释:
perl
单行: #
多行:
=pod
comments
=cut
python
单行:#
多行:''' comments'''
shell:
单行:#
运行:
perl program.pl
python program.py
bash program.sh
当然也可以chmod +x programname 然后直接./programname啦,都可以的。。。
开头:
Shell
#!/bin/bash
perl:
#!/usr/bin/perl
python:
#! usr/bin/python
注释:
perl
单行: #
多行:
=pod
comments
=cut
python
单行:#
多行:''' comments'''
shell:
单行:#
运行:
perl program.pl
python program.py
bash program.sh
当然也可以chmod +x programname 然后直接./programname啦,都可以的。。。
相关文章推荐
- 脚本文件(shell perl python)编程的总结的框架。
- Shell Perl Python 介绍
- shell,perl,python
- shell,perl,python之间的区别
- linux系统管理第2章笔记 shell与python、perl 工具集-1
- 在emacs开启几个动态语言的shell(perl, python, ruby, bean shell,groovy)
- 在cmd下运行Python脚本+如何使用Python Shell
- shell、perl和python的简单对比
- 可一键运行的editor, for Lua, Perl, Python, Ruby etc.. (转)
- 脚本语言语言脚本语言:Shell , JavaScript、VBScript、Perl、PHP、Python、Ruby、Lua
- Shell Perl Python 介绍
- 可一键运行的editor, for Lua, Perl, Python, Ruby etc..
- shell+sed+awk和perl和python的区别
- shell,perl,python的区别
- 脚本语言perl,shell,python学习论坛及网站
- 如何在python shell下直接运行py程序
- shell+sed+awk和perl和python的区别
- Shell Perl Python 脚本语言介绍
- eclipse shell perl python svn
- 如何在Windows下开发Python:在cmd下运行Python脚本+如何使用Python Shell(command line模式和GUI模式)+如何使用Python IDE