Skip to content

Commit fcd2fc8

Browse files
committed
Version update: 0.4.4 -> 0.5.0
1 parent 344c0ed commit fcd2fc8

File tree

15 files changed

+250
-82
lines changed

15 files changed

+250
-82
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,21 @@
22

33
A simple Python terminal!
44

5-
![](https://img.shields.io/badge/Version-v0.4.4-green)
5+
![Version](https://img.shields.io/badge/Version-v0.4.5-green)
66

7-
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Totoro700/PyTerm)
7+
![Code size](https://img.shields.io/github/languages/code-size/Totoro700/PyTerm)
88

9-
![GitHub](https://img.shields.io/github/license/Totoro700/PyTerm)
9+
![License](https://img.shields.io/github/license/Totoro700/PyTerm)
1010

11+
![](https://img.shields.io/badge/python-%3E%3D%203.0.0-orange)
1112

13+
![Platforms](https://img.shields.io/badge/supported%20platforms-Windows%2C%20Linux%2C%20Mac%20OS-green)
14+
15+
16+
17+
## Requirements:
18+
19+
Python >= **3.0.0**
1220

1321
---
1422

@@ -18,23 +26,23 @@ Instruction for downloading and running PyTerm!
1826

1927
### Linux and Mac OS X
2028

21-
Install [Python](https://python.org/downloads)
29+
Install [Python 3](https://python.org/downloads)
2230

2331
Get the repository:
2432

2533
Git: `git clone https://github.com/Totoro700/PyTerm.git`
2634

2735
GitHub CLI: `gh repo clone Totoro700/PyTerm`
2836

29-
Open `PyTerm`
37+
Open the folder `PyTerm`
3038

31-
Open `src/`
39+
Open the folder `src/`
3240

33-
Open `__main__.py` with Python
41+
Open `__main__.py` with Python 3
3442

3543
### Windows
3644

37-
Download `.exe` file ( `bin/PyTerm.exe` )
45+
Get the `.exe` file ( `bin/PyTerm.exe` ), then run it
3846

3947
Or you can do [Linux and Mac OS X steps](#Linux-and-Mac-OS-X)
4048

bin/PyTerm.exe

3.11 KB
Binary file not shown.

change.log

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
Version 0.4.4 change log
1+
Version 0.5.0 change log
22

3-
Added notepad command for opening Windows Notepad
4-
Shorten lines on date/time command
5-
Added .gitignore
6-
Fixed bug: deleting folders/directories/files that are being used by another program
3+
New commands:
4+
Added py command in src/__main__.py for opening Python interpreter
5+
Added move command to move a file
6+
Added tree command to graphically display the directory structure of a drive or path
7+
Added runPy to run a python files
78

9+
10+
Updates/fixes:
11+
Fixed alignment issue in src/__main__.py (#1)
12+
Fixed typos in src/__main__.py (#2, #3)
13+
Updated parameters for math command (math -a)

docs/Hack_Into_PyTerm.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,26 @@ The `store` command let's you store things. But you can change them manually, in
1010

1111
Same thing, but `cache.txt`
1212

13+
If the cache is 1, that means you've ran PyTerm before, else it will be empty
14+
1315
## Color
1416

1517
It's the same thing for color, go to `user_data` but then click the folder `settings`, then click `color.txt`
1618

19+
`color.txt` will have two characters, the first is a number which will be the foreground/text color, second, is a letter ( `A` to `F` ) which defines the background color
20+
1721
## Prompt
1822

23+
The default prompt is "`>`"
24+
1925
Path: `user_data/settings/prompt.txt`
2026

2127
Complete these steps:
2228

2329
- [ ] Open the `user_data` folder
2430
- [ ] Open the `settings` folder
25-
- [ ] Double click the file `prompt.txt`
26-
- [ ] Change the text
31+
- [ ] Double click/open the file `prompt.txt`
32+
- [ ] Change the text (the program will automatically add a space right after)
2733
- [ ] Save file
2834
- [ ] Open PyTerm
2935

docs/file_commands/move.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# move
2+
3+
The `move` command moves a file to another directory
4+
5+
```
6+
> move
7+
Path/directory to current file to move -> ../README.md
8+
Path/directory to new file -> README.md
9+
>
10+
```
11+

docs/file_commands/tree.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# tree
2+
3+
The `tree` command graphically display folders and subfolders as a tree like in cmd
4+
5+
Dot ( `.` ) stands for current directory
6+
7+
Double dots ( `..` ) stands for previous directory
8+
9+
Slash without any dots before it means the root
10+
11+
```
12+
> tree
13+
Directory (backslash for root) -> .
14+
Folder PATH listing for volume OS
15+
Volume serial number is <VolumeSerialNum>
16+
C:\USERS\%USERNAME%\PATH\TO\CURRENT\FILE
17+
├───user_data
18+
│ └───settings
19+
```
20+

docs/other_commands/py.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# py
2+
3+
The `py` command opens cmd in a new window and opens Python's interpreter
4+
5+
```
6+
> py
7+
8+
```
9+
10+
*[Opens in a new window]*
11+

docs/other_commands/runPy.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# runPy
2+
3+
The `runPy` command runs and Python script/file. You will need to have Python installed and provide the directory of the script to be executed.
4+
5+
```
6+
> runPy
7+
Directory of Python file to run -> C:\Users\ExampleUser\Documents\pythonProjects\test.py
8+
```
9+
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# version
2-
3-
The `version` (also `ver` ) command shows PyTerm's version:
4-
5-
```
6-
> ver
7-
PyTerm v0.4.4
8-
> version
9-
PyTerm v0.4.4
10-
```
11-
1+
# version
2+
3+
The `version` (also `ver` ) command shows PyTerm's version:
4+
5+
```
6+
> ver
7+
PyTerm v0.4.4
8+
> version
9+
PyTerm v0.4.4
10+
```
11+

docs/system_commands/TASKKILL.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# TASKKILL
2+
3+
The `TASKKILL` command forces the provided program to stop running.
4+
5+
```
6+
> TASKKILL
7+
Program file name -> notvirus.exe
8+
```
9+

0 commit comments

Comments
 (0)