old_contents: #!/usr/bin/env python3
  
  # License MIT
  # Copyright 2016-2021 Alex Winkler
  # Version 3.0.0
  
  token = ''
  apikey = ''
  
  with open('.env', 'r') as f:
  	for line in f.readlines():
  		try:
  			key, value = line.split('=')
  			locals()[key] = value
  		except ValueError:
  			# Syntax error
  			pass
  
new_contents: #!/usr/bin/env python3
  
  # License MIT
  # Copyright 2016-2021 Alex Winkler
  # Version 3.0.0
  
  import os
  envfile = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '.env')
  
  token = ''
  apikey = ''
  
  with open(envfile, 'r') as f:
  	for line in f.readlines():
  		try:
  			key, value = line.split('=')
  			locals()[key] = value
  		except ValueError:
  			# Syntax error
  			pass
  
subject: make env file path be evaluated relative to calling file