Nuke Python question

Hi Im trying to make a basic save tool for nuke via a python script button in a node ( i know better to yse a panel but for now I need something quick) but I'm getting some errors wondered if anyone could help me - its just the creating folders that is broken 

here is my python script:

user = nuke.thisNode()['User'].value()

seq = nuke.thisNode()['Sequence'].value()

shot = nuke.thisNode()['Shot'].value()

description = nuke.thisNode()['Description'].value()

version = nuke.thisNode()['Version'].value()

subversion = nuke.thisNode()['Subversion'].value()

folder = "/bishop/ss/shots/%s/%s_%s/%s/scripts/nuke/%s/" %

(seq,seq,shot,description,user)

os.makedirs(folder)

#example path: /bishop/ss/shots/SB_062/SB_062_0010/comp/scripts/nuke/user

path = "/bishop/ss/shots/%s/%s_%s/%s/scripts/nuke/%s/%s_%s_%s_v%s_%s.nk" %(seq,seq,shot,description,user,seq,shot,description,version,subversion)

print path

nuke.scriptSaveAs(path)

and here is the error i get :

 File "", line 8

folder = "/bishop/ss/shots/%s/%s_%s/%s/scripts/nuke/%s/" %

^

SyntaxError: invalid syntax

thanks in advance!

its ok i figured a way to fix it but i do have another question please see thread above