示例#1
0
def get_resources():
    
    global screens_active
    
    login_label.text = 'Retrieving Data'
    
    # Find and access folder we are uploading to
    globalVars.resources = Initialize.findFolder(new_user_setup)
    
    # Find file in the App folder and get its contents
    Initialize.findFile()
    
    # Remove all login screen widgets to prepare to display the main screen widgets
    f.remove_widget(pb)
    f.remove_widget(user_field)
    f.remove_widget(pass_field)
    f.remove_widget(login_button)
    f.remove_widget(login_label)
    
    # Prompt user for session id
    screens_active[0] = False
    screens_active[1] = True
    f.add_widget(sesh_id_label)
    f.add_widget(sesh_id_field)
    sesh_id_field.focus = True