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

Can Run Script Line By Line In Shell, But Full Script Returns Nothing

I'm using a script that extracts text from a PDF file. If I run my script one line at a time in… Read more Can Run Script Line By Line In Shell, But Full Script Returns Nothing

How To Execute A Nautilus Script Written In Python Inside A Gnome-terminal Window That Stays Open?

Lets say I want to execute a simple Python script from Nautilus, the default file manager of GNOME:… Read more How To Execute A Nautilus Script Written In Python Inside A Gnome-terminal Window That Stays Open?

How To Write A Shell In Python

I've written a small console application that can perform certain tasks. The user interface is … Read more How To Write A Shell In Python

How To Make An Executable To Use In A Shell - Python

I have a Python script and I was wondering how I can make it executable; in other words how can I r… Read more How To Make An Executable To Use In A Shell - Python

Grep A Word And Find Its Count From Log File For Different Times

log file which contains following data. 2014-10-19 17:30:25: Creating destination directory: '\… Read more Grep A Word And Find Its Count From Log File For Different Times

How To Use Python To Start An Interactive Shell Program?

I have used python subprocess and os module for a while. Now I want to start an interactive C++ pro… Read more How To Use Python To Start An Interactive Shell Program?