0

Hi I have a code where I execute this code:

import os

os.system("python3 -m http.server 8081")

The os.system is displaying a value in the console but I wonder how can I get that value.

I mean

value =  os.system("python3 -m http.server 8081")

Thanks!

CreepyRaccoon
  • 826
  • 1
  • 9
  • 19

0 Answers0