Essential Apple User Magazine

Executing Code from the Command Line

Command the Code

Using the code we created in the previous tutorial, the one we named hello.py, let’s see how you can run code that was made in the GUI at the command line level.

STEP 1

Python, in Linux, comes with two possible ways of

You’re reading a preview, subscribe to read more.

More from Essential Apple User Magazine

Essential Apple User Magazine2 min read
STM ChargeTree Swing Charging Station
This second-generation STM ChargeTree makes a few minor, but welcome, changes from the original model. Like the original ChargeTree it’s available in black or white, and it once more charges a Qi-compatible iPhone, AirPods (with a wireless charging c
Essential Apple User Magazine1 min read
Activating LockDown Mode On Your IPhone And Apple Watch
1 From the Home screen on your iPhone, open the Settings app Tap the Privacy & Security option, as shown. 2 Scroll to the bottom of this section. You see an option called Lockdown Mode, which is off by default. Tap it. 3 On the next screen, tap Turn
Essential Apple User Magazine2 min read
The Watch’s Home Screen
1 Opening your Apple Watch’s App Switcher is easy. Just press the Digital Crown button and you’re taken straight there. You can then drag the app icons up and down the screen with your finger or by turning the Digital Crown, which lets you look for t

Related