def create_wallet(password, api_code, service_url, priv=None, label=None, email=None):
params = {'<STR_LIT:password>': password, '<STR_LIT>': api_code}<EOL>if priv is not None:<EOL><INDENT>params['<STR_LIT>'] = priv<EOL><DEDENT>if label is not None:<EOL><INDENT>params['<STR_LIT:label>'] = label<EOL><DEDENT>if email is not None:<EOL><INDENT>params['<STR_LIT:email>'] = email<EOL><DEDENT>response = util.call_api("<STR_LIT>", params, base_url=service_url)<EOL>json_response = json.loads(response)<EOL>return CreateWalletResponse(json_response['<STR_LIT>'],<EOL>json_response['<STR_LIT:address>'],<EOL>json_response['<STR_LIT:label>'])<EOL>
Create a new Blockchain.info wallet. It can be created containing a 
    pre-generated private key or will otherwise generate a new private key. 

    :param str password: password for the new wallet. At least 10 characters.
    :param str api_code: API code with create wallets permission
    :param str service_url: URL to an instance of service-my-wallet-v3 (with trailing slash)
    :param str priv: private key to add to the wallet (optional)
    :param str label: label for the first address in the wallet (optional)
    :param str email: email to associate with the new wallet (optional)
    :return: an instance of :class:`WalletResponse` class