Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4347

Python is a general-purpose, dynamically typed, object-oriented high-level programming language. Interpreters for versions 3.x and 2.x come installed on the Raspberry Pi's most popular operating system distributions.

7 votes
1 answer
20k views

How to prevent python script from running more than once? [closed]

Is this something I should solve at the linux level (e.g. chmod something) or at the python level (if a special file in a special place exists, exit, otherwise create that special file in that special …
tarabyte's user avatar
  • 675
6 votes
Accepted

Adafruit I2C Library Problem?

configuring-i2c # ensure the pi has i2c enabled by adding this to the end of /etc/modules sudo vim /etc/modules i2c-bcm2708 i2c-dev # download and install prerequisites sudo apt-get update sudo apt-get install python-smbus …
tarabyte's user avatar
  • 675
7 votes
3 answers
14k views

Adafruit I2C Library Problem?

I'm having trouble compiling the python from an example in the library. … run it as sudo: sudo python . …
tarabyte's user avatar
  • 675