This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ========================================== | |
| # Openclaw Termux Deployment Script v2.0 | |
| # ========================================== | |
| # | |
| # Usage: curl -sL https://s.zhihai.me/openclaw > openclaw-install.sh && bash openclaw-install.sh [options] | |
| # | |
| # Options: | |
| # --help, -h Show help information | |
| # --verbose, -v Enable verbose output (shows command execution details) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang='en'> | |
| <head> | |
| <title>Redirecting...</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="robots" content="noindex"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 算法-Python 字典取值 | |
| ``` | |
| # 字典value 为 list,将 key 与list 中的 每一个value 配对组合成新的list | |
| result = {'title': ['经济学中的利益与理念', '教育的三个基本问题——学什么?怎样学?为什么学?', '朱理治的金融思想及其现实意义', '理解现代国家治理,掌握多元知识体系', '功利主义扼杀了创造性思维', '培养“问题意识”,做有意义的研究', '追忆高尚全“劳动力市场”的建言:他有直面改革的担当精神', '北京的逻辑', '问题比答案更重要', '经济学的意义'], 'link': ['http://www.50forum.org.cn/home/article/detail/id/8576.html', 'http://www.50forum.org.cn/home/article/detail/id/8553.html', 'http://www.50forum.org.cn/home/article/detail/id/8541.html', 'http://www.50forum.org.cn/home/article/detail/id/8525.html', 'http://www.50forum.org.cn/home/article/detail/id/8448.html', 'http://www.50forum.org.cn/home/article/detail/id/8446.html', 'http://www.50forum.org.cn/home/article/detail/id/8440.html', 'http://www.50forum.org.cn/home/article/detail/id/8386.html', 'http://www.50forum.org.cn/home/article/detail/id/8337.html', 'http://www.50forum.org.cn/home/article/detail/id/8323.html']} | |
| final_result = [] | |
| for i in range( len(result['title'] ) ): | |
| final_result.append( |