Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
Wrapper around the raw_input builtin function

Will return unicode in Python 2 like in Python 3

        def prompt(prompt_):
    """Wrapper around the raw_input builtin function

    Will return unicode in Python 2 like in Python 3
    """
    result = raw_input(prompt_)
    try:
        return result
        #return result.decode(sys.stdin.encoding)
    except AttributeError:
        return result
        


src/p/y/PySeqsee-0.1.2/farg/third_party/skeleton/core.py   PySeqsee(Download)
import weakref
 
from skeleton.utils import (
    get_loggger, get_file_mode, vars_to_optparser, prompt)
 

src/p/y/PySeqsee-HEAD/farg/third_party/skeleton/core.py   PySeqsee(Download)
import weakref
 
from skeleton.utils import (
    get_loggger, get_file_mode, vars_to_optparser, prompt)
 

src/s/k/skeleton_stu-0.6.3/skeleton/core.py   skeleton_stu(Download)
import weakref
 
from skeleton.utils import (
    get_loggger, get_file_mode, vars_to_optparser, prompt)
 

src/s/k/skeleton-0.6/skeleton/core.py   skeleton(Download)
import weakref
 
from skeleton.utils import (
    get_loggger, get_file_mode, vars_to_optparser, prompt)
 

src/s/k/skeleton-HEAD/skeleton/core.py   skeleton(Download)
import weakref
 
from skeleton.utils import (
    get_loggger, get_file_mode, vars_to_optparser, prompt)