On Sat, 25 Mar 2006 07:06:59 +0100, Fredrik Lundh wrote:
> Michael Sperlle wrote:
>
>> I need to write out a file containing the # comment. When I try to
>> specify it as part of a literal, everything afterward turns into a
>> comment.
>
> "turns into a comment" in what sense ? from your descri
Michael Sperlle wrote:
> I need to write out a file containing the # comment. When I try to specify
> it as part of a literal, everything afterward turns into a comment.
"turns into a comment" in what sense ? from your description, it sounds
like a bug in your editor's syntax highlighter. Pytho
Michael Sperlle wrote:
> I need to write out a file containing the # comment. When I try to specify
> it as part of a literal, everything afterward turns into a comment.
>
> I finally created a file containing the #, read it in, and used the
> resulting variable as part of the string I created.
>
Em Sáb, 2006-03-25 às 00:46 +, Michael Sperlle escreveu:
> I need to write out a file containing the # comment. When I try to specify
> it as part of a literal, everything afterward turns into a comment.
$ python
Python 2.3.5 (#2, Mar 6 2006, 10:12:24)
[GCC 4.0.3 20060304 (prerelease) (Debian
I need to write out a file containing the # comment. When I try to specify
it as part of a literal, everything afterward turns into a comment.
I finally created a file containing the #, read it in, and used the
resulting variable as part of the string I created.
But that is so kludgy, even a newb