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

What Is The Equivalence Of Perluniprops In Python?

In perl, there's the perluniprops index of Unicode 7, http://perldoc.perl.org/perluniprops.html… Read more What Is The Equivalence Of Perluniprops In Python?

Java Wrapper To Perl/python Code

I have to deploy some Web Services on a server that only supports the Java ones, but some of them w… Read more Java Wrapper To Perl/python Code

Is There A Perl Or Python Library For Id3 Metadata?

Basically, I've got a bunch of music files yoinked from my brother's iPod that retain their… Read more Is There A Perl Or Python Library For Id3 Metadata?

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

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

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

Split 10 Billion Line File Into 5,000 Files By Column Value In Perl Or Python

I have a 10 billion line tab-delimited file that I want to split into 5,000 sub-files, based on a c… Read more Split 10 Billion Line File Into 5,000 Files By Column Value In Perl Or Python

Parse Svn Log Changed Path For Package Names

I am running the following command in linux to generate a verbose log for a particular revision. sv… Read more Parse Svn Log Changed Path For Package Names

Recursive Web Download Following Links According To Dom Criteria

MSDN is a huge hierarchical doc site. To be more precise, the content is organized in a hierarchica… Read more Recursive Web Download Following Links According To Dom Criteria

How Can I Search The Outlook (2010) Global Address List For A Name?

I have a list of names, some of them complete, some truncated. I would like to search the Outlook a… Read more How Can I Search The Outlook (2010) Global Address List For A Name?

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

Please Introduce A Multi-processing Library In Perl Or Ruby

In python we can use multiprocessing modules. If there is a similar library in Perl and Ruby, would… Read more Please Introduce A Multi-processing Library In Perl Or Ruby

What Does Exec ${perl-perl} -sx $0 ${1+"$@"} Mean In Shell Script?

I'm given a task to convert a shell script which contains Shell script, Perl code to Python. I … Read more What Does Exec ${perl-perl} -sx $0 ${1+"$@"} Mean In Shell Script?

Integration Testing For A Web App

I want to do full integration testing for a web application. I want to test many things like AJAX, … Read more Integration Testing For A Web App

Use Subprocess Python Library To Unzip A File Using 7zip

I would like to unzip a file with Python using 7zip executable. In Perl this is pretty straightforw… Read more Use Subprocess Python Library To Unzip A File Using 7zip

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

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

What's The Pythonic Way To Store A Data Block In A Python Script?

Perl allows me to use the __DATA__ token in a script to mark the start of a data block. I can read… Read more What's The Pythonic Way To Store A Data Block In A Python Script?

Extracting Visual Event 2 Output Into Script

In the Visual Event description, it says that it extracts 'which elements have events attached … Read more Extracting Visual Event 2 Output Into Script

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?