Copy&Paste

Python Scripting, photos and quotes.

Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Tuesday, November 2, 2010

Get SceneName

import pymel.core as pm
scenename = pm.sceneName()
Posted by DeluxeMan at 1:58 p.m. No comments:
Labels: basic, pymel, python, scenename

Get Date and time

import datetime
today = datetime.date.today()
Posted by DeluxeMan at 1:55 p.m. No comments:
Labels: basic, date, python

Get the username

import os
username = os.getenv('USERNAME')
Posted by DeluxeMan at 1:45 p.m. No comments:
Labels: basic, os, python, username
Older Posts Home
Subscribe to: Posts (Atom)

Search in history

Category

  • Meeting quote (1)
  • basic (4)
  • maya (1)
  • os (1)
  • photo (12)
  • pymel (2)
  • python (3)

Archive

  • ▼  2010 (12)
    • ▼  November (7)
      • Meeting quote: 3d magic
      • Photo: by the window
      • Loop in all objects
      • Array
      • Get SceneName
      • Get Date and time
      • Get the username
    • ►  January (5)
  • ►  2009 (4)
    • ►  November (2)
    • ►  October (1)
    • ►  March (1)
  • ►  2008 (18)
    • ►  October (2)
    • ►  September (10)
    • ►  June (1)
    • ►  March (3)
    • ►  February (2)
  • ►  2007 (21)
    • ►  November (2)
    • ►  October (2)
    • ►  September (7)
    • ►  August (9)
    • ►  July (1)

les liens

  • My Web Site ( deluxeman.com )
  • Les aventures d'Alexandra
  • Homme cherche femme...
  • vorfas, photographe
  • J'dis ça ... J'dis rien ...
  • Photos: Canon Forum
  • Photoshop disasters

Subscribe To my blog

Posts
Atom
Posts
All Comments
Atom
All Comments
Watermark theme. Powered by Blogger.