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

All Samples(39)  |  Call(37)  |  Derive(0)  |  Import(2)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/scripts/killProcName.py   main(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32/scripts/killProcName.py   TrustRouter(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32/scripts/killProcName.py   SublimeSpeech(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32/scripts/killProcName.py   SublimeSpeech(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/win32/scripts/killProcName.py   einstein(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/python/Lib/site-packages/win32/scripts/killProcName.py   landline-server(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/r/e/restcommander-HEAD/play-1.2.4/python/Lib/site-packages/win32/scripts/killProcName.py   restcommander(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/python/Lib/site-packages/win32/scripts/killProcName.py   heroku-playframework(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/j/f/jfinal-app-HEAD/jfgen/python/Lib/site-packages/win32/scripts/killProcName.py   jfinal-app(Download)
	# If _my_ pid in there, remove it!
	try:
		pids.remove(win32api.GetCurrentProcessId())
	except ValueError:
		pass

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/Demos/security/setsecurityinfo.py   main(Download)
     win32security.DACL_SECURITY_INFORMATION|win32security.SACL_SECURITY_INFORMATION
 
pid=win32api.GetCurrentProcessId()
ph=win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS,0,pid)
## PROCESS_ALL_ACCESS does not contain ACCESS_SYSTEM_SECURITY (neccessy to do SACLs)

  1 | 2 | 3 | 4  Next