本文整理汇总了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)
示例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)
示例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/")
示例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")
示例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/")
示例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/")
示例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)
示例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)
示例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/')
示例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'))
示例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/')
示例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/")
示例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/')