Quantcast
Channel: Run python oneliner in bash script - Super User
Browsing latest articles
Browse All 2 View Live

Answer by Daniel Beck for Run python oneliner in bash script

There is no need for escaping or moving the argument to its own variable.But, keeping it mostly the same, the following works for me:#!/usr/bin/env...

View Article



Run python oneliner in bash script

The following is the python one-liner I want to run as part of my bash scriptpython -c "from xml.dom.minidom import parse;dom = parse('/path/to/pom.xml');print [n.firstChild.data for n in...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC