Translate Perl script to an equivalent Bash or Python

I have 3 short scripts written in Perl. These scripts should be translated to Bash or Python script (any of these two options is valid for me). Below you can see an example of Script #1 (contains 18 lines):

if ( @ARGV > 1 ) {

die "Usage: [login to view URL] [ utt2spk ] > spk2utt";



@A = split(" ", $_);

@A == 2 || die "Invalid line in utt2spk file: $_";

($u,$s) = @A;

if(!$seen_spk{$s}) {

$seen_spk{$s} = 1;

push @spklist, $s;


push (@{$spk_hash{$s}}, "$u");


foreach $s (@spklist) {

$l = join(' ',@{$spk_hash{$s}});

print "$s $l\n";


The Script #2 and #3 contain 8 and 50 lines, correspondingly.

Aptitudini: Perl, Bash Scripting, Dezvoltare software, Linux

Vezi mai multe: perl script ftp file, perl script unzip zip file, perl script ftp files, asterisk call forwarding mysql perl script, translate perl python, perl script convert python script, perl script to python, bash python script, start python script with bash script, python script in bash, convert perl script to python online, call python script from bash, source python script in bash, execute python script using bash, bash script to run python script with arguments, python run perl script with arguments, python run perl script capture output, how to convert perl script to python script

Despre angajator:
( 16 recenzii ) Barcelona, Spain

ID Proiect: #28751748

Acordat lui:


Hi I have done both Perl and Python programming for short scripts like these and I'm capable of translating between them. I'm able to help you, and would like to discuss this further.

%selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% EUR în 1 zi
(3 Recenzii)

5 freelanceri licitează în medie 24€ pentru acest proiect

(323 recenzii)
(130 recenzii)

Hey there, I'm a Systems Engineer with coding skills. I had developed tons of Pythons, Perl and Bash scripts. I can help. Regards.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 7 zile
(41 recenzii)

Hello, I would like to translate the scripts into python and create a private package, this way you can test them much easier and extend them however you want and additionally install them easily via pip if necessary.

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(0 recenzii)