Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Modules
#1
How can I find what arguments to pass to imported modules?
Reply
#2
First of all, you don't pass arguments to modules. Probably you mean what functions and classes you can use from imported module and what arguments to pass when using the said functions or class from the imported module. Read the docs.
ndc85430 likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
Buran: Please explain "Read the docs"
Reply
#4
"read the docs" means read the documentation for the module you are using. You cannot program if you don't know your tools.
Reply
#5
(Mar-10-2023, 03:32 PM)TheBunyip Wrote: Buran: Please explain "Read the docs"
It literally means "read the documentation"
Starting with the docs for modules in python standard library. Of course, the language documentation as a whole is way more extensive
Then if you are using some third-party module (e.g. installed from PyPI) - they [hopefully] provide good documentation as well
In any case you can also look at the source code.

If something is unclear you should elaborate further
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Ways to Import Modules RockBlok 2 515 Dec-11-2023, 04:29 PM
Last Post: deanhystad
  a bunch of modules to import Skaperen 2 883 Nov-07-2022, 07:33 PM
Last Post: Gribouillis
  Did interpreter 'compile' all import modules(from thrid-party) jamesyuan 10 4,275 Oct-19-2020, 10:49 AM
Last Post: jamesyuan
  Import all items from all modules from package DD169 3 2,084 Jan-25-2020, 12:33 PM
Last Post: buran
  Import Python Modules zowhair 4 2,796 Jun-27-2019, 06:30 AM
Last Post: Gribouillis
  [Jupyter] import notebooks as modules Sirduke1 1 2,657 Aug-20-2018, 08:15 PM
Last Post: perfringo
  Python3: problem to import personals modules PyForIO 2 3,479 Mar-04-2018, 12:42 PM
Last Post: PyForIO
  a module to import modules Skaperen 4 3,877 Aug-05-2017, 09:41 PM
Last Post: metulburr
  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 bmohanraj91 6 8,425 May-25-2017, 08:15 AM
Last Post: wavic
  python How to import All modules from namespace harun2525 1 8,361 May-20-2017, 10:10 AM
Last Post: buran

Forum Jump:

User Panel Messages

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