On Fri, 17 Jun 2011 22:15:57 +0200, Hans Mulder said:
> On 17/06/11 19:47:50, Timo Lindemann wrote:
>> On Fri, 17 Jun 2011 00:57:25 +, Jason Friedman said:
>>
>>
>>
>>> but for various reasons I want a single script. Any alternatives?
>>
>> yo
On Fri, 17 Jun 2011 00:57:25 +, Jason Friedman said:
>
> but for various reasons I want a single script. Any alternatives?
you can use a here document like this:
#! /bin/bash
/usr/bin/python2 << EOPYTHON
def hello():
print("Hello, World");
if __name__ == "__main__":
hel