Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

learnpyOvercompensator9000-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

learnpyOvercompensator9000-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file learnpyOvercompensator9000-0.0.1.tar.gz.

File metadata

  • Download URL: learnpyOvercompensator9000-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

File hashes

Hashes for learnpyOvercompensator9000-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8869a9041342e5b4d1ae5e4ef550545e7d104bd5f03eb9fcde468762132f3a02
MD5 d28acf140d1468c1b323b592cdaefa65
BLAKE2b-256 ba71e910480733dc31d7ba96e213679494eac6e0f24d4df666d478df63c4c28f

See more details on using hashes here.

File details

Details for the file learnpyOvercompensator9000-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: learnpyOvercompensator9000-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

File hashes

Hashes for learnpyOvercompensator9000-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef60b1ed65d9039ca23d38d5c6ede765b5c84f25e175e3d2e8b651b755b08598
MD5 c743e1d5ca7d32c4c595ba90a41323bf
BLAKE2b-256 11c3137f5970911193773e7fda9d80bacdd97d596abdfa230674000c87b01d1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page