<human>:  Write me a Python program to change the f pointer in a file in Python.
<bot>: Here is a Python program to change the f pointer in a file

import os

def change_f_pointer(file_name, f_pointer):
  """
  Change the f pointer in a file.

  >>> change_f_pointer("test.txt", open("test.txt", "w"))
  """
  f_pointer.close()
  f_pointer = open(file_name, "w")

# Enter the file name
file_name = "test.txt"

# Calling the function
print((change_f_pointer(file_name, open(file_name, "w"))))

#Example Output
# None

#Remember to inspect code for bugs.