Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.startup.py
#1
Does anybody uses .startup.py and for what?

As .startup.py runs for interactive sessions, not when Python is running programs one don’t have to worry that it will interfere when one is doing 'real stuff'.

I personally use it to import the modules I use the most (datetime, math, os, sys, time, collections, itertools, functools, numpy, pandas) so they are conveniently available right away. It adds up some time when loading interactive session but not so much that it will annoy.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#2
(Nov-06-2019, 09:30 AM)perfringo Wrote: It adds up some time when loading interactive session but not so much that it will annoy.
You're clearly not importing matplotlib :)
Reply


Forum Jump:

User Panel Messages

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