Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/developerjosh/py-shell
A Windows shell made in Python
https://github.com/developerjosh/py-shell
Last synced: about 6 hours ago
JSON representation
A Windows shell made in Python
- Host: GitHub
- URL: https://github.com/developerjosh/py-shell
- Owner: DeveloperJosh
- Created: 2024-05-24T18:42:58.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-30T18:10:53.000Z (6 months ago)
- Last Synced: 2024-05-30T21:14:18.848Z (6 months ago)
- Language: Python
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Python Shell
This is a custom Python shell that provides various built-in commands for interacting with the file system and obtaining system information.Features
File Management: Commands for listing directory contents, creating and removing files and directories, moving and copying files, and more.
System Information: Commands to display system information, such as uptime, memory usage, and currently running processes.
Text Processing: Commands for sorting, counting, and searching within files.
Getting Started
Prerequisites
Python 3.x
Installation
Clone the repository:```
git clone https://github.com/yourusername/python-shell.git
cd python-shell
```
Usage
Run the shell:```sh
python shell.py
```
Example Commands
```sh
# Print the current working directory
pwd# List directory contents
ls# Create a new directory
mkdir new_directory# Display system information
sysinfo# Print lines matching a pattern
grep "search_term" file.txt
```
Built-in Help
Type help in the shell to display information about available commands.```sh
help
```
Contributing
Contributions are welcome! Please open an issue or submit a pull request.