Jump to content


Sourcing python scripts from custom directory


  • Please log in to reply
1 reply to this topic

#1 GreenEminence

GreenEminence

    Peon

  • Members
  • Pip
  • 1 posts
  • Joined: 27-July 12
  • Location:Warsaw
  • Name:Mateusz Wojt

Posted 27 July 2012 - 05:35 AM

Hello, I'm Houdini newbie and I'm trying to source my python scripts from a custom directory, which looks like: $MY_DIR/scripts

Tried to put the usual sys.path.append(path) in 123.py created in $HOME/houdini.x with no luck. Scripts must be sourced session independent way, because I need to import some modules from that scripts.

Is there any way to do it?

#2 edward

edward

    Grand Master

  • Members
  • PipPipPipPipPip
  • 3,325 posts
  • Joined: 10-September 02
  • Name:e.d.w.a.r.d. .

Posted 27 July 2012 - 04:42 PM

http://www.sidefx.co...hom/independent
don't panic!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users