utils

time

timeUtils

pipeLion.utils.timeUtils.framesToTc(frames, fps=25.0)[source]

function converts a given amount of frames into a timecode.

Parameters:
  • frames (int) – number of frames which should be converted
  • fps (float) – frames per second, default is 25
Returns:

timecode divided by colons and calcuated by using the fps parameter

Return type:

string

platform

platformUtils

pipeLion.utils.platformUtils.currentPlatform()[source]

returns wether the current operating system is mac, linux or windows

pipeLion.utils.platformUtils.launchFileWithDefaultApplication(file)[source]

method will launch the given file with the default application set by the os.

Parameters:file (string:) – the file, which should be opened
pipeLion.utils.platformUtils.userDirectory()[source]

method returns the path to the user directory. It is platform independent for Linux, MacOsX and Windows

Table Of Contents

Previous topic

implemented-connections

Next topic

Graphs Views and Items

This Page