Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.069 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'get.': 0.09; 'lines:': 0.09; 'returns,': 0.09; 'subject:error': 0.11; 'thanks,': 0.19; 'recognize': 0.22; 'written': 0.24; 'error': 0.27; 'piece': 0.29; 'lines': 0.30; "skip:' 10": 0.30; 'code': 0.31; "can't": 0.32; 'to:addr:python-list': 0.35; 'but': 0.36; 'brian': 0.36; 'two': 0.37; 'received:66': 0.38; 'is,': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'some': 0.40; 'here': 0.66; 'received:192.168.55': 0.84; 'mean.': 0.91 X-ASG-Debug-ID: 1434114906-0678852bdb6f460001-tYLEC7 X-Barracuda-Envelope-From: grawburg@myglnc.com Date: Fri, 12 Jun 2015 09:07:47 -0400 X-Barracuda-Apparent-Source-IP: 216.152.2.119 To: python-list@python.org From: Grawburg Subject: os.system error returns X-ASG-Orig-Subj: os.system error returns X-Mailer: IceWarp Mailer 10.3.1 X-Priority: 3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 X-Barracuda-Connect: UNKNOWN[192.168.55.61] X-Barracuda-Start-Time: 1434114906 X-Barracuda-URL: http://192.168.55.85:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at myglnc.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.4 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.19361 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434115180 news.xs4all.nl 2841 [2001:888:2000:d::a6]:45742 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92518 I have a piece of code written for a Raspberry Pi with no explanation for = two of the lines -- and I can't find an explanation I understand. Here are the lines: if os.system('modprobe --first-time -q w1_gpio') =3D=3D0 if os.system('modprobe -q w1_gpio') =3D=3D 256: I know what the 'modprobe...' is, it's the 0 and the 256 I don't get. = Where do these numbers come from? I recognize they're some kind of error returns, but don't know what they = mean. Thanks, Brian Grawburg