You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should work. But for now all it does is renaming variables, functions, classes, parameters and attributes that can be assumed to be "private" to the module (where all usages are known and are renamed as well):
a.py
def _add(a, _b): # use a leading underscore to mark names that are "private" and should be renamed
tmp = a # locals don't need an underscore, they are always renamed
return tmp + _b
def _multiply(x, y,/): # use posonly-parameters to allow renaming
return x * y
def main(): # no leading underscore, so it will not be renamed
print(_add(11, 22))
print(_multiply(23, 42))
if __name__ == '__main__':
main()
But please be aware that you are quite early. I pushed this code in a prototyping state just to show/discuss it. That's the reason there is no license and no documentation. It is not yet ready for production use! I plan to polish it and document its usage and limitations within the next days. Of course you are welcome if you want to play around with it in its current state. Any feedback is welcome!
Output will be same as input script..Its not obfuscate input script.Please add a option of input method to obfuscate script instead argparse.
The text was updated successfully, but these errors were encountered: