python类user_cache_dir()的实例源码

__init__.py 文件源码 项目:wttd-dojo 作者: diegosorrilha 项目源码 文件源码 阅读 59 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:wttd-dojo 作者: diegosorrilha 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:python-beginner-tutorial 作者: mak1323 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:PornGuys 作者: followloda 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:infiblog 作者: RajuKoushik 项目源码 文件源码 阅读 16 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:bang_pivotal 作者: thealanberman 项目源码 文件源码 阅读 17 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:yml2json 作者: neo1104 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:Repobot 作者: Desgard 项目源码 文件源码 阅读 16 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:CloudPrint 作者: William-An 项目源码 文件源码 阅读 14 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:webapp 作者: superchilli 项目源码 文件源码 阅读 14 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:talk-to-obama 作者: krrishd 项目源码 文件源码 阅读 16 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:pipenv 作者: pypa 项目源码 文件源码 阅读 16 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:QualquerMerdaAPI 作者: tiagovizoto 项目源码 文件源码 阅读 16 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:gardenbot 作者: GoestaO 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:flask-zhenai-mongo-echarts 作者: Fretice 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:hate-to-hugs 作者: sdoran35 项目源码 文件源码 阅读 17 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:SenateCaller 作者: tcash21 项目源码 文件源码 阅读 17 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:minihydra 作者: VillanCh 项目源码 文件源码 阅读 17 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:ieee-cs-txst 作者: codestar12 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )
__init__.py 文件源码 项目:deliver 作者: orchestor 项目源码 文件源码 阅读 15 收藏 0 点赞 0 评论 0
def get_default_cache():
    """
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    """
    return (
        os.environ.get('PYTHON_EGG_CACHE')
        or appdirs.user_cache_dir(appname='Python-Eggs')
    )


问题


面经


文章

微信
公众号

扫码关注公众号