TechQA.

How do I set the API cache directory apicache-py3 and throttle.ctrl for pywikibot?

60 views Asked by Fanta At 2023-07-14T12:18:50+00:00 14 July 2023 at 12:18 2025-12-21T10:06:50+00:00

By default pywikibot makes a cache directory apicache-py3 and a file throttle.ctrl in the current directory, from where I run my Python script.

I would like pywikibot to put those elsewhere, e.g. in ../data. How can I direct pywikibot, from my Python script, to do that?

pywikibot
Original Q&A
0

There are 0 answers

Related Questions in PYWIKIBOT

  • Code works when run through powershell but not when run through IDE
  • Configuring Pywikibot to use a wikimedia install's bot
  • Creating claims of "local media" to "items" through api interface
  • Edits made by Pywikibot edits not showing up in Recent Changes
  • Matching specific Geonames IDs with Wikidata IDs using Pywikibot
  • Pywikibot: _lzma module missing
  • How do I set the API cache directory apicache-py3 and throttle.ctrl for pywikibot?
  • how to work with custom wikibase using pywikibot
  • How are you supposed to do admin/sysop actions with Pywikibot 8?
  • Finding former bot edits for a Wikipedia page using PyWikiBot
  • Trying to log pywikibot into mediawiki on localhost
  • Retrieving all living people from wikipedia/wikidata
  • Getting auto value for some Infobox attributes
  • Create a page using Pywikibot
  • Script returns No user is logged in on site in Pywikibot 7.2.0

Popular Questions

  • How do I undo the most recent local commits in Git?
  • How can I remove a specific item from an array in JavaScript?
  • How do I delete a Git branch locally and remotely?
  • Find all files containing a specific text (string) on Linux?
  • How do I revert a Git repository to a previous commit?
  • How do I create an HTML button that acts like a link?
  • How do I check out a remote Git branch?
  • How do I force "git pull" to overwrite local files?
  • How do I list all files of a directory?
  • How to check whether a string contains a substring in JavaScript?
  • How do I redirect to another webpage?
  • How can I iterate over rows in a Pandas DataFrame?
  • How do I convert a String to an int in Java?
  • Does Python have a string 'contains' substring method?
  • How do I check if a string contains a specific word?

Popular Tags

javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json

Trending Questions

  • UIImageView Frame Doesn't Reflect Constraints
  • Is it possible to use adb commands to click on a view by finding its ID?
  • How to create a new web character symbol recognizable by html/javascript?
  • Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
  • Heap Gives Page Fault
  • Connect ffmpeg to Visual Studio 2008
  • Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
  • How to avoid default initialization of objects in std::vector?
  • second argument of the command line arguments in a format other than char** argv or char* argv[]
  • How to improve efficiency of algorithm which generates next lexicographic permutation?
  • Navigating to the another actvity app getting crash in android
  • How to read the particular message format in android and store in sqlite database?
  • Resetting inventory status after order is cancelled
  • Efficiently compute powers of X in SSE/AVX
  • Insert into an external database using ajax and php : POST 500 (Internal Server Error)
  • Privacy
  • Terms
  • Cookies
  • Homegardensmart
  • Math
  • Aftereffectstemplates