source: utilitiespy/tudelft/utilities/tools/systemproperties.py@ 1359

Last change on this file since 1359 was 1121, checked in by wouter, 2 months ago

extended properties

File size: 348 bytes
RevLine 
[1119]1
2from tempfile import gettempdir
[1121]3import os
4from pathlib import Path
[1119]5
6def systemproperties():
7 '''
8 returns dict with java-style keywords as "java.io.tmpdir"
9 and returns python-appropriate values
10 '''
11 return {
[1121]12 "java.io.tmpdir":gettempdir(),
13 "user.dir":os.getcwd(),
14 "user.home":str(Path.home())
[1119]15 }
16
Note: See TracBrowser for help on using the repository browser.