A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/064815.html below:

big text strings

big text strings big text stringsEmile 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4