MCPcopy Create free account
hub / github.com/ipython/ipython / create_profile_dir

Method create_profile_dir

IPython/core/profiledir.py:153–162  ·  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

151
152 @classmethod
153 def create_profile_dir(cls, profile_dir, config=None):
154 """Create a new profile directory given a full path.
155
156 Parameters
157 ----------
158 profile_dir : str
159 The full path to the profile directory. If it does exist, it will
160 be used. If not, it will be created.
161 """
162 return cls(location=profile_dir, config=config)
163
164 @classmethod
165 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