1: Command Line Python(Challenge: Working with the Command Line)
来源:互联网 发布:大疆无人机香港知乎 编辑:程序博客网 时间:2024/05/22 03:24
In the past few missions, you learned how to navigate the filesystem, create and modify files, and work with Python on the command line. You learned that it isn't enough to just know how to program in Python -- you also have to know how to modify and execute Python programs on your computer.
In this challenge, you'll pull all of the concepts from the past few missions together to create and run a Python script on the command line. Here's a rough outline of what you'll do:
- Create a Python script.
- Create a virtual environment.
- Change file permissions.
- Execute a Python script from the command line.
Instructions
- Familiarize yourself with the current folder.
- Change out of the current directory, then back in.
- Print the path of the current folder to the standard output
/home/dq$ cd ..
/home$ cd ~
/home/dq$ pwd
/home/dq
/home/dq$
0 0
- 1: Command Line Python(Challenge: Working with the Command Line)
- 2: Creating A Script( Challenge: Working with the Command Line )
- 3: Change File Permissions(Challenge: Working with the Command Line)
- 4: Create A Virtualenv( Challenge: Working with the Command Line)
- [VBS] Working with DOS Command Line
- Working on Command Line
- 1: Command Line Python(Command line Python scripting)
- The Command Line!
- The Command-Line Interface
- The Linux Command Line
- ExecuteProcess - with Command Line Support
- Rename file with command line
- Command Line -- Lesson 1
- command line
- command line
- command line
- Command-line
- Command Line
- Android Support Design常用控件Snackbar,FloatingActionButton等
- RecyclerView的使用与解析
- IIS绑定域名详细教程
- 二叉查找(最简单的递归)
- 快速排序
- 1: Command Line Python(Challenge: Working with the Command Line)
- PLSQL Developer 导入中文数据出现乱码
- Android应用性能优化之分析工具
- jquery中html 与 text方法的区别
- 基于 Webpack & Vue & Vue-Router 的 SPA 初体验
- centos 下面在虚拟环境下如何安装psycopg2数据库驱动?
- com.google.android.xts.location.LocationHostTest--testSetting fail
- java的构造函数
- input type=number的 小数设置