Unable to install Flask-Mongoengine

2019-12-15 Thread Test Bot
Hi Guys, I am unable to install *Flask-Mongoengine* using pip. Here are my specifications 1. *OS* => OSX 10.14.6 2. *Python* => Python 3.8.0 (Working in a virtualenv) 3. *Dependency Manager* => pip(19.3.1), setuptools(42.0.2) 3. *Flask-Mongoengine* => flask-mongoengine==0.9.5 I am inside my virt

Re: Unable to install Flask-Mongoengine

2019-12-15 Thread tommy yama
how about pip3? On Sun, Dec 15, 2019 at 5:16 PM Test Bot wrote: > Hi Guys, > > I am unable to install *Flask-Mongoengine* using pip. Here are my > specifications > > 1. *OS* => OSX 10.14.6 > 2. *Python* => Python 3.8.0 (Working in a virtualenv) > 3. *Dependency Manager* => pip(19.3.1), setuptool

Re: Unable to install Flask-Mongoengine

2019-12-15 Thread Test Bot
No help with using pip3 On Sun, Dec 15, 2019 at 2:49 PM tommy yama wrote: > how about pip3? > > On Sun, Dec 15, 2019 at 5:16 PM Test Bot wrote: > >> Hi Guys, >> >> I am unable to install *Flask-Mongoengine* using pip. Here are my >> specifications >> >> 1. *OS* => OSX 10.14.6 >> 2. *Python* =>

Re: Python3 - How do I import a class from another file

2019-12-15 Thread musbur
On Thu, 12 Dec 2019 11:33:25 + Rhodri James wrote: > On 11/12/2019 21:32, mus...@posteo.org wrote: > > Plain and simple: When the refcount reaches zero. > You are assuming that "when" implies "immediately on the occurence." I'm not implying that. It's the dictionary definition of the word

Re: Python3 - How do I import a class from another file

2019-12-15 Thread Chris Angelico
On Sun, Dec 15, 2019 at 10:01 PM wrote: > > On Thu, 12 Dec 2019 11:33:25 + > Rhodri James wrote: > > > On 11/12/2019 21:32, mus...@posteo.org wrote: > > > Plain and simple: When the refcount reaches zero. > > > You are assuming that "when" implies "immediately on the occurence." > > I'm not i

Server side Blazor-like framework in Python?

2019-12-15 Thread hchrholm
I've been doing a lot of development with server side Blazor on .NET recently, and I think it's a very interesting UI model (https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.1). What would it take to make something similar in Python? I guess a lot of relevant

Re: Server side Blazor-like framework in Python?

2019-12-15 Thread Chris Angelico
On Sun, Dec 15, 2019 at 11:11 PM wrote: > > I've been doing a lot of development with server side Blazor on .NET > recently, and I think it's a very interesting UI model > (https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.1). > What would it take to make some

Re: Randomizing Strings In A Microservices World

2019-12-15 Thread Tim Daneliuk
On 12/10/19 12:37 PM, Chris Angelico wrote: > On Wed, Dec 11, 2019 at 5:01 AM Tim Daneliuk wrote: >> >> On 12/10/19 10:36 AM, Peter Pearson wrote: >>> Just to be sure: you *are* aware that the "Birthday Paradox" says >>> that if you pick your 10-digit strings truly randomly, you'll probably >>> ge

Re: Server side Blazor-like framework in Python?

2019-12-15 Thread Test Bot
+1 Though the implementation might be good from an exercise perspective. But there is a general philosophy in Software Engineering namely Separation of Concern. Python as a language is not concerned about the "Front-End" side of things since it is not meant for that. Though i am a very devote Py

Re: Server side Blazor-like framework in Python?

2019-12-15 Thread hchrholm
Separation of concerns is not a question about language, but how your code is organised. Python is a general-purpose language and isn't restricted to certain programming domains. The restrictions are purely practical, such as performance and the availability of the runtime on various platforms.

Re: Server side Blazor-like framework in Python?

2019-12-15 Thread hchrholm
Not to mention Flask and Django, both popular tools for making front ends, but the question wasn't about which personal opinions people have about this or that. I was wondering how one could make something similar to server side Blazor in Python. In particular, whether there are libraries that c

Re: Unable to install Flask-Mongoengine

2019-12-15 Thread Ned Deily
On 2019-12-15 03:13, Test Bot wrote: I am unable to install *Flask-Mongoengine* using pip. Here are my specifications 1. *OS* => OSX 10.14.6 2. *Python* => Python 3.8.0 (Working in a virtualenv) 3. *Dependency Manager* => pip(19.3.1), setuptools(42.0.2) 3. *Flask-Mongoengine* => flask-mongoengi

Re: Setting Pythonpath programmatic

2019-12-15 Thread dieter
Prasad Rajassekaran writes: > I would want to set python path programmatic in my project. So that, all > other directories files can be imported without any issues. You can extend "sys.path" programmatically to control where Python looks for top level packages/modules (as you apparently have alr

Re: Pickle caching objects?

2019-12-15 Thread dieter
José María Mateos writes: > I just asked this question on the IRC channel but didn't manage to get > a response, though some people replied with suggestions that expanded > this question a bit. > > I have a program that has to read some pickle files, perform some > operations on them, and then ret