[Tutor] what does %25f mean?

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Oct 24 19:08:41 CEST 2005

On Mon, 24 Oct 2005, Shi Mu wrote:

> what does %25f mean?

Hi Shi Mu,

Without more context, I'd have to guess that this looks like a format
string.  Here's more information about them:


But can you show us where you saw this "%25f" thing though?  Like bytes,
words can be "interpreted" in different ways.  Offhand, another
alternative interpretation is as a url-escaped string:

>>> import urllib
>>> urllib.unquote('%25f')
>>> urllib.quote_plus('hello world, this is a percent: %')

So if you can tell us where you saw '%25f', that'll help us cut down on
the possible explanations that can better account for what you're seeing.

Good luck!

More information about the Tutor mailing list