Posted By

wearetherock on 09/09/09


Tagged

python linux directory home


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

louscomp
gartenstuhl


Get home directory


 / Published in: Python
 

  1. import os
  2. home_dir = os.path.expanduser("~")
  3. print home_dir

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: wearetherock on September 11, 2009

In perl

chomp(my $home=echo ~/); 
my $tempfile = "$home/.qlive/conference/TmpRemoteIsConnected.qlive";
unlink($temp_file)

You need to login to post a comment.