Skip to content Skip to sidebar Skip to footer
Showing posts with the label Perl

Run A Python Script In Perl

I have two scripts, a python script and a perl script. How can I make the perl script run the pytho… Read more Run A Python Script In Perl

Recursively Traverse Directory And Replace Function Calls

I would like to traverse a directory recursively and find all files that have at least one of the f… Read more Recursively Traverse Directory And Replace Function Calls

Padding Multiple Character With Space - Python

In perl, I can do the following with will pad my punctuation symbols with spaces: s/([،;؛¿!'\])… Read more Padding Multiple Character With Space - Python

Combine Lines With Matching Keys

I have a text file with the following structure ID,operator,a,b,c,d,true WCBP12236,J1,75.7,80.6,65.… Read more Combine Lines With Matching Keys

How To Deserialize And Serialize Amf Packets In Python?

I am rewriting the following Perl code in Python: my $data = Data::AMF::Packet->new->deseri… Read more How To Deserialize And Serialize Amf Packets In Python?

Calculating The Distance Between Atomic Coordinates

I have a text file as shown below ATOM 920 CA GLN A 203 39.292 -13.354 17.416 1.00 55.7… Read more Calculating The Distance Between Atomic Coordinates