使用包

  1. import camelcase
  2.  
  3. c = camelcase.CamelCase()
  4.  
  5. txt = "hello world"
  6.  
  7. print(c.hump(txt))