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

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

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/interact.py   TrustRouter(Download)
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/windows/clipboard.py   SublimeSpeech(Download)
    def get_system_text(cls):
        win32clipboard.OpenClipboard()
        try:
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
        contents = {}
        for format in formats:
            content = win32clipboard.GetClipboardData(format)
            contents[format] = content
        self._contents = contents

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/interact.py   main(Download)
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

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()

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/pythonwin/pywin/framework/interact.py   einstein(Download)
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/d/r/dragonfly-0.6.5/dragonfly/windows/clipboard.py   dragonfly(Download)
    def get_system_text(cls):
        win32clipboard.OpenClipboard()
        try:
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
        contents = {}
        for format in formats:
            content = win32clipboard.GetClipboardData(format)
            contents[format] = content
        self._contents = contents

src/n/v/nvda-HEAD/source/api.py   nvda(Download)
		win32clipboard.OpenClipboard() # there seems to be a bug so to retrieve unicode text we have to reopen the clipboard
		try:
			got = 	win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
	win32clipboard.OpenClipboard()
	try:
		text = win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT)
	finally:
		win32clipboard.CloseClipboard()

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()

  1 | 2 | 3 | 4 | 5  Next