Python Forum
Store a product/item in a inventory program
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Store a product/item in a inventory program
#1
Hi!

I'm a new programmer and new to the forum :) and right now I am working on a very simple cash register program. I was wondering if anyone has got any tips on how to store different types of products from the store in the program.
I want there to also be an option in the program to make a new item.


Is it easiest to store them in a list , or should each item have their own variable?
If the second option is preferable, is there a way to customize a variable as the user of the program when adding a new product?

Sorry if I'm being unclear, just looking for a guideline! :)

or maybe if there already is a similar thread you can just direct me there and I'll delete this one!
Reply


Messages In This Thread
Store a product/item in a inventory program - by viktoria_linn - Jul-02-2019, 08:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Showing trendline formula in a table per product Carlossxx 0 655 May-03-2023, 08:34 AM
Last Post: Carlossxx
  Advice for Inventory System Extra 0 1,318 Feb-18-2022, 09:25 PM
Last Post: Extra
  Remove an item from a list contained in another item in python CompleteNewb 19 5,690 Nov-11-2021, 06:43 AM
Last Post: Gribouillis
  How to add product details in exe generated by pyinstaller arex786 1 8,440 Oct-10-2021, 11:00 AM
Last Post: Sran012
  Largest product in a grid (projecteuler problem11) tragical 1 2,282 Sep-14-2020, 01:03 PM
Last Post: Gribouillis
  Communicating Roblox's Inventory API with python? 4TH4RV 1 2,068 Jun-22-2020, 10:30 AM
Last Post: snippsat
  Blending calculator from final product xerxes106 0 1,611 Dec-05-2019, 10:32 AM
Last Post: xerxes106
  Make dual vector dot-product more efficient technossomy 3 2,528 Nov-28-2019, 09:27 PM
Last Post: Gribouillis
  Does PrettyTable store outside of program? Mark17 5 2,690 Oct-19-2019, 02:41 PM
Last Post: Mark17
  What area unit the opposite ways in which to understand if an inventory in Python is Smhbugra 2 2,468 May-27-2019, 07:55 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020