Nov-03-2019, 02:36 PM
I'm new at python. I know the code to print a text file to the printer but how do you print a variable or text within your program? Thank you.
The following code prints a text file called "hello.txt"
The following code prints a text file called "hello.txt"
import os os.startfile("hello.txt", "print")But how do you print just a word or variable from within the program?