big text strings
Emile van Sebille
emile at fenx.com
Wed Apr 25 08:33:25 EDT 2001
Sure. One way is to pass your big string to a text formatting function that
breaks the line up as it outputs it.
--
Emile van Sebille
emile at fenx.com
---------
"Brandon J. Van Every" <vanevery at 3DProgrammer.com> wrote in message
news:TyxF6.3796$G04.437886 at newsread2.prod.itd.earthlink.net...
> I want to have big text strings in my python scripts, whole paragraphs in
> length. I do not want to have to insert \ characters at every line. Is
> this possible?
>
> The application is a text adventure game. I want the big paragraph text
> descriptions to be close to the program logic that governs them, I don't
> want to stick them off in some special file or database somewhere. That
> might be a good idea for localization, but we don't know that the game
will
> ever be translated into another language, and it'll be a pain in the ass
for
> development to have the text separate.
>
> --
> Cheers, www.3DProgrammer.com
> Brandon Van Every Seattle, WA
>
> For plot and pace, writers use words; game designers use numbers.
> Anything understood over time has plot and pace.
>
>
>
More information about the Python-list
mailing list