Georg Brandl <[EMAIL PROTECTED]> writes on Sun, 20 Aug 2006 20:08:38 +0200:
> [EMAIL PROTECTED] wrote:
> > Can the input to the python script be given from the same file as the
> > script itself. e.g., when we execute a python script with the command
> > 'python > When I ran the below the python i
Dennis Lee Bieber wrote:
>> Can the input to the python script be given from the same file as the
>> script itself. e.g., when we execute a python script with the command
>> 'python >
> Redirecting? Ugh...
>
> Off-hand, I'd say NO
>
> There is no way to tell the python interpreter where the pro
"Dennis Lee Bieber" <[EMAIL PROTECTED]> Wrote:
| On 20 Aug 2006 11:02:25 -0700, [EMAIL PROTECTED] declaimed the
| following in comp.lang.python:
|
| > Can the input to the python script be given from the same file as the
| > script itself. e.g., when we execute a python script with the command
you can (ab)use doc strings. See the doctest module for an example.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Can the input to the python script be given from the same file as the
> script itself. e.g., when we execute a python script with the command
> 'python
> When I ran the below the python interpreter gave an error.
*sigh* Why do you think that we could guess what error t
Can the input to the python script be given from the same file as the
script itself. e.g., when we execute a python script with the command
'python http://mail.python.org/mailman/listinfo/python-list