mydate=10/10/2012
export mydate
perl -e 'print "my date is $ENV{mydate}\n"'
Wednesday, 11 January 2017
Export Bash Variable for Perl Command One-liner
How to use shell variables in perl command call in a bash shell script?
Tuesday, 10 January 2017
Sunday, 25 December 2016
Friday, 23 December 2016
Thursday, 22 December 2016
Modifiy Python matplotlib Backend Settings
To find the location of configuration file:
>>> import matplotlib
>>> matplotlib.matplotlib_fname()
Edit the matplotlib configuration file:
Modify "backend : tkagg" to "backend : Agg", for example.
More of Customizing matplotlib.
>>> import matplotlib
>>> matplotlib.matplotlib_fname()
Edit the matplotlib configuration file:
Modify "backend : tkagg" to "backend : Agg", for example.
More of Customizing matplotlib.
Wednesday, 21 December 2016
Subscribe to:
Posts (Atom)