Skip to content

Instantly share code, notes, and snippets.

View kokimimi's full-sized avatar
🎯
Focusing

Giacomo Gaiotto kokimimi

🎯
Focusing
View GitHub Profile
@liudonghua123
liudonghua123 / pyside_dynamic.py
Created September 6, 2022 04:34 — forked from cpbotha/pyside_dynamic.py
pyside_dynamic.py with minor improvements - also see http://stackoverflow.com/a/14894550/532513
#!/usr/bin/python2
# -*- coding: utf-8 -*-
# Copyright (c) 2011 Sebastian Wiesner <[email protected]>
# Modifications by Charl Botha <[email protected]>
# * customWidgets support (registerCustomWidget() causes segfault in
# pyside 1.1.2 on Ubuntu 12.04 x86_64)
# * workingDirectory support in loadUi
# found this here:
# https://github.com/lunaryorn/snippets/blob/master/qt4/designer/pyside_dynamic.py
@viktorasm
viktorasm / ngSkinTools_diagnostics.py
Last active March 30, 2022 15:12
A little utility to run inside Maya's script editor (Python tab!) to troubleshoot ngSkinTools installation issues.
print "-------------------------------------------"
import sys
import os
from maya import cmds
print "Environment info:"
print "Maya version:", cmds.about(installedVersion=True)
print "Maya API version:", cmds.about(apiVersion=True)
print cmds.about(operatingSystem=True), cmds.about(operatingSystemVersion=True)