Jump to content

IoAro

New Member
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Poor

Profile Information

  • First Name
    ioaro
  • Last Name
    io
  • C4D Ver
    R18.048 Studio
  • Location
    Italy
  1. IoAro

    Python relative path

    Thanks @jed but doesn't work for me.
  2. Hi, I created a simple script to open video tutorials by calling them directly from the app. The script works, but I would like to indicate the relative address instead of the absolute one. For example instead of "C:\Program Files\MAXON\CINEMA 4D R18\plugins\Video\Thrausi 1.mp4" I would like something like "folder plugin\Video\Thrausi 1.mp4". This is a complete example scripts: import c4d from os import path as p from c4d import storage as st from c4d import gui def main(): st.ShowInFinder("C:\Program Files\MAXON\CINEMA 4D R18\plugins\Video\Thrausi 1.mp4", True) if __name__=='__main__': main() Can someone help me? Thanks

×