from onewire import Onewire

# Use USB-adapter
with Onewire('u') as o:
    # Find all temperature sensors in the bus, and print family, id and temperature as float.
    print(['%s.%s %.02f' % (s.family, s.id, s.read_float('temperature')) for s in o.find(has_all=['temperature'])])
    # Read temperature from specific sensor (note: when accessing values directly, the return value is always a string).
    print(o.sensor('28.D035DE060000').temperature)

@@ -64,16 +64,17 @@
 ) as o:%0A
+%0A
     # Fi
@@ -169,17 +169,36 @@
   print(
-%5B
+'%5Cn'.join(%5B%0A        
 '%25s.%25s %25
@@ -250,16 +250,24 @@
 ature'))
+%0A       
  for s i
@@ -299,18 +299,25 @@
 ature'%5D)
-%5D)
+%0A    %5D))%0A
 %0A    # R
@@ -352,16 +352,22 @@
 c sensor
+%0A    #
  (note: 
@@ -487,8 +487,95 @@
 rature)%0A
+%0A    # Find all DS18B20 -sensors%0A    print(%5Bs for s in o.find(sensor_type='DS18B20')%5D)%0A

Improve example