original_docstring: 
    Initializes global Salesforce connection handle, "sf"
    
docstring: Initializes global Salesforce connection handle, "sf"
docstring_tokens: Initializes global Salesforce connection handle " sf "
code: def loginToSalesforce(username, password, sectoken):
    """
    Initializes global Salesforce connection handle, "sf"
    """
    global sf
    sf = SforceEnterpriseClient(wsdlFile)
    # API login seems to always need security token
    result = sf.login(username, password, sectoken)
    print 'Connected to "%s"' % result.serverUrl
    print '  as user "%s" Org Company Name: "%s" Org Id: "%s"' % \
      (result.userInfo.userFullName, 
       result.userInfo.organizationName, 
       result.userInfo.organizationId)
    print "  org type is %s sandbox" % (tern(result.sandbox,"","NOT"))
    global invokingUser
    invokingUser = result.userInfo.userFullName
code_tokens: def loginToSalesforce ( username , password , sectoken ) : global sf sf = SforceEnterpriseClient ( wsdlFile ) result = sf . login ( username , password , sectoken ) print 'Connected to "%s"' % result . serverUrl print '  as user "%s" Org Company Name: "%s" Org Id: "%s"' % ( result . userInfo . userFullName , result . userInfo . organizationName , result . userInfo . organizationId ) print "  org type is %s sandbox" % ( tern ( result . sandbox , "" , "NOT" ) ) global invokingUser invokingUser = result . userInfo . userFullName
short_docstring: Initializes global Salesforce connection handle, "sf"
short_docstring_tokens: Initializes global Salesforce connection handle " sf "
comment: """
    Initializes global Salesforce connection handle, "sf"
    """$SEP$# API login seems to always need security token