当前位置: 首页>>代码示例>>Python>>正文


Python Red9_General.os_OpenFile方法代码示例

本文整理汇总了Python中Red9.core.Red9_General.os_OpenFile方法的典型用法代码示例。如果您正苦于以下问题:Python Red9_General.os_OpenFile方法的具体用法?Python Red9_General.os_OpenFile怎么用?Python Red9_General.os_OpenFile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Red9.core.Red9_General的用法示例。


在下文中一共展示了Red9_General.os_OpenFile方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: red9_apidocs

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_apidocs(*args):
    '''
    open up the Red9 Vimeo Channel
    '''
    import Red9.core.Red9_General as r9General  # lazy load
    apidocs=os.path.join(red9ModulePath(),'docs', 'html', 'index.html')
    r9General.os_OpenFile(apidocs)
开发者ID:xavMikeHoward,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例2: red9_help

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_help(*args):
    '''
    open up the Red9 help docs
    '''
    import Red9.core.Red9_General as r9General  # lazy load
    helpFile=os.path.join(red9ModulePath(),'docs',r'Red9-StudioTools Help.pdf')
    r9General.os_OpenFile(helpFile)
开发者ID:xavMikeHoward,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例3: red9_facebook

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_facebook(*args):
    """
    open up the Red9 Facebook Page
    """
    import Red9.core.Red9_General as r9General  # lazy load

    r9General.os_OpenFile("http://www.facebook.com/Red9StudioPack/")
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例4: red9_vimeo

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_vimeo(*args):
    """
    open up the Red9 Vimeo Channel
    """
    import Red9.core.Red9_General as r9General  # lazy load

    r9General.os_OpenFile("https://vimeo.com/user9491246")
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例5: red9_website_home

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_website_home(*args):
    """
    open up the Red9 Consultancy homepage
    """
    import Red9.core.Red9_General as r9General  # lazy load

    r9General.os_OpenFile("http://red9consultancy.com/")
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例6: red9_blog

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_blog(*args):
    """
    open up the Red9 Blog
    """
    import Red9.core.Red9_General as r9General  # lazy load

    r9General.os_OpenFile("http://red9-consultancy.blogspot.com/")
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:9,代码来源:setup.py

示例7: red9_apidocs

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_apidocs(*args):
    """
    open up the Red9 Vimeo Channel
    """
    import Red9.core.Red9_General as r9General  # lazy load

    apidocs = os.path.join(red9ModulePath(), "docs", "html", "index.html")
    r9General.os_OpenFile(apidocs)
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:10,代码来源:setup.py

示例8: red9_help

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_help(*args):
    """
    open up the Red9 help docs
    """
    import Red9.core.Red9_General as r9General  # lazy load

    helpFile = os.path.join(red9ModulePath(), "docs", r"Red9-StudioTools Help.pdf")
    r9General.os_OpenFile(helpFile)
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:10,代码来源:setup.py

示例9: get_pro_pack

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def get_pro_pack(*args):
    import Red9.core.Red9_General as r9General  # lazy load
    result=cmds.confirmDialog(title='Red9_StudioPack : build %f' % red9_getVersion(),
                       message=("Red9_ProPack Not Installed!\r\r"+
                                "Contact [email protected] for more information"),
                       button=['Red9Consultancy.com','Get_Pro','Close'],messageAlign='center')
    if result == 'Get_Pro':
        log.warning('Red9 ProPack systems not yet available - watch this space!')
    if result =='Red9Consultancy.com':
        r9General.os_OpenFile('http://red9consultancy.com/')
开发者ID:cgdestroyer,项目名称:Red9_StudioPack,代码行数:12,代码来源:setup.py

示例10: red9ContactInfo

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9ContactInfo(*args):
    result=cmds.confirmDialog(title='Red9_StudioPack : build %f' % red9_getVersion(),
                       message=("Author: Mark Jackson\r\r"+
                                "Technical Animation Director\r\r"+
                                "Contact me at [email protected] for more information\r\r"+
                                "thanks for trying the toolset. If you have any\r"+
                                "suggestions or bugs please let me know!"),
                       button=['thankyou','ChangeLog'],messageAlign='center')
    if result == 'ChangeLog':
        import Red9.core.Red9_General as r9General  # lazy load
        r9General.os_OpenFile(os.path.join(red9ModulePath(),'changeLog.txt'))
开发者ID:Bumpybox,项目名称:Tapp,代码行数:13,代码来源:setup.py

示例11: get_pro_pack

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def get_pro_pack(*args):
    try:
        #new pro_pack build calls
        import Red9.pro_pack.r9pro as r9pro
        r9pro.r9import('r9wtools')
        import r9wtools
        r9wtools.MailRegistration().show()
    except:
        #legacy
        import Red9.core.Red9_General as r9General  # lazy load
        result=cmds.confirmDialog(title='Red9_StudioPack : build %f' % red9_getVersion(),
                            message=("Red9_ProPack Not Installed!\r\r"+
                                     "Contact [email protected] for more information"),
                            button=['Red9Consultancy.com','Get_Pro','Close'],messageAlign='center')
        if result == 'Get_Pro':
            log.warning('Red9 ProPack systems not yet available - watch this space!')
        if result =='Red9Consultancy.com':
            r9General.os_OpenFile('http://red9consultancy.com/')
开发者ID:xavMikeHoward,项目名称:Red9_StudioPack,代码行数:20,代码来源:setup.py

示例12: red9ContactInfo

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9ContactInfo(*args):
    import Red9.core.Red9_General as r9General  # lazy load

    result = cmds.confirmDialog(
        title="Red9_StudioPack : build %f" % red9_getVersion(),
        message=(
            "Author: Mark Jackson\r\r"
            + "Technical Animation Director\r\r"
            + "Contact me at [email protected] for more information\r\r"
            + "thanks for trying the toolset. If you have any\r"
            + "suggestions or bugs please let me know!"
        ),
        button=["Red9Consultancy.com", "ChangeLog", "Close"],
        messageAlign="center",
    )
    if result == "ChangeLog":
        r9General.os_OpenFile(os.path.join(red9ModulePath(), "changeLog.txt"))
    if result == "Red9Consultancy.com":
        r9General.os_OpenFile("http://red9consultancy.com/")
开发者ID:charliewales,项目名称:Red9_StudioPack,代码行数:21,代码来源:setup.py

示例13: red9_blog

# 需要导入模块: from Red9.core import Red9_General [as 别名]
# 或者: from Red9.core.Red9_General import os_OpenFile [as 别名]
def red9_blog(*args):
    '''
    open up the Red9 Blog
    '''
    import Red9.core.Red9_General as r9General  # lazy load
    r9General.os_OpenFile('http://red9-consultancy.blogspot.com/')
开发者ID:xavMikeHoward,项目名称:Red9_StudioPack,代码行数:8,代码来源:setup.py


注:本文中的Red9.core.Red9_General.os_OpenFile方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。