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

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -