Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Please assist me with learning python

Name: Anonymous 2011-01-23 1:05

all i need is a simple python script that allows a user to enter a string, then takes each character in the strign, and converts it do predefined variables.

For example, i tell the program that a = 01 and b = 02
and if the user types in ab, he gets returned 0102.

this shouldent be to hard. Its for a new encryption cypher i developed.

Name: Anonymous 2011-01-23 2:40

%variables=qw;a 01 b 02;;
s/(.)/$variables{$1}/g,print while<>

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List