---
# System prepended metadata

title: FORTH(4) WEEK UPDATE OF MY SOFTWARE ENGINEERING JOURNEY AT BLOCKFUSE LABS.

---

# FORTH(4) WEEK UPDATE OF MY SOFTWARE ENGINEERING JOURNEY AT BLOCKFUSE LABS.
This  week we started vim which is a editor that help in writing files and it is the updated version of vi. so anything you do un vi can also be done on vim too we look at the vim commands too which i will be writhing some of the command below:
>we will first see how to open a file on vim on your command line you can open a new file or an existing file on vim by inputing : vim <name of file> and vim will authomatically open.
>Their are the mode of vim and thier keys which are:
- normal mode(Escape key)
- insert mode(i,o,s and insert key)
- command mode(:)
- visual mode(v) and
- command line mode

we look at some other commands on vim which are:
>gg ->take cuso on first line
>G -> take cuso on last line
>x -> delete character
>dw -> delete word
>dd -> delete complete line
>v -> is the visual/ highlight
>y -> yanked/copy
>p -> put/pest
>u -> undo
>r -> redo
>:set number -> for line number
>:set nonumber -> remove line number
>:edit <filename> -> to open an existing file or create new file
>:! -> to open system commands or commands outside vim
>sort ui -> to arrange content in alphabetical other
>:split -> to open more file at once and split are into two the horizontal and vactical to open horizontaly you will enter :split or :sp and file name for vactical you will enter :vsplit or :vsp and the filename.
>:buffers -> tracks of file opend on the vim
>:bn -> buffer next
>:bp -> buffer previous
    
Then we move to macro:
>we use macro to search and replace multiple files on vim and some of the commands are:
>qa -> means start recording
>q -> stop record
>f -> means find
>r -> means replace
>gUl -> generalize all cuso characters upper case
>:%normal @a to play record but this will play the record to all the lines if you want to specify the lines you will used :<no of line to start>,<no of line to stop> @a normal
    
Then we move to programming language:
>we said is a set of instruction that allow human interact with the computer and we where thoght python in specific.
>we said python is a programming language that uses interpreter and it is case sencitive, it means (A and a) are not the same but in some language that are not case sencitive (A and a) are the same. you can use python to create web applications, games, mustly artificial inteligency(AI) and lots more. creating a python file it must end with the .py extention and python  can be directly executed on the terminal this is how to do that:

>python3 and enter it will prompt you to enter any python command
. >>>print("Hello, world") enter
    Hello, world
    
We look at python variable which is used for storing value and this is how it works:
    ![Screenshot from 2025-07-07 08-59-48](https://hackmd.io/_uploads/rk-6n-trex.png)

> variable = "value"
 first_number = 10
 second_number = 10
now anytime i want to call on "solex" i will print(UserName) or if am calling on "value" i will print(variable)
    
Python also have a way of commenting your code for easy recognition and a comment always start with hash example:
>#this is a comment
    
Python also have indentials which is the space giving at the biginning of a code with at times if you dont python will throw you an error.
we where thoght many other things which lead us to putting it into practice and assignment where been given by our instructor and we have some errors and learn from our errors too.
Now we look unto next week
    
# NO SIGN OF WEAKNESS :100: 