Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63681
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-01-10 20:18 -0800 |
| Message-ID | <ae47738d-b16a-4567-bdd9-07d18db5fc77@googlegroups.com> (permalink) |
| Subject | python first project |
| From | ngangsia akumbo <ngangsia@gmail.com> |
Hi everyone,
I have been around this group for some time and i saw that we have very helpful people here.
i have been learning python just for about 5 months now and i have been given a task to do. This will be a leap into the programming industry for me.
i am programming a system that will be giving details about finance, purchase(bills pending bills and paid bill), employees record and salary details, warehouse records.
That is just all i intend to do this all on one GUI application window and to make it to be able to keep records for all the transaction which has been done inputted.
I have started programming it , but i still feel there are a lot of things i miss out.
Please i need some support from any honest person, please and also how to guide me complete this.
I am also looking for guides and sources which can help me complete it.
import os, sys
print "#" * 50
print "#" * 50
def fin_sec():
print "The financial sector"
fin_name = raw_input("Enter your Name: ")
fin_amount = input("Enter the amount for finance: ")
if fin_amount > 0:
print "We have a "DEBIT BALANCE" of", fin_amount,"FCFA"
else:
print "There is "CREDIT BALANCE" of", fin_amount, "FCFA"
print "Name of person doing the the transaction is ", fin_name
print "Amount available for finance is ", fin_amount
print "#" * 50
print "#" * 50
def purch_sec():
print "#" * 20
print "The purchase center"
purchase_name_good = raw_input("Please enter the name of good or goods purchase: ")
if not purch_name_good istitle():
purch_name_good.capitalize()
purch_price = input("Please enter the price for purchase made: ")
purch_p = raw_input("Please enter the reason of this purchase made: ")
purch_customer = raw_input("Please enter the name of customer: ")
purch_address = raw_input("Please enter the contact details for the customer: ")
print "Name of goods purchase: ", purch_name_good
print "Price of Good:",purch_price,"FCFA"
print "Reason for the purchase: ", purch_p
print "Customers name is: ", purch_customer
print "Contact: ",purch_address
def purch_Bill():
print "Regulating the Bills"
bill_total= int(input("Please enter the total bill of purchase: ")
bill_paid = int(input("Enter the bills paid in: ")
# bill_pending = input("Please enter the amount for pending bills: ")
print "The total bill paid: ", bill_total,"FCFA"
print "The amount already paid: ", bill_paid,"FCFA"
# print "The amount still left: ", bill_total - bill_paid,":::", "FCFA"
if bill_total == bill_paid:
print "Tne purchase amount was completed"
elif bill_total > bill_paid:
i = bill_total - bill_paid
print "The purchase amount left to be paid is ", i
print "DONE"
print "##" * 50
print ":::" * 50
def emp_rec():
print "Employee Record and Details"
emp_name = raw_input("Please enter the employee name: ")
emp_age = int(input("Age: ")
if emp_age > 18:
pass
else:
print "The candidate is too young to be an employee"
print "Name: ", emp_name
print "Age:", emp_age
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-10 20:18 -0800
Re: python first project Chris Angelico <rosuav@gmail.com> - 2014-01-11 15:29 +1100
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-11 08:31 -0800
Re: python first project Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-11 16:40 +0000
Re:python first project Dave Angel <davea@davea.name> - 2014-01-11 08:06 -0500
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-11 08:28 -0800
Re: python first project Dave Angel <davea@davea.name> - 2014-01-11 19:15 -0500
Re: python first project Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-11 16:28 +0000
Re: python first project Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-11 12:17 -0500
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-11 09:55 -0800
Re: python first project Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-11 17:10 -0500
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-11 21:14 -0800
Re: python first project Chris Angelico <rosuav@gmail.com> - 2014-01-12 17:04 +1100
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-11 23:30 -0800
Re: python first project Emile van Sebille <emile@fenx.com> - 2014-01-12 08:37 -0800
Re: python first project ngangsia akumbo <ngangsia@gmail.com> - 2014-01-12 08:47 -0800
Re: python first project MRAB <python@mrabarnett.plus.com> - 2014-01-12 18:50 +0000
Re: python first project Chris Angelico <rosuav@gmail.com> - 2014-01-12 09:15 +1100
Re: python first project Wolfgang Keller <feliphil@gmx.net> - 2014-01-11 19:34 +0100
csiph-web