TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #61 · 2 апр.

Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления. from __future__ import division Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда. Например: int/int => int int/float => float В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float. Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float. 12/float(5) => float Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//". >>> 3/2 1.5 >>> 3//2 1 То есть теперь деление int на int даёт float если результат не целое число. В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами. Данный переход описан в PEP238. #pep#2to3#basic

Резултати

Пронајдени 7 слични објави

Пребарај: #prose

当前筛选 #prose清除筛选
Pensive|

@PensivePost · Post #5765 · 26.05.2022 г., 07:37

*No Gold , But A Rich Heart* Neither I've got gold nor Apple Products , my bad I couldn't afford , But destiny had planned something different , wants to send this scholar abroad ; Neither I've got smart watch nor new sneakers , If you underestimate my power , by challenging me , trust me , I'm the game changer ; Never got a chance to enter KFC or Starbucks , Still , everyday , on my door , a new glory knocks ; Till today , I use the same pencil box , brought by me seven years back , But still my pen never stops , my hand powerful enough to compete with time , fastest on the poetry track ; Never got a wireless headphone , still my ears are sharp , Topper of the batch , keen sense of listening , can detect any trap ; Not having crown of royalty , still my brain working in light speed , Curiousity to gain knowledge forever , pen and paper for poems , is all I need ; Maybe not a millionaire , but rich from my heart's core , Tranquil waves worth more than a billion , with me standing on the sea shore ... #review #prose

Pensive|

@PensivePost · Post #5761 · 25.05.2022 г., 13:15

Even now I am fighting with machines. And things were going to get easier. Automation is the God that will free itself, and God only knows what will happen to the rest of us. I don’t think it will be a soft landing. The best hope is lobotomisation, and I hope I will be the first one in line... Unless... Do you want to fight it? Are you nuts? Because that will go well, won't it. The whole world collapsing on itself. The giant cluster-fuck of nuclear weapons, quantum computers, and twitter-hate. That's the dream, isn't it? We emerge from the bunkers, the smart few who distrusted everything and everyone. After years of eating tinned baked beans, we come up to the earth's sandy crust. We can start afresh. A brand new page. Let me make the first toast with our radiated water filled with rat shit. Thinking about it, it may actually happen but in reverse order. I don't see any winners if that's the outcome at the end of all this. It's impossible to not think about the world ending. Thinking about surviving it is worse. It disconnects from the present in all forms. I can see the appeal of already living in the imaginary future. We've done it for centuries, haven't we? The body is sinful, so there is a heaven where the soul can be free of the impurity of being. Life-deniers. Can't deal with life as it is, so something beyond our senses had to be deviously concocted in the minds of the holy men. There is no life now, there is the afterlife as the only true life worth thinking about... But, anyway, not today, brain. Not... To... Day... Today is not the day. Today I have convinced myself that things aren’t that bad. And even if they are, it won’t matter to me at all. Why should it? I can’t do anything about it. And who would want to? At least we can fantasise that we could own the world if it all went wrong because the chances are most of us won’t live long enough to even test that theory. By then we'll be gone, pulverised by the crushing streamlined processes of the bureaucratic unfreedom. And we bitch about it all the time too. I mean, I do. Most of the people participating in it seem to as well. Because what’s the alternative? What else would you have done? Isn’t that the reason why we vote for some fuckers to make the decisions about what’s best for us anyway? This is as good as it gets. So, you and me… we better get over ourselves. I am working on it. I am working on it as I write this. I will press the submit button again and see if God has changed their mind. #review#poetry#prose

Pensive|

@PensivePost · Post #5753 · 24.05.2022 г., 15:04

I find the lost solitary star more refulgent than the easy close glint ones. It's easy to see things for what they closely appear to be, but I crave to dig behind the skin. I crave to dance inside the rooms behind your voice. So if you want to show me your world, show me where the lights are dimmer. Show me your twilit. Dawn is too clear not to feel. #review#amtupu_#prose

Pensive|

@PensivePost · Post #4753 · 17.01.2021 г., 14:31

Honesty for one, behold my love. I'll come in your dreams, For every night that I'm gone. Honesty for one, Behold my Love. #review#noob#prose Author's note: This might not make sense because: There's a song that I only remember by the deep voice of the singer, the melody and the vague-not-so-understood lyrics. These are the words that match that voice and my feelings. And obviously not the exact lyrics.

Pensive|

@PensivePost · Post #5000 · 14.03.2021 г., 10:00

#review#prose#Angela UNASHAMED My friends always laugh at me each time senior faith shouts and Chase me away, warning me never to come anywhere close to her. They always warn me to stop listening to everything my mind tells me, else I will get into trouble, but I never listened to them. Senior faith was a brainy personnel, she was good at everything, an exceptional being in the whole school. One day I told my friends that I would make her my best friend, but they laughed hilariously mimicking me, well they never imagined that they would ever say a word to her, and here I am saying that I would make her my best friend. Each time i greet her she would reply harshly cause she felt I wasn't her type neither was I in the same level with her Not minding her attitude, I kept on greeting her lovingly, then one day she called me and said " why are you stubborn" was I really stubborn " I like your ways" I was extremely scared, not knowing how she will react "oh that's good, do you want to be like me" I took a deep breath before replying " yes, sure, I want to be like you" there was this sweet smile she gave, that melted my heart. "No problem dear, I'm in ss3b, come see me later after dinning I would be waiting for you" My missing rib has been found, I knew i wasn't complete, but now am over complete. She isn't who people thinks she is, if only I covered myself in fear and doubt I wouldn't have gotten this opportunity, just like the woman with the issue of blood , despite her condition and the fact that she shouldn't be seen among the people she struggled hard until she touched him. I was unashamed when I approached that senior The woman with the issue of blood was Unashamed cause she knew what she wanted.

Журнал Лиterraтура

@literratura · Post #116 · 24.11.2020 г., 14:21

Журнал Лиterraтура (literratura.org) представляет вашему вниманию 4 выпуск программы "Проверено Лиterraтурой". В гостях Елена Сафронова - писатель, литературный критик. Ведущая программы - Анна Арканина. https://youtu.be/ihBeYaZbK9k #лиterraтура, #literratura, #poetry, #poems, #prose, #stories, #literature, #reading, #литературныйжурнал, #новыйномер, #стихи, #проза, #современнаяпроза, #драматургия, #нон_фикшн, #критика, #non_fiction, #criticism, #dramaturgy, #чтение, #истории, #поэзия, #конкурс, #премия