MCPcopy Index your code
hub / github.com/ipython/ipython / create_profile_dir

Method create_profile_dir

IPython/core/profiledir.py:174–183  ·  view source on GitHub ↗

Create a new profile directory given a full path. Parameters ---------- profile_dir : str The full path to the profile directory. If it does exist, it will be used. If not, it will be created.

(cls, profile_dir, config=None)

Source from the content-addressed store, hash-verified

172
173 @classmethod
174 def create_profile_dir(cls, profile_dir, config=None):
175 """Create a new profile directory given a full path.
176
177 Parameters
178 ----------
179 profile_dir : str
180 The full path to the profile directory. If it does exist, it will
181 be used. If not, it will be created.
182 """
183 return cls(location=profile_dir, config=config)
184
185 @classmethod
186 def create_profile_dir_by_name(cls, path, name=u'default', config=None):

Callers 2

init_profile_dirMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected