EOF while scanning triple-quoted string literal
Martin Gregorie
martin at address-in-sig.invalid
Fri Oct 15 13:24:11 EDT 2010
On Fri, 15 Oct 2010 17:02:07 +0000, Grant Edwards wrote:
> On 2010-10-15, Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au>
> wrote:
>
>> In the Unix world, which includes OS X, text tools tend to have
>> difficulty with tabs. Or try naming a file with a newline or carriage
>> return in the file name, or a NULL byte.
>
> How do you create a file with a name that contains a NULL byte?
Use a language or program that doesn't use null-terminated strings.
Its quite easy in many BASICs, which often delimit strings by preceeding
it with a with a byte count, and you hit Ctrl-SPACE by accident....
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
More information about the Python-list
mailing list