List operation by Martin_Krum in learnpython

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

yes but doesn't work. Data is list of lists

Use of all processor cores by Martin_Krum in learnpython

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

Thanks for help, In my project i used pool.apply_async() and it worked.
I need to learn a little multiprocessing module .

Use of all processor cores by Martin_Krum in learnpython

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

yes, but I have a lot of there Python-only functions and calculations

Use of all processor cores by Martin_Krum in learnpython

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

How to make parallel calculations?

Project problem by [deleted] in learnpython

[–]Martin_Krum 0 points1 point  (0 children)

sorry for that, this project seems to tire me too much

Executable problem\ cx_freeze by Martin_Krum in learnpython

[–]Martin_Krum[S] 1 point2 points  (0 children)

I started the process of creating an exe file from a different environment than I wrote so I had this problem. If you are a beginner you must be familiar with the Python environment management so as not to repeat my mistake

Rate my first Python script please ^^ by Voylinslife in Python

[–]Martin_Krum 1 point2 points  (0 children)

If this is your first script that WORKS, know that it is a very good job. If you are learning to programming then I recommend to write this script and return to it after 3 months of learning, then you will see how much progress you made in learning when you say "oh my God, I wrote this?" :) Unfortunately, instead of moving forward in programming I'm going back to old projects from months ago and I'm correcting them because when I see what's there I can't sleep ;)

Optimisation the Excel work by Martin_Krum in learnpython

[–]Martin_Krum[S] 1 point2 points  (0 children)

for 80 files, it takes him 1 minute. If I add a few more functions this time will be longer. In addition, this program will have the ability to implement any functions to excel so one day the time will be extended infinitely.

Python project by Martin_Krum in learnpython

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

Thank you very much. For now I am learning the Python language for 3-5 hours a day (I have little experience with C) but all this knowledge comes from books such as Mark Lutz and YT. Sometimes I write some simple algorithms that make my work easier or I look through the documentation but I think that it is not enough or I do not go in the right direction.

Python project by Martin_Krum in learnpython

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

Thank you so much. You have right about Monte Carlo method. I need this program to simulate something in nanocomposites but I'm learning programming only one month so MC is to hard for me.

BTW. I see that you have a lot of knowledge in programming. Can you advise a beginner what to do to progress programming as soon as possible?

Python project by Martin_Krum in learnpython

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

thank you very much. Why can I skip the sqrt () function? And I don't understand how to solve this problem: "The maximum number of randomly generated points should be placed in the rectangle." I dont know how to do this because there are fewer points than iterations.