#πŸ”’ A portable python installation for both Windows and Mac

19 messages Β· Page 1 of 1 (latest)

visual fog
#

Hi all, I'm working on developing a club at my school, and we want to let the students run python on the devices we provide (which get wiped every use). The solution I've came up with is the use USBs as a portable environment for students to code in, but some students want to take it home to use Mac as well, thus the cross-platform.
If I were to do that, would I install both installations onto the USB, or is there a universal one I don't know about? Thank you!

wintry anchorBOT
#

@visual fog

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

visual fog
#

I also saw something online called pyinstaller. Is this the fix to what I am looking for?

whole zodiac
#

you want to keep interpreter and deps in the usb drive?

#

then there may not have a univeral solution for win and mac

#

usually we use a package manager like uv to manage dependancies, and on each platform, package manager will install deps for us

stuck jolt
#

but, can they just install python on their home machines?

#

or is that a little out of expectations?

stuck jolt
marsh otter
#

If you contact your network administrator at the school they might be able to help you with keeping python installed on machines

#

Probably whatever IDE youre using as well

stuck jolt
#

I would assume they'll just use IDLE as it comes with python

acoustic monolith
visual fog
#

alright thanks everyone for your responses!

#

I'll check these out

#

!close

wintry anchorBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.