Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 21st, 2013, 09:39 PM
slayercortex slayercortex is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 1 slayercortex User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 24 sec
Reputation Power: 0
Getting Started

Hello all,
I am new to python and I am trying to help be more organized in my office. The problem is this... We have a tool box and we need to keep track of who takes what tools when and when they are returned. Also I need the functionality of reassigning the tools to another person without checking them back in one at a time. I am not sure how to go about starting this, the problem I am running into is that I do not know how to create a loop to input the tool serial numbers and save them too a text file. I was thinking the name of the text file could be the employee number and inside the file is a list of the tools and their serial numbers. Some times people have different numbers of tools they are checking out, can I make the loop continue until the user enters a certain phrase? would it be possible to keep all the entries in one text file? like Employee# then list the tools 1 2 3? I am assuming I can use a similar loop for checking the tools back in... The last function I need to figure out is how I am going to assign the Tools to a new employee from the person that already has it. We leave the tools at the station so rescanning all of them is time consuming. Im not asking for someone to do this work for me I am just hoping more experienced people can help me find a direction that will work and help me figure out how to achieve this functionality.

please dont kill the newb

Reply With Quote
  #2  
Old February 22nd, 2013, 02:02 AM
b49P23TIvg's Avatar
b49P23TIvg b49P23TIvg is offline
Contributing User
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Aug 2011
Posts: 3,353 b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 3 Days 8 h 3 m 36 sec
Reputation Power: 383
You could maintain a dictionary of tools, with each tool (the key) store a list of most recent 3 people to have the tool and the date of transfer. Then shelve the dictionary for permanence.

Direct transfers between people is convenient, but without checking in through a central point how do you ensure record maintenance?
__________________
[code]Code tags[/code] are essential for python code!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Getting Started

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap