GUI.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:sendobox 作者: sendobox 项目源码 文件源码
def load_config():
    config_file = tkFileDialog.askopenfile("r")
    # Get parameters from .txt file
    [username, password, start_date, end_date, area_of_interest, platform, max_cloud_cover, download_path, image_id, download_options,
     image_path, preprocessing_options] = configuration.read_txt(config_file)
    # Clear old values
    clear_all()
    # Set new settings
    entries.set(username, password, start_date, end_date, area_of_interest, platform, max_cloud_cover, download_path, download_options,
                image_id, image_path, preprocessing_options, textbox_username, textbox_password, textbox_start_date,
                textbox_end_date, textbox_aoi, variable_sentinel1, variable_sentinel2, textbox_cloud_cover, textbox_download_path,
                textbox_product_id, variable_save_metadata, variable_plot_footprints, variable_download_test_image,
                variable_download_all, textbox_image_path, variable_mosaick, variable_subset)

# Method for saving a configuration file
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号