Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python
#1
Hi, I need help for the python script.
Reply
#2
Then maybe you should post your code and tell us what the problem you're having is.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
i encounter problem to the encryted script. will it be ok to check for me
Reply
#4
(May-03-2019, 02:28 PM)ichabod801 Wrote: Then maybe you should post your code and tell us what the problem you're having is.
Reply
#5
After i have did the encryption of the following:

d = {" !":1, "@":2, "#":3, "$":4, "%":5, "^":6, "&": 7, "*": 8, "(":9, ")":10,
"-":11, "_":12, "+":13, "=":14, "{":15, "[":16, "}":17, "]":18, ":":19,"\n"
'"':20, "'":21, "<":22, ">":23, ",":24, ".":25, "?":26, "/":27, "|":28, "\\":29,
"0":30, "1":31, "2":32, "3":33, "4":34, "5":35, "6":36, "7":37, "8":38, "9":39,
"A":40, "B":41, "C":42, "D":43, "E":44, "F":45, "G":46, "H":47, "I":48, "J":49,
"K":50, "L":51, "M":52, "N":53, "O":54, "P":55, "Q":56, "R":57, "S":58, "T":59,
"U":60, "V":61, "W":62, "X":63, "Y":64, "Z":65,
"a":66, "b":67, "c":68, "d":69, "e":70, "f":71, "g":72, "h":73, "i":74, "j":75,
"k":76, "l":77, "m":78, "n":79, "o":80, "p":81, "q":82, "r":83, "s":84, "t":85,
"u":86, "v":87, "w":88, "x":89, "y":90, "z":91, " ":92}

how should i do the decryption (numbers to alphate)of the code?
Reply
#6
Create a reverse of the dictionary. Loop over the keys and values of the dictionary with d.items(), and swap the value for the key and vice versa.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020