mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
10 lines
190 B
Python
10 lines
190 B
Python
|
import os
|
||
|
|
||
|
def writetofile(args):
|
||
|
with open(args[0], 'w') as f:
|
||
|
f.write(' '.join(args[1:]))
|
||
|
|
||
|
def writeenvtofile(args):
|
||
|
with open(args[0], 'w') as f:
|
||
|
f.write(os.environ[args[1]])
|