摘要: 阅读全文
posted @ 2022-02-21 22:13 CGRun 阅读(75) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: Python批量png转换jpg图片格式.py @time: 2021/10/30 20:02 """ import os from PIL import Imag 阅读全文
posted @ 2022-02-21 22:06 CGRun 阅读(443) 评论(0) 推荐(0)
摘要: # encoding:utf-8 """ @Author: Meng @software: PyCharm @file: out_ch_bg.py @time: 2023/01/02 20:39 """ from maya.cmds import *; from pymel.core import 阅读全文
posted @ 2022-02-21 22:03 CGRun 阅读(55) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: python获取计算机名IP用户名.py @time: 2021/10/28 20:44 """ import socket import getpass # 获取 阅读全文
posted @ 2022-02-21 21:59 CGRun 阅读(411) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: 批量删除文件或文件夹.py @time: 2021/10/28 20:06 """ import os import shutil # 导入模块 path = 'C 阅读全文
posted @ 2022-02-21 21:57 CGRun 阅读(1072) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: python提取音频.py @time: 2021/10/28 20:16 """ from moviepy.editor import * video = Vid 阅读全文
posted @ 2022-02-21 21:56 CGRun 阅读(92) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: maya渲染器切换.py @time: 2021/10/28 20:49 """ import maya.mel as mel mel.eval('setCurre 阅读全文
posted @ 2022-02-21 21:54 CGRun 阅读(155) 评论(0) 推荐(0)
摘要: python仅关闭显示器代码 # -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: 关闭显示器.py @time: 2021/10/28 20:39 """ from ctypes import * HWND_BROA 阅读全文
posted @ 2022-02-21 21:45 CGRun 阅读(273) 评论(0) 推荐(0)
摘要: # C:/Users/xx/Documents/maya/2017 import os import maya.cmds as cmds MAYA_VERSION = cmds.about(version=True)[:4] path = os.environ['HOME']+"/maya/"+MA 阅读全文
posted @ 2022-02-21 21:28 CGRun 阅读(734) 评论(0) 推荐(0)
摘要: import pymel.all as pm refEdpanel = pm.MelGlobals.get("gReferenceEditorPanel") # 获取引用文件路径 #selRef = pm.sceneEditor(refEdpanel,q=1,selectItem=1) selRef 阅读全文
posted @ 2022-02-21 21:27 CGRun 阅读(72) 评论(0) 推荐(0)