Re: OT: python question

Date : Fri, 30 Sep 2005 15:21:25 +0200
To : XSI(at)Softimage.COM
From : Guy Rabiller <guy(at)alamaison.fr>
Subject : Re: OT: python question

str = 'rendertype'.capitalize()

str = yourstringvariable.capitalize()

--
guy rabiller | 3d technical director (at) LaMaison


Stefan Andersson wrote:

Hi all,

Anyone here knows if it's possible to force python to always start a
word with a capitol letter when a user has entered somthing else?

ex. "rendertype"  should be "Rendertype"

regards
stefan

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi





--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.