Skip to content

Creating directories with OS module

Hi there I’m trying to create a small tool that will create child directory’s within the Root directory Root Dir(python) And child Dir(DS, WEB, Flask, Learn) stuff like that At starting I have done it statically Here is the Code Then I decided to do it dynamically By using two lists just like befo…

Is there any way to increase pythons infinity limit?

I am doing https://projecteuler.net/problem=57 where I get the numerator and the denominator and if the numerator is longer than the denominator I add one to the total. However, at one point (above n=805) the numerator and denominator get so large, that python converts them to infinity. Here is my code if you…

How to Install Numpy in PyPy on Windows

I want to install Numpy on PyPy on windows but I cannot. Here is my errors: Answer You don’t have any compiler on your system, so PyPy can’t compile the packages. notice the line error: Microsoft Visual C++ 14.0 is required. Get it with “Build Tools for Visual Studio”: https://visualst…

Function plotting with matplotlib

I am trying to model an equation that depends on T and parameters xi, mu, sig. I have inferred parameters and spread(standard deviation) of those parameters for different durations (1h, 3h, etc). In the example code the parameters are for 1h duration. I need to create a forloop to create a cloud of zp with th…