gui.py 文件源码

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

项目:Music-Scraper 作者: srivatsan-ramesh 项目源码 文件源码
def my_raw_input(r, c, prompt_string):
        """
        Gets input on the screen
        :param r: y coordinate
        :param c: x coordinate
        :param prompt_string: The prompt string
        :return: The input string
        """
        curses.echo()
        GUI.box.addstr(r, c, prompt_string, GUI.high_light_text)
        GUI.box.refresh()
        input_str = GUI.box.getstr(r + 2, c, curses.COLS)
        return input_str.decode('UTF-8')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号