Converting JavaScript code in to Python 2.7

Could someone please help me to write the javasript code below in Python 2.7

Thanks in advance guys

var str = tmp.substring(0, tmp.length - _6DdaQF21rW()) + String.fromCharCode(tmp.slice(0 - _6DdaQF21rW()).charCodeAt(0) + _y7R6Mi9YeO()) + tmp.substring(tmp.length - _6DdaQF21rW() + 1);

You probably want a response from someone who is familiar with Python. Wouldn’t you have a better chance of this in the Python forum?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.