Is there a reason to import the string module in Python? -
i beginner in programming , python first language. using python shell right now, don't understand why need import string
module.
i know importing string
imports functions, when tried using functions string.split
, string.join
, work without import, assume means python builtins.
is there works once import string
module wouldn't work otherwise?
generally don't need import string
module class in builtins. however, there several constants in string module not built in, can usefull.
Comments
Post a Comment