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

Last change on this file since 1303 was 1121, checked in by wouter, 3 months ago

extended properties

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