Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/d/a/dat.wallet-HEAD/clipboard_macosx.py   dat.wallet(Download)
from sys import stdin, stdout
from optparse import OptionParser
from Carbon.Scrap import GetCurrentScrap, ClearCurrentScrap
import MacOS
 
def paste(flavorType='TEXT', verbose=False):
    try:
        scrap = GetCurrentScrap()
def copy(text, flavorType='TEXT'):
    ClearCurrentScrap()
    scrap = GetCurrentScrap()
    scrap.PutScrapFlavor(flavorType, 0, text)
 
def list_flavors():
    scrap = GetCurrentScrap()