5 comments for “System info script in Python for the #RaspberryPi

  1. Hmmm, not the best example – all it does is get the output of various system commands (so could just as easily be done in Bash) and IMHO the way it mixes up subprocess.check_output() and subprocess.Popen() and os.popen() is a bit “odd”.

    And it looks like “import osdef get_ram():” is actually a typo that should be split over two lines. Unfortunately I can’t leave a comment on the original article.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.