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 splitwise import Splitwise | |
from splitwise.expense import Expense | |
from splitwise.user import ExpenseUser | |
from decimal import Decimal | |
import csv | |
userMapping = [3249451, 44166785, 14661289, 4758492, 52240291, 52106172, 45456543, 52106173] | |
s = Splitwise("***","***", api_key="***") | |
current = s.getCurrentUser() |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!--<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.0.0/WMS_MS_Capabilities.dtd">--> | |
<WMT_MS_Capabilities version="1.1.1" updateSequence="0" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<Service> | |
<Name>OGC:WMS</Name> | |
<Title>Open Government Data WMS Wien</Title> | |
<Abstract>This service provides access to online maps of the City of Vienna, Austria.</Abstract> | |
<KeywordList> | |
<Keyword>Wien</Keyword> |
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
subprocess = importlib.import_module("subprocess") | |
clips = resolve.GetProjectManager().GetCurrentProject().GetMediaPool().GetCurrentFolder().GetClips() | |
for clip in clips.values(): | |
path = clip.GetClipProperty()['File Path'] | |
print(path) | |
d = subprocess.check_output(f"/opt/homebrew/bin/mediainfo --Inform='General;%Encoded_Date%' '{path}'", shell=True).strip() | |
print(d) | |
name = str(d, encoding='ascii') + ' ' + path.split('/')[-1] |
OlderNewer