Skip to main content

A small example package

Project description

python simplified even further

  1. calculator() - make basic calculations ex - start.pyiseasy.calculator(1,2,'+')

  2. openfile() - open a text file ex - myfile=start.pyiseasy.openfile('example.txt','read')

  3. readfile() - read the contents of a file ex - start.pyiseasy.readfile(myfile)

4.writetofile() - write some data to a file ex - start.pyiseasy.writetofile(myfile,'Hi there')

5.closefile() - closes the file ex - start.pyiseasy.closefile(myfile)

6.declaredatatype() - declares a type of data in the program ex - a=start.pyiseasy.declaredatatype(2,'integer')

Note: this function can accept boolean variables as well. To declare a boolean value using this function. Please use: b=start.pyiseasy.declaredatatype('bool','is true')

7.printbackwards() - prints a string backwards ex - print(start.pyiseasy.printbackwards('racecar'))

8.removeduplicate() - removes any repeated value from a list and gives a list with no duplicate values. ex - withnodup=start.pyiseasy.removeduplicate(list)

  1. giveduplicates() - gives a list of all the duplicate values in a list. ex - dups=start.pyiseasy.giveduplicates(list)

  2. addDict() - this adds a key and a corresponding value to a dictionary ex - start.pyiseasy.addDict(dictionary,2,'Chicken')

11.addtuple() - this adds an element to a tuple please note that another tuple could not be added to an existing tuple using this function ex - start.pyiseasy.addtuple(tup,'Hello World!')

  1. findASCII() - finds the ASCII value of a character ex - start.pyiseasy.findASCII('b')

  2. findvalchar() - finds the character using an ASCII value ex - start.pyiseasy.findvalchar(65)

  3. probability() - finds the probability ex - prob=start.pyiseasy.probability(2,10)

15.findvowels() - gives the number of vowels in a string ex - noofvowels=start.pyiseasy.findvowels(string)

  1. paragraph() - gives a paragraph ex - p=start.pyiseasy.paragraph(string)

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

Oversimplepy-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

Oversimplepy-0.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Oversimplepy-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 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 Oversimplepy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c5e8a1db908436bb31064f74bedeffecd2c644f3f12d69a9f51d570760e656dd
MD5 78c5d007368003c46e10cac2ba00f119
BLAKE2b-256 424094c1f121d5fa24a39de433e8c088678a4fc903e0d29c3cdd273f6bb2a008

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Oversimplepy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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 Oversimplepy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24c9ccbab43878c08ddfacdbdff655f76db70eb007c1de2e48817051105b02ac
MD5 842b5fe524d1ed254e4d9ac77b8bc693
BLAKE2b-256 eff00e23f16be95257e602794f5a2c836e9d7d72f0df8f11e01204b8500cfc00

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