Thread: Vapoursynth
View Single Post
Old 15th March 2017, 12:08   #2455  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by feisty2 View Post
@Myrsloik
is the global core allowed again from r37 and on?
is it ok to code the module like
Code:
import vapoursynth as vs
xxx = vs.core.yyy.xxx
def f(src):
    return xxx(src)
?
Sure is, that's completely equivalent from python's perspective. Why you want to prefix everything with 'vs.' is a mystery though...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote