Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1251

Python • Re: A script written in Python doesn't behave consistently depending on how/where it is run

$
0
0
This is wrong. Won't run as a program.

Code:

#!/usr/bin/python3.7
This works for me.

Code:

#!/usr/bin/env python3

Statistics: Posted by SurferTim — Fri Nov 15, 2024 11:21 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles