jasonb,

I took the day off to either bask in the glory of SF Niners winning, or just sit in my basement* tinkering away at code.

So, I'm use python's code module to personalize the python default REPL because why not??

  • I live in a ranch house it's just another bedroom dubbed my office - right now it's a basement!!

ambv,
@ambv@mastodon.social avatar

@jasonb you probably already know this but you can use PYTHONSTARTUP to import and execute stuff, and set sys.ps1 and sys.ps2.

jasonb,

@ambv oh I know and have. But I'm now trying to push it and figured I'd see what I could do with the interpreter via that module.

I'll probably end up sticking with .PYTHONSTARTUP and continue to add to it.

It's just I'm also trying to figure out which modules of my own to create and import.

ambv,
@ambv@mastodon.social avatar

@jasonb I don't have much there but it's been serving me well for 10+ years now.

https://github.com/ambv/.dot_files/blob/master/pythonstartup

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • cisconetworking
  • provamag3
  • Leos
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • anitta
  • lostlight
  • All magazines