0

How would I do the following:

f=open('~/.bash_profile')

Is there a way to resolve the ~ path without using something like subprocess?

William Pursell
  • 204,365
  • 48
  • 270
  • 300
David542
  • 104,438
  • 178
  • 489
  • 842

0 Answers0