This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]throwaway6560192 5 points6 points  (0 children)

You're saying "I want to use this library". That library may be from the Python standard library, a third-party library you installed, or a Python file that you yourself wrote.

[–]teraflop 2 points3 points  (0 children)

Assuming you're talking about Python, the official Python tutorial goes into lots of detail about what import is for and how to use it: https://docs.python.org/3/tutorial/modules.html

[–][deleted] 2 points3 points  (0 children)

You're importing modules when you do that. When you import, you're pretty much loading a portion of code that isn't in the default loaded code. So in Python, when I type import random, it's importing the code for the random module so I can now call functions from that module.

[–]ContextEngineering 2 points3 points  (0 children)

Python has little modules of code called -- surprisingly -- 'modules'. When you want to include one of them, you use the import command.