自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 779

原创 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 439

原创 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 144

原创 统计代码行数

shell]$ find /my/source -name "*.py" -type f -exec cat {} + | wc -l

2019-06-02 10:46:38 199 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除