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

Multilevel Dictionary In Python

I would like to create a perl style multilevel dict in python however I'm struggling to get thi… Read more Multilevel Dictionary 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

How To Make Lists Automatically Instantiate On Use In Python As They Do In Perl?

In Perl, I can do this: push(@{$h->[x]}, y); Can I simplify the following python codes accordin… Read more How To Make Lists Automatically Instantiate On Use In Python As They Do In Perl?

Recommendations For Perl-to-python Interoperation?

We have a sizable code base in Perl. For the forseeable future, our codebase will remain in Perl. H… Read more Recommendations For Perl-to-python Interoperation?

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

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

How Can I Call A Dll From A Scripting Language?

I have a third-party product, a terminal emulator, which provides a DLL that can be linked to a C p… Read more How Can I Call A Dll From A Scripting Language?

How To Get Unique Values Set From A Repeating Values List

I need to parse a large log file (flat file), which contains two column of values (column-A , colu… Read more How To Get Unique Values Set From A Repeating Values List