Changeset 105

Show
Ignore:
Timestamp:
11/01/07 10:24:19 (14 months ago)
Author:
verbosus
Message:

Automatic Text: replaced UPPERCASE and LOWERCASE strings with the lowercase/uppercase constants in the string module

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hacks/trunk/automatic_text.py

    r101 r105  
    2626(working!) copy of FontStudio with this neat feature. 
    2727""" 
     28 
     29import string 
    2830 
    2931from FL import * 
     
    3840    ] 
    3941 
    40 UPPERCASE = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z".split() 
    41 LOWERCASE = "a b c d e f g h i j k l m n o p q r s t u v w x y z".split() 
     42UPPERCASE = [x for x in string.uppercase] 
     43LOWERCASE = [x for x in string.lowercase] 
    4244DIGITS = "zero one two three four five six seven eight nine".split() 
    4345