LoginSignup
0
0

More than 1 year has passed since last update.

#docker + A simple profile configuration to run #python script of host with alias configuration of #shell (#zsh example)

Last updated at Posted at 2019-04-22

./version-check.py

 import sys print(sys.version_info) 

profile

.zsh .bashrc etc

 function docker-python() { cat "$1" | docker run -i python } 

EXE

 $ docker-python ./version-check.py sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0) 

Original by Github issue

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0