Did I find the right examples for you? yes no

All Samples(13)  |  Call(0)  |  Derive(0)  |  Import(13)

src/k/i/Kivy-1.8.0/kivy/input/providers/leapfinger.py   Kivy(Download)
    def start(self):
        # don't do the import at start, or teh error will be always displayed
        # for user who don't have Leap
        global Leap, InteractionBox
        import Leap

src/k/i/kivy-HEAD/kivy/input/providers/leapfinger.py   kivy(Download)
    def start(self):
        # don't do the import at start, or teh error will be always displayed
        # for user who don't have Leap
        global Leap, InteractionBox
        import Leap

src/h/u/hueton-HEAD/Playground/helloleap/leap.py   hueton(Download)
import Leap, sys
import pygame
from pygame.locals import QUIT, KEYDOWN, K_ESCAPE
from pygame import sprite
from pygame.locals import *

src/g/a/galry-0.2.0/galry/useractions.py   galry(Download)
# try importing leap motion SDK    
try:
    import Leap
    LEAP = {}
    LEAP['frame'] = None

src/k/l/klustaviewa-0.2.1/galry/useractions.py   klustaviewa(Download)
# try importing leap motion SDK    
try:
    import Leap
    LEAP = {}
    LEAP['frame'] = None

src/g/a/galry-HEAD/galry/useractions.py   galry(Download)
# try importing leap motion SDK    
try:
    import Leap
    LEAP = {}
    LEAP['frame'] = None

src/r/o/rosleapmotion-HEAD/scripts/leap_interface.py   rosleapmotion(Download)
# sys.path.append("/home/YOUR_NAME/path/to/Leap_Developer/Leap_Developer/LeapSDK/lib/x64")
import threading
import Leap
from Leap import CircleGesture, KeyTapGesture, ScreenTapGesture, SwipeGesture
 

src/d/e/DesktopLeapr-HEAD/desktopleapr.py   DesktopLeapr(Download)
#
 
import Leap, sys
from Xlib import X, display, ext, XK
 

src/m/i/midifingers-HEAD/midifingers.py   midifingers(Download)
from nosuch.midiutil import *
from nosuch.midipypm import *
import Leap, sys
 
try:

src/l/e/leapong-HEAD/leapong.py   leapong(Download)
""" Leapong """
import Leap, sys
import pygame
from pygame.locals import QUIT, KEYDOWN, K_ESCAPE
from pygame import sprite

  1 | 2  Next