• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(322)  |  Call(0)  |  Derive(0)  |  Import(322)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/l/e/LEPL-4.3.2/src/lepl/matchers/derived.py   LEPL(Download)
Matchers that are defined in terms of other matchers (ie the majority).
'''
 
from string import whitespace, digits, ascii_letters, \
    ascii_uppercase, ascii_lowercase, printable, punctuation
 
from lepl.core.parser import tagged

src/x/r/xrope-HEAD/trunk/tk_happy-0.3/src_templates.py   xrope(Download)
#!/usr/bin/env python
from string import maketrans, printable, digits, letters
import copy
 
# change all non-legal letters to underscore
goodset = letters+digits+'_'
nonlegal = ''.join([c for c in printable if c not in goodset])

src/x/r/xrope-HEAD/tk_happy-0.3/src_templates.py   xrope(Download)
#!/usr/bin/env python
from string import maketrans, printable, digits, letters
import copy
 
# change all non-legal letters to underscore
goodset = letters+digits+'_'
nonlegal = ''.join([c for c in printable if c not in goodset])

src/g/r/grailmud-0.1a3/strutils.py   grailmud(Download)
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
"""
 
from string import printable, whitespace, ascii_letters, digits, punctuation
from pyparsing import Word, Optional
 
#I don't know either, but some modules want this

src/l/e/LEPL-4.3.2/src/lepl/apps/rfc3696.py   LEPL(Download)
'''
 
from re import compile as compile_
from string import ascii_letters, digits, printable, whitespace
 
from lepl import *
 

src/v/t/VT-USRP-daughterboard-drivers_python-HEAD/gr-pager/src/usrp_flex_band.py   VT-USRP-daughterboard-drivers_python(Download)
#!/usr/bin/env python
 
from gnuradio import gr, gru, usrp, optfir, eng_notation, blks2, pager
from gnuradio.eng_option import eng_option
from optparse import OptionParser
from string import split, join, printable
import time

src/v/t/VT-USRP-daughterboard-drivers_python-HEAD/gr-pager/src/usrp_flex_all.py   VT-USRP-daughterboard-drivers_python(Download)
#!/usr/bin/env python
 
from gnuradio import gr, gru, usrp, optfir, eng_notation, blks2, pager
from gnuradio.eng_option import eng_option
from optparse import OptionParser
from string import split, join, printable
import time

src/s/i/simpleencode-1.0.0/simpleencode.py   simpleencode(Download)
 
from random import choice
from base64 import b64encode, b64decode
from string import printable, whitespace, letters, digits
from itertools import izip, cycle
 
 

src/g/r/grailmud-0.1a3/npcs/elizaimpl.py   grailmud(Download)
 
from collections import deque
from grailmud.cleanimporter import CleanImporter
from string import punctuation, maketrans, printable
from random import randrange, choice
from grailmud.strutils import wsnormalise, printable
from grailmud.utils import smartdict

src/f/r/fripp-studio-HEAD/trunk/fripp_dev/music/keykit.py   fripp-studio(Download)
 
from music.midibase import MIDIRenderingBase, MidiIOBase, MIDIInputBase
 
from string import printable, whitespace
from pyparsing import CharsNotIn, Literal, OneOrMore, Optional, Suppress, \
    Word, ZeroOrMore, oneOf, hexnums, nums
 

  1 | 2 | 3  Next