Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
habrok:advanced_job_management:passing_parameters_to_a_job_script [2023/03/22 13:22] fokkehabrok:advanced_job_management:passing_parameters_to_a_job_script [2026/03/16 13:41] (current) pedro
Line 11: Line 11:
 Example for a Python script: Example for a Python script:
  
-<code>+<code python>
 #!/bin/env python #!/bin/env python
 import sys import sys
Line 21: Line 21:
 This file should be saved as python_passing_parameters.py, so that it can be run by the following batch script: This file should be saved as python_passing_parameters.py, so that it can be run by the following batch script:
  
-<code>+<code bash>
 #!/bin/bash #!/bin/bash
 #SBATCH --time=00:01:00 #SBATCH --time=00:01:00