- 博客(4)
- 收藏
- 关注
原创 如何在python中执行shell脚本
如何在python中执行shell脚本如何往shell字符串里传python参数?shell脚本的变量我们都知道,用${}即可。如何向里面传递python变量呢?以下的例子是一个shell脚本的模版(模版里还没有传递变量,即还不是一个完整的shell脚本)我在里面向kubernetes提交了一个spark-submit。def get_shell_template(): return '''app_name=%(app)scos_env=%(env)smaster=%(master)
2021-03-19 11:04:56 812
原创 test spark structured streaming with spark operator doc
test spark structured streaming with spark operator docbackground:When migrating to delta lake, we are converting most of the batch jobs into streaming jobsIn order to increase the stablity of streaming jobs on Kubernetes, we are planning to use spark
2021-03-05 11:04:36 716
原创 Some basic data analysis with pandas and visualization with Django and Echarts
goalThe problem can be simplified as followsI have a 2-dimensional data.The first two of each row is the name of a student and his id.The following three digits of the data is the unit score of hi...
2019-06-06 22:37:53 152
原创 统计代码行数
shell]$ find /my/source -name "*.py" -type f -exec cat {} + | wc -l
2019-06-02 10:46:38 248 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人