Skip to content
Feel Like Learning

Feel Like Learning

程序|生活

  • English

Month: February 2021

Posted on February 12, 2021February 12, 2021

怎样用python写HIve的delimiter: ^A

以下在Python 2.7,MacOS上试过

f = open('ctrla.txt', 'w')
f.write('abc')
f.write(u'\u0001')
f.write('35')
f.close()
vim ctrla.txt

  1 abc^A35

google search

Categories

  • 0-1 背包
  • apache2
  • javascript
  • leetcode
  • Macbook
  • node.js
  • pandas
  • php
  • plumbing
  • Python
  • Uncategorized
  • Wordpress
  • 动态规划
  • 厨艺
  • 外语
  • 房子
  • 投资
  • 机器学习
  • 理财
  • 生活
  • 电脑
  • 科技
  • 移民
  • 移民美国
  • 算法
  • 编程
  • 背包
  • 英语
  • 韩语

Recent Posts

  • 怎样用python写HIve的delimiter: ^A
  • 家里爆水管的救命神器
  • 在Java里怎样把exception的stacktrace压缩到一行?
  • Macbook 中文输入法使用全角/半角标点符号
  • 怎样在Excel里正确显示韩语

Recent Comments

  • feellikelearning on 2020年如何renew combo卡?| How to renew a combo card in 2020
  • swee on 2020年如何renew combo卡?| How to renew a combo card in 2020
  • feellikelearning on 2020年如何renew combo卡?| How to renew a combo card in 2020
  • ed on 2020年如何renew combo卡?| How to renew a combo card in 2020
  • feellikelearning on 2020年如何renew combo卡?| How to renew a combo card in 2020

Archives

  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress