Answers for "python get print output"

16

print() in python

print('hi, baby!')
Posted by: Guest on January-02-2021
4

how to print in python

'''
print - > this is a statement
use brackets and quotation marks ("") or ('')
whatever you want to say put in the brackets
'''
print("Hello World")
Posted by: Guest on May-05-2020
0

python get output

>out = subprocess.Popen(['wc', '-l', 'my_text_file.txt'], 
           stdout=subprocess.PIPE, 
           stderr=subprocess.STDOUT)
Posted by: Guest on December-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language