PowerToys/Plugins/HelloWorldPython/main.py
bao-qian 785843198a Use existing installed python
1. use installed python
2. add settings to choose python directory
3. add py3 compability
4. create hello world python example
2016-05-05 01:57:03 +01:00

17 lines
360 B
Python

# -*- coding: utf-8 -*-
from wox import Wox
class HelloWorld(Wox):
def query(self, query):
results = []
results.append({
"Title": "Hello World",
"SubTitle": "Query: {}".format(query),
"IcoPath":"Images/app.ico"
})
return results
if __name__ == "__main__":
HelloWorld()