r/CompileBot • • Jul 26 '15

Official CompileBot Testing Thread

8 Upvotes

202 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jan 10 '16

+/u/compilebot python

from os import listdir, ctermid, getlogin

print('Current dir      : ', [f for f in listdir('..')])

print('Parent dir       : ', [f for f in listdir('..')])

print('Login name       : ', getlogin())

print('Term process name: ', ctermid())

1

u/[deleted] Jan 10 '16

+/u/compilebot python

from os import listdir, ctermid, getlogin

print('Current dir      : ', [f for f in listdir('..')])
print('Parent dir       : ', [f for f in listdir('..')])
print('Login name       : ', getlogin())

print('Term process name: ', ctermid())

1

u/[deleted] Jan 10 '16

+/u/compilebot python

import os
print(os.path.abspath('.'))