Python Forum
how to do comparison for the value returned by os.system
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to do comparison for the value returned by os.system
#3
Avoid os.system() by all means(security reasons),and use subprocess instead:
Quote:os.system() and os.popen*() have been deprecated since Python 2.6 in favor of the subprocess module. 
Reply


Messages In This Thread
RE: how to do comparison for the value returned by os.system - by snippsat - Nov-11-2017, 11:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to access values returned from inquirer cspower 6 899 Dec-26-2023, 09:34 PM
Last Post: cspower
  SQLAlchemy Object Missing when Null is returned Personne 1 1,791 Feb-19-2022, 02:50 AM
Last Post: Larz60+
  Getting "name 'get_weather' is not defined error and no json_data returned? trthskr4 6 3,720 Sep-14-2021, 09:55 AM
Last Post: trthskr4
  Libraries installed with pipenv, but ModuleNotFoundError returned jpncsu 2 3,071 Sep-06-2021, 07:24 PM
Last Post: jpncsu
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,751 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  Exception: Returned Type Mismatch Error devansing 1 5,210 Mar-06-2020, 07:26 PM
Last Post: ndc85430
  How to use a returned value? t4keheart 12 5,005 Jan-16-2020, 06:54 AM
Last Post: perfringo
  Strange Characters in JSON returned string fioranosnake 4 5,283 Dec-02-2019, 07:25 PM
Last Post: fioranosnake
Question Difference between Python's os.system and Perl's system command Agile741 13 6,959 Dec-02-2019, 04:41 PM
Last Post: Agile741
  Not all data returned from sys.argv ecdhyne 2 2,818 Sep-05-2019, 08:27 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020