Actually, I think I got it. Use the urllib library in Python to encode it. 

Thank you all! These forums are always very helpful.
Tom

On Tue, Sep 3, 2019 at 11:48 AM Maximilian Doerr <maximilian.doerr@gmail.com> wrote:
You probably can’t.  URLs HAVE to be URL encoded if you expect them to work right.  That’s why they come out like that.  The browser just prettifies it and/or handles the unencoded form.  Modern browsers handle these automatically but other processes may not.

Cyberpower678
English Wikipedia Account Creation Team
English Wikipedia Administrator
Global User Renamer

> On Sep 3, 2019, at 20:25, Thomas Stieve <tomthirteen@email.arizona.edu> wrote:
>


--
Thomas Stieve
Ph.D. Candidate
School of Geography and Development
University of Arizona