Sandbox: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#ask:[[FrameworkRelationType::+]]
{{#ask:[[FrameworkRelationType::+]]
}}
}}<syntaxhighlight lang="python3" line="1">
           
    def open_stdout_file(self, prefix):
        try:
            fn = prefix + self._metavar.variable + ".txt"             
            fp = os.path.join(self._pp_logdir,"stdout", fn)
            stdout_file = open(fp,"w")
            return stdout_file
       
        except Exception:
            raise
</syntaxhighlight>


== dit is de editor functie working ==
== dit is de editor functie working ==
de parameter voor de url = veaction=edit...
de parameter voor de url = veaction=edit...

Revision as of 14:44, 11 December 2018

<syntaxhighlight lang="python3" line="1">

   def open_stdout_file(self, prefix): 
       try:
           fn = prefix + self._metavar.variable + ".txt"              
           fp = os.path.join(self._pp_logdir,"stdout", fn)
           stdout_file = open(fp,"w")
           return stdout_file
       
       except Exception:
           raise

</syntaxhighlight>

dit is de editor functie working

de parameter voor de url = veaction=edit...