Skip to content

Instantly share code, notes, and snippets.

View anhanh11001's full-sized avatar
🎯
Focusing

Duc Le Tran anhanh11001

🎯
Focusing
View GitHub Profile
// The code below is a perfectly formatted code regardings to ktlint
// To compare with ktfmt, copy this and format it in https://facebook.github.io/ktfmt/index.html
// Please decide yourself whether you think one is better than the other, comment below is my personal preferences
// Cases where I think code looks good before reformatting (💪 ktlint 💪)
fun aFuncName(
inputOne: String,
inputTwo: String,
inputThree: Boolean
@anhanh11001
anhanh11001 / excel_converter
Created December 10, 2020 05:28
Convert xls to xlsx
import os
import xlrd
from openpyxl.workbook import Workbook as openpyxlWorkbook
def convert_file(original_file, new_file):
xlsBook = xlrd.open_workbook(original_file)
workbook = openpyxlWorkbook()