Archive

Posts Tagged ‘radwani’

Python : Expenditure App

November 27, 2018 3 comments



Expenditure Application


The Menu:

Continuing parts of the Expenditure Application, here is the basic menu that we will use in our app. We will select (9) as Exit from the system.

So now, we have a json file with sample data and stored in a directory, also we have a file called “expen.py” and we will write the menu def in it and save it.


def the_menu(): # This is a menu

print(‘1. Add New Entry.’)

print(‘2. Delete an Entry.’)

print(‘3. Change an Entry.’)

print(‘4. Show Total Expenditure in a Year.’)

print(‘5. Show Expenditure Details in a year.’)

print(‘9. Exit.’)

# This line will ask the user to enter the operation he want to do.

choice = input(‘What you want to do? ‘)

return choice




In this app we will have 5 functions as our menu and maybe one or two functions to facilitate some calculations in background.


Follow me on Twitter … Click here

Advertisements

From my Sketch Book




Bird From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Bird
Using: Ink-Pen
Date: 5/12/2017
SketchBook: SketchBook # 22
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,

From my Sketch book




Giraffe From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Giraffe
Using: Ink-Pen
Date: 15/10/2017
SketchBook: SketchBook # 22
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,

From my Sketch Book

March 29, 2018 Leave a comment



Little Sparrow From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Little Sparrow
Using: Ink-Pen
Date: 29/12/2017
SketchBook: SketchBook # 23
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,

From my Sketchbook

March 26, 2018 Leave a comment



Touche Turtle From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Touche Turtle
Using: Ink-Pen
Date: 21/1/2017
SketchBook: SketchBook # 13
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,

From my sketch book

March 24, 2018 Leave a comment



Old Mosque From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Water Color
Using: Ink-Pen
Date: 11/1/2017
SketchBook: SketchBook # 13
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,

From my Sketch book

March 22, 2018 Leave a comment


A Snowy Egret From my Sketch Book

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.


Click to Enlarge

::My SketchBook::
Sketch of: Snowy Egret
Using: Ink-Pen
Date: 11/1/2017
SketchBook: SketchBook # 13
More Sketches: Click Here



Follow me on Twitter..


Inst_icon




Ali,