Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to insert byte of any value between 0 and 255 into a text

Avtokod
2013-07-27
2013-07-27
  • Avtokod
    Avtokod
    2013-07-27

    s= notepad.prompt('Enter value, or series, in a box, e.g.: \x5Cx00 ','Insert a byte ')
    exec("a=b'{}'".format(s))
    editor.addText(a)