human
How can I remove the fragment identifier from a URL?
assistant
Here is some code to remove the fragment identifier `#something` from a url `http://www.address.com/something#something`

urlparse.urldefrag('http://www.address.com/something#something')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.