Thursday, 17 June 2021
Wednesday, 26 May 2021
Saturday, 20 March 2021
Sunday, 4 October 2020
HOW TO WRITE AND RUN PYTHON SCRIPTS
WRITING PYTHON SCRIPTS
1) put on your system, and click START
2) type Notepad into the command prompt
3) write your python codes
4) save your codes AS
a) file Name: whatever.py -save it with any name, but ensure the ".py" ending
b)encoding: utf-8
note: some writers talk about creating a new folder for your python files. That does not necessarily matter as long as you could quote your location when running your codes.
Your python file is created successfully.
RUN YOUR PYTHON CODES
a) ensure that python is properly installed on your system
b) click on START once your PC is on
c) type COMMAND PROMPT, select it
a dark command prompt would open with a cammand line C: \Users\PC>
Now, this is where you identify the Location of your file. Assuming your file is stored in a new folder called MYFOLDER at DESKTOP, this is how you declare your file location
d) type "cd desktop" Press enter
e) type "cd myfolder". Press enter
f) finally, type your file name: whatever.py. Press enter
Congrats, your code output is successfully displayed. Happy coding.
Sunday, 27 September 2020
HOW TO USE NOTEPAD TO RUN YOUR HTML/JS CODES CODES
In your window click START
2) type NOTEPAD.
3) click on it
4) write your codes
5) click on FILE, SAVE AS
6) save your HTML with anything.html, Java Script with anything.js
encoding: HTML=UTF-8, JS= unicode
NOTE: preferably, save your file in DOCUMENT
TO RUN YOUR CODES
1) click on file
2) click on the folder
3) click on the file
4) open with any browser of choice
THERE IS YOUR CODE OUTPUT
HOW TO EDIT WEB PAGE
Normally, web pages are read only. But with the new web console developer tool, web pages can actually be edited.
PROCESS:
1) open your Firefox web browser
2) open any web page of your choice
2) click on the menu key at the far top right hand side
3) click on web developer. Click "more tools" if you are using Chrome
4) click on web console
at the down part of your browser a space will open
5) type: document.body.contentEditable= "true"
6) click on any part of the web page your wish to edit.
you are good to go