Solved Noob wants to load custom palette

Hi everybody,

I am trying to load a custom palette via python script and an absolute file path using R25, which should then be assigned to a keyboard shortcut.
This experiment gives me a syntax error:

import c4d
from c4d import gui
def main():

if __name__=='__main__':

Please give me some help.

Your file name / path is missing the quote marks.

(Can't check the indents as the code is not properly formatted.)

@cairyn Thanks a lot ... it works!