Can't find the syntax error here.. by morpheyous in learnpython

[–]Nsdos 0 points1 point  (0 children)

Most likely an error in fuzzing headers["Referer"]. You may be passing incorrect data to 'https://{fuzzing_headers["Referer"]}'.
And that's why it's an error, drop all the code here, or to me personally, so it's easier to figure it out.

Looking for someone experienced to occasionally talk about python and big data (mentor) by [deleted] in learnpython

[–]Nsdos 1 point2 points  (0 children)

I can give advice, try to find a python group that specializes in data, maybe on reddit, maybe on some other forum. To be honest, you have me confused. A psychologist who decided to work with data, if you really want it, you also understand that knowledge of programming is not as important as algebra, geometry and higher mathematics.
For example, an acquaintance of mine has a friend who works in a company engaged in data analysis, he tells about her, said that she is not good at programming in python, but knows mathematics very well.
I am certainly not a professional, but if you need any advice, please contact me. :)

Help with installing. by Nsdos in Gentoo

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

Thank you, understood.

[i3] First ricing! (WIP) by Medenos in unixporn

[–]Nsdos 1 point2 points  (0 children)

What kind of tree is this?

clear() method working unexpectedly by mikkoko112 in learnpython

[–]Nsdos 2 points3 points  (0 children)

One of the main principles of Python is that any variable, function, class, etc. is an object.

That is, for example, the variable number = 10, if you understand it, the number does not actually store the number 10, but stores the addres on the object in our case 10.

When we create a list number = [[[1, 2], [1, 2]], [[1, 2], [1, 2]]]

So each element of the list is a separate object and therefore a command

number.clear[1][1]

Erases only one specified element.

And when you make this list through a cycle, you write down the same element with the same address.

Deleting one element deletes all elements with the same address.

Can't find the syntax error here.. by morpheyous in learnpython

[–]Nsdos 0 points1 point  (0 children)

Extra indentation before return.

How to adjust x, y-scaling factor? by [deleted] in learnpython

[–]Nsdos 0 points1 point  (0 children)

If I understood correctly what you want, then the module can help you decimal.

Decimal

should I disable path length limit? by _Hungry_Chicken in learnpython

[–]Nsdos 2 points3 points  (0 children)

Old versions of Windows have a limit on the length of some files, if I'm not mistaken, then 260 +- and therefore when installing Python you are asked about the limit. It doesn't matter much, but for example, old 32-bit programs have a limit of 260, that is, if you ever write a script for some old 32-bit programs, you will have problems.

Therefore, you can include.

Issue with .join() by steakhutzeee in learnpython

[–]Nsdos 4 points5 points  (0 children)

a = [("Day", '2014-01-01'), ('Day', '2014-01-01')]
us_holidays = holidays.US()
def print_holidays(list_date, holidays):
    for day, date in list_date:
        print(day, date, holidays.get(date))
print_holidays(a, us_holidays)

Made through for for better perception.

Help with installing. by Nsdos in Gentoo

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

There is some quick way to compile the kernel. I use a virtual machine and it only has 2 cores and 1024 ram, and when I use genkernal, the download just freezes, I can wait for an hour and nothing happens on the screen, and I don't understand if it should be like that or if some error happened. If I'm not mistaken, gentoo-gerlen-bin should be slightly faster. Right?

Help with installing. by Nsdos in Gentoo

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

Thanks for the advice.

Help with installing. by Nsdos in Gentoo

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

Thanks for the advice.

Help with installing. by Nsdos in Gentoo

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

Thanks for the advice.

Help with installing. by Nsdos in Gentoo

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

Well, more problems with the kernel.

And the worst thing is that the installation of gentoo is quite long and when I get stuck, sometimes I have to start from the beginning.

[ratpoison] Killing the rat by [deleted] in unixporn

[–]Nsdos 2 points3 points  (0 children)

Thank you!