Instance of 'dict' has no 'replace' member

Dan Sommers 2QdxY4RzWzUUiLuE at
Fri Feb 1 08:57:26 EST 2019

On 2/1/19 7:15 AM, sinless199 at wrote:
> Hello guys can you help me to solve problem when i compile proram got error like this "Instance of 'dict' has no 'replace' member[no member](67;14)".

Python dicts don't have a replace method.

It looks like you're trying to replace strings inside particular
dict entries; perhaps you meant something like this:

     querystring["key"] =
         querystring["key"].replace("placeholder", "value")


More information about the Python-list mailing list