<human>:  What is a good Python function to see if 2 paths equal.
<bot>: Here is a Python function to see if 2 paths equal

import re

def path_equal(path1, path2):
  """See if 2 paths equal."""
  return path1 == path2

# Enter the paths
path1 = '/home/rosey/projects/my_project/src/my_module.py'
path2 = '/home/rosey/projects/my_project/src/my_module.py'

# Calling the function
print((path_equal(path1, path2)))

#Example Output
# True

#Remember to inspect code for bugs.