This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import multiprocessing | |
import objc | |
from Foundation import * | |
class Test: | |
def __init__(self): | |
self.proc = multiprocessing.Process(target=self.run) | |
def start(self): | |
self.proc.start() | |
def run(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import pyttsx | |
import objc | |
from Foundation import * | |
from PyObjCTools import AppHelper | |
import gobject | |
shouldUseThreads = True | |
if shouldUseThreads: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# | |
# PGP Key Extractor -- A (partial) Python implementation of OpenPGP | |
# | |
# Copyright 2011 Trevor Bentley | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
NewerOlder