from code_atrribute import history_k_data_util if __name__ == "__main__": results = history_k_data_util.HistoryKDatasUtils.get_gp_current_info(["600505"]) if results: current_price = results[0]["price"] print(current_price)