Python Simplified
Project description
ovc is a module that simplifies python for young and enthusiastic programmers who find python to be complicated
Here are the functions of the module ovc
Display() - this function is used to display text or any other value to the user via your display or monitor ex - ovc.Display("Hello World!") -- Output: Hello World! ovc.Display(1) -- Output: 1
UserInput(prompt,itype) - this allows the program to get a certain value from the user and the type of value could also be asked as well ex - ovc.UserInput("Enter your name",'string') -- Output: Enter your name Michael Davis ovc.UserInput("Enter a number",'integer') -- Output: Enter a number 2
Calculator(num1,num2,operator) - this function recieves two numbers and an operator(ex: +,-,*,/) to make a simple arithmetic calculation ex - ovc.Display(ovc.Calculator(1,2,"+")) -- Output: 3
Datatype(value,dtype) - this function allows the user to give a certain value and declare it's Datatype ex - ovc.Display(ovc.Datatype(2,'integer')) -- Output: 2
Bool(val) - This function would be used to delcare a variable in two ways, true or false ex - a=ovc.Bool('is true') or a=ovc.Bool('is false')
OpenFile(filename,mode) - this function would allow the program to open a text file to read data, write data or add data to it ex - myfile=ovc.OpenFile('Myfile.txt','collect data')
ReadfromFile(filehandle) - this function is used to read the contents of a text file ex - paragraph = ovc.ReadfromFile(myfile)
WriteToFile(filehandle) - this function is used to write some text to a text file ex - ovc.WriteToFile(myfile,"My name is Jimmy Johnson")
CloseFile(filehandle) - this function closes a text file that was opened in the program ex - ovc.CloseFile(myfile)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for learnpyOvercompensator9000-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8869a9041342e5b4d1ae5e4ef550545e7d104bd5f03eb9fcde468762132f3a02 |
|
MD5 | d28acf140d1468c1b323b592cdaefa65 |
|
BLAKE2b-256 | ba71e910480733dc31d7ba96e213679494eac6e0f24d4df666d478df63c4c28f |
Hashes for learnpyOvercompensator9000-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef60b1ed65d9039ca23d38d5c6ede765b5c84f25e175e3d2e8b651b755b08598 |
|
MD5 | c743e1d5ca7d32c4c595ba90a41323bf |
|
BLAKE2b-256 | 11c3137f5970911193773e7fda9d80bacdd97d596abdfa230674000c87b01d1c |