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

How To Pass Parameter To Python Script From Unix

I have been researching over the internet like How to pass parameter to inside python code which is… Read more How To Pass Parameter To Python Script From Unix

Python: Assign Print Output To A Variable

I would like to know how to assign the output of the print function (or any function) to a variable… Read more Python: Assign Print Output To A Variable

Is There A Built-in Python Analog To Unix 'wc' For Sniffing A File?

Everyone's done this--from the shell, you need some details about a text file (more than just l… Read more Is There A Built-in Python Analog To Unix 'wc' For Sniffing A File?

Installing Pip For Python3.3

I downloaded pip from Package Index > pip 1.2.1 Then I installed it using sudo python3.3 setup.… Read more Installing Pip For Python3.3

How To Export All Hive Databases And Their Tables To A Csv Or Txt Fiile

I am trying to output all tables in a database to an csv or text file. I can output all the databas… Read more How To Export All Hive Databases And Their Tables To A Csv Or Txt Fiile

Using Wildcards In Filename In Scp In Python

I want to execute a simple scp command in a python script, copying files following a certain name p… Read more Using Wildcards In Filename In Scp In Python

What Is Python's Equivalent To 'ulimit'?

I'm trying to implement a check on system resources for the current shell (basically everything… Read more What Is Python's Equivalent To 'ulimit'?

How To Split A Huge Csv File Based On Content Of First Column?

I have a 250MB+ huge csv file to upload file format is group_id, application_id, reading and data c… Read more How To Split A Huge Csv File Based On Content Of First Column?