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

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

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/interact.py   TrustRouter(Download)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, str(out_code))
		finally:
			win32clipboard.CloseClipboard()
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		if start!=end:
			ret.append((flags, ID_EDIT_COPY_CODE, 'Copy code without prompts'))
		if win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_UNICODETEXT):
			ret.append((flags, ID_EDIT_EXEC_CLIPBOARD, 'Execute python code from clipboard'))
 

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		if start!=end:
			ret.append((flags, ID_EDIT_COPY_CODE, 'Copy code without prompts'))
		if win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_UNICODETEXT):
			ret.append((flags, ID_EDIT_EXEC_CLIPBOARD, 'Execute python code from clipboard'))
 

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		if start!=end:
			ret.append((flags, ID_EDIT_COPY_CODE, 'Copy code without prompts'))
		if win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_UNICODETEXT):
			ret.append((flags, ID_EDIT_EXEC_CLIPBOARD, 'Execute python code from clipboard'))
 

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/interact.py   main(Download)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		if start!=end:
			ret.append((flags, ID_EDIT_COPY_CODE, 'Copy code without prompts'))
		if win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_UNICODETEXT):
			ret.append((flags, ID_EDIT_EXEC_CLIPBOARD, 'Execute python code from clipboard'))
 

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/pythonwin/pywin/framework/interact.py   einstein(Download)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		if start!=end:
			ret.append((flags, ID_EDIT_COPY_CODE, 'Copy code without prompts'))
		if win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_UNICODETEXT):
			ret.append((flags, ID_EDIT_EXEC_CLIPBOARD, 'Execute python code from clipboard'))
 

src/c/o/code-HEAD/lib/python/nullroute/clipboard.py   code(Download)
        clip.OpenClipboard()
        # TODO: what type does this return?
        data = clip.GetClipboardData(clip.CF_UNICODETEXT)
        #print("clipboard.get =", repr(data))
        clip.CloseClipboard()
        clip.OpenClipboard()
        clip.EmptyClipboard()
        clip.SetClipboardText(data, clip.CF_UNICODETEXT)
        clip.CloseClipboard()
    elif sys.platform.startswith("linux"):

src/c/o/code-HEAD/security/accdb/accdb.py   code(Download)
            clip.OpenClipboard()
            # TODO: what type does this return?
            data = clip.GetClipboardData(clip.CF_UNICODETEXT)
            print("clipboard.get =", repr(data))
            clip.CloseClipboard()
            clip.OpenClipboard()
            clip.EmptyClipboard()
            clip.SetClipboardText(data, clip.CF_UNICODETEXT)
            clip.CloseClipboard()
        elif sys.platform.startswith("linux"):

src/i/p/ipython-2.0.0/IPython/lib/clipboard.py   ipython(Download)
    win32clipboard.OpenClipboard()
    try:
        text = win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
    except TypeError:
        try:

src/i/p/ipython-HEAD/IPython/lib/clipboard.py   ipython(Download)
    win32clipboard.OpenClipboard()
    try:
        text = win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
    except (TypeError, win32clipboard.error):
        try:

src/j/a/JapaneseStudy-HEAD/vn2srs/record.py   JapaneseStudy(Download)
    def onDrawClipboard( self, *args ):
        t = time.time() - self.time0    # time since start of audio file
        win32clipboard.OpenClipboard()
        txt = win32clipboard.GetClipboardData( win32clipboard.CF_UNICODETEXT )
        txt = txt.split( u'\0' )[0] # ITH leaves in garbage from previous lines

  1 | 2  Next