Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modules
#3
I was just curious. Like on the learning project I been working on, I created a database module that connects and does the queries. One line of code verses 15 lines. The sqlite3 version checks to see if it exist or not. It's less code I'm having to look/scroll through within the main code. It's not really that big of a deal.
Just wondering what the common practice is.
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
Modules - by menator01 - Apr-27-2020, 10:27 PM
RE: Modules - by Larz60+ - Apr-27-2020, 11:10 PM
RE: Modules - by menator01 - Apr-27-2020, 11:26 PM
RE: Modules - by deanhystad - Apr-28-2020, 01:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 bmohanraj91 6 8,575 May-25-2017, 08:15 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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