This file contains 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 sys | |
sys.coinit_flags = 0 | |
from flask import Flask | |
from flask import request | |
from win32com.client import Dispatch | |
import win32com.client | |
app = Flask(__name__) |
This file contains 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
from flask import Flask | |
from flask import request | |
from win32com.client import Dispatch | |
import win32com.client | |
import pythoncom | |
app = Flask(__name__) |
This file contains 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
from flask import Flask | |
from flask import request | |
from win32com.client import Dispatch | |
import win32com.client | |
import pythoncom | |
pythoncom.CoInitialize() | |
app = Flask(__name__) |
This file contains 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
from flask import Flask | |
from flask import request | |
from win32com.client import Dispatch | |
import win32com.client | |
app = Flask(__name__) | |
@app.route("/", methods = ['GET', 'POST']) |
This file contains 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
from flask import Flask | |
from flask import request | |
from win32com.client import Dispatch | |
import win32com.client | |
import pythoncom | |
app = Flask(__name__) | |