Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Create or load a presentation | |
with slides.Presentation() as presentation: | |
# Create new VBA project | |
presentation.vba_project = slides.vba.VbaProject() | |
# Add empty module to the VBA project | |
module = presentation.vba_project.modules.add_empty_module("Module") | |
# Set module source code | |
module.source_code = "Sub Test(oShape As Shape) MsgBox ""Test"" End Sub" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Create or load a presentation | |
with slides.Presentation() as presentation: | |
# Create new VBA project | |
presentation.vba_project = slides.vba.VbaProject() | |
# Add empty module to the VBA project | |
module = presentation.vba_project.modules.add_empty_module("Module") | |
# Set module source code | |
module.source_code = "Sub Test(oShape As Shape) MsgBox ""Test"" End Sub" |
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
# pip install VicksTor --upgrade | |
# >>> python | |
# from HostTor import VicksTor | |
# import VicksTor | |
# VicksTor.run_server('flask') | |
from flask import ( | |
Flask, request, |
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
person | |
bicycle | |
car | |
motorbike | |
aeroplane | |
bus | |
train | |
truck | |
boat | |
traffic light |
OlderNewer