From fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 15 Dec 2021 11:17:55 -0800 Subject: Examples: Python ShellBang & Executable (#2673) * Examples: Python ShellBang & Executable Make sure that all PICMI scripts and all analysis Python scripts in `Examples/` are: - executable (`chmod a+x`) - start with a shell-bang to `python3` Now, all scripts can be run directly without a `python3 ...` prefix and also default to the only right executable of Python on older systems. (New systems always have a `python3` alias, too.) * Revert a moved numpy --- Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py') diff --git a/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py b/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py index 7765c5d69..655322b5b 100755 --- a/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py +++ b/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python3 # Copyright 2021 Lorenzo Giacomel # -- cgit v1.2.3