- The Python Apprentice
- Robert Smallshire Austin Bingham
- 46字
- 2021-07-02 22:17:02
Executable Python programs on Linux and Mac
On Mac or Linux, we must mark our script as executable using the chmod command before the shebang will have any effect:
$ chmod +x words.py
Having done that, we can now run our script directly:
$ ./words.py http://sixty-north.com/c/t.txt
推薦閱讀
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- C程序設計簡明教程(第二版)
- PyTorch自然語言處理入門與實戰
- Android Application Development Cookbook(Second Edition)
- Building Cross-Platform Desktop Applications with Electron
- Python:Master the Art of Design Patterns
- Python編程:從入門到實踐
- 從零開始學C#
- 新印象:解構UI界面設計
- C語言程序設計實訓教程與水平考試指導
- 區塊鏈項目開發指南
- PyQt編程快速上手
- Python一行流:像專家一樣寫代碼
- Arduino Electronics Blueprints
- 深入實踐C++模板編程