On Sun, Jan 5, 2020 at 7:19 PM James Lu <jam...@gmail.com> wrote: > > I use macOS, and using Python is very confusing. > > - Apple's bundled Python 2.7. > - Anaconda (Python scientific stack package manager) Python and conda. > - Homebrew (3rd party package manager for macOS) Python and pip. > I also believe that there is a PSF Python installer, but I am not sure.
Use Homebrew. It's a good package manager for the Mac and it gets you away from Apple's ancient version of Python. > Python, Be Bold captures the spirit of it should not be a shame to have the > interpreter/VM installed on end-users machines. It also facilitates the > work of other python devs. You installed it because of one Python program, > other programs benefit from it. It also proposes enhancements to the VM to > better facilitate that. I still don't understand this concept of it "not being a shame" to have Python installed. How is that different from the way it now is? You install Python. Now Python is installed. How does the VM need to be enhanced to change this? Other than *not* bundling Python with your application? > One big reason the web is a popular platform today among the general public > is because it offers strong sandboxing, > and privelges are granted per-site, opt out by default. > Another reason the web is popular is because it loads quickly. > I suggest python apps feature sandboxing with a way to opt-in to special > permissions. > Perhaps, like the web, it could have a uniform distribution mechanism. I > suggest DNS. Eh? > I am suggesting Python compete with the web by implementing strong language > sandboxing. > I imagine a browser that can load regular web and "PyWeb." > > A web browser is both a kernel and a VM for the web. The kernel interfaces > with the underlying OS: Linux, windows, MacOS. > I do not see "PyWeb" as a kernel, but I do see it as a VM. PyWeb would merely > provide a secure gatekeeper to the underlying operating system. > Like the Mac App Store, PyWeb could give each app its own sandboxed file > system. > This would also help introduce young people to Python. Like how the DevTools > console has taught many kids JavaScript. > I imagine being able to run Tensorflow or Calibre inside a Python "browser." You can already run Python code in a web environment. There are a number of web sites that allow this, including pythontutor.com (which also does detailed analysis and visualization, so it's not JUST Python-in-the-web), and if you want to, you can compile PyPy to Asm.js and run the entire interpreter right there in the browser. But what's the point? How does that make it easier to do anything? You just have to live within the restrictions of either a browser tab, or the things you can do remotely. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/EXOVTEYY4TOBH4MGJ7C6ZOOEOI2TASQ7/ Code of Conduct: http://python.org/psf/codeofconduct/