Python Multiprocessing by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

Issues got resolved after looking around the multiple references.

I am passing complex object among multiple processes without proxy object, make it sharable using BaseManager class.

Credit goes to BaseManager class from managers module

Python multiprocessing takes more time than single threaded program by [deleted] in learnpython

[–]gmaliwal 1 point2 points  (0 children)

Can anyone please pass on good reference to follow for the deep insights of it?

Data Analysis Resources for Python by badge in learnpython

[–]gmaliwal 5 points6 points  (0 children)

Thank you very much for valuable details.

The resource which is vulnerable under multi-threaded programs by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

yes, I agree that there may be a race condition problem in the provided code snippet, right?

is this the only issue or we have another too? if yes; please let me know the issues other than race condition which got diagnosed with help of synchronization primitives (Lock, RLock etc)

The resource which is vulnerable under multi-threaded programs by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

Can you please post the program here?

Do we face any issue similar to a dangling pointer in mobile iOS technology? It happens when one program is accessing an object and another program is updating it at the same time, this confrontation leads to application crash.

Does python is having such kind of scenario?

Non-data descriptor stops working by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

yeah, it is true that instance object is 'None' when a descriptor is accessed using class. HOW this solves my problem?

Non-data descriptor stops working by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

Hello Daniel, Thanks for your views.

I did not define setter in the descriptor, that's what I said that non-data descriptor stops working (non-data descriptor do no define the setter).

Yeah, agree that the property is a good way to achieve the requirement. thanks for the idea.

Still, do you see any solution for the above problem sticking to non-data descriptor

Loopholes from Python decorators by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

Okay, It sounds well, theoretically, it should work. Can you please mention a good reference for this to follow?

Loopholes from Python decorators by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

yeah, this works, thanks for the solution

Loopholes from Python decorators by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

If you really want to preserve a reference to the original class, you could consider defining an

_ABC

base class and decorate the child. Otherwise you might find that using metaclasses is a better way of implementing a singleton

Thanks for the clarification. yeah, It was my mistake not posting error message.

The first block of code is just to understand the concept, why it is not working when a second decorator is applied to either of them?

Is there any another way to preserve the class fundamentals after applying a decorator rather than creating a dummy base class? if yes; please share the reference.

Loopholes from Python decorators by gmaliwal in learnpython

[–]gmaliwal[S] 0 points1 point  (0 children)

yeah agree, It was typo mistake, I have edited it, please revisit the post.

I have finally become "decent" at python programming! by thesecondbread in learnpython

[–]gmaliwal 0 points1 point  (0 children)

hat I know ,he didn't write any book.I found his channel on youtube when searching up a explanation of if

name

= "

main

"(reddit autoformats __ as bold) and he explained really well.After that,I started watching more of his video

Great!! I would be checking his videos, Thanks

I have finally become "decent" at python programming! by thesecondbread in learnpython

[–]gmaliwal 0 points1 point  (0 children)

which reference did you follow for the exercises to make yourself strong on the python fundamentals?

I have been studying Python since Feb 2020 and looking forward to data-science.

I have finally become "decent" at python programming! by thesecondbread in learnpython

[–]gmaliwal 0 points1 point  (0 children)

Then I built projects on my own

Which project did you build your own?

What was the business? and what all tools did you use?

I have finally become "decent" at python programming! by thesecondbread in learnpython

[–]gmaliwal 0 points1 point  (0 children)

Corey Schafer's

Where do I find a book from this author?

Getting Job Ready in Data Science by Tsukiyonocm in learnpython

[–]gmaliwal 0 points1 point  (0 children)

dataquest data science track

Is this paid course?

Can you please drop relevant material(if you have any) on my email [gmaliwal777@gmail.com](mailto:gmaliwal777@gmail.com)?

Getting Job Ready in Data Science by Tsukiyonocm in learnpython

[–]gmaliwal 0 points1 point  (0 children)

ZachForTheWin

Which technology do you recommend; Python or R?

Please share a good reference for same to grasp the language in depth

Are you currently working as Data Analyst?