473,594 Members | 2,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Del's "except"ion al PEP Rejection

Del's "except"ion al PEP Rejection

Ladieees and Gentilmen and Pyth-O-neers of all ages.
Step right up.
Don't be shy.
Come one come all.
Be the first on your block
TO GROK
*THE* one *THE* only
Exception you won't find
any where but here!
The Exception that's Exceptional!

It's the "elif from lamdba except" Exception.
(The only Exception that don't
need an "except" clause,
Because it *IS* one.)

It's the story of Del, an intermitantly deaf,
intermitantly nauseated importation executive
with Print Global Inc.

Del's a company man,
and the 150 year old, family owned
company needs someone
to lead them all into the 21'st Century.

Having over heard...

( It's amazing how some people who seem
deaf at times can hear things
from what
was supposed to be a
closed door meeting between )

....the VP of Statis
talking down to
the 85 year old Chief of Data Processing ...

( History Note--that's what they
used to call them you know --
worked his way up from crank turner
-- but I digress )
....
what was I saying oh yeah

Del over heard the VP telling the old guy,

"Hell, my 12 year kid stuck *some* kinda snake,
wait it was a python,
yeah he stuck a python in
an old Apple II
that was in the attic a week ago
Sunday and started typeing like
mad and by Thursday he was
telling me that he had gone
GLOBAL and wouldn't
need his allowance anymore.

No it's time to upgrade.
Shut down the ENIAC."

Cut to the "ever butt kissing" Del, half deaf, sitting
in Python school.
Well, sorta sitting 'cuz' Del's got
bowel problems and he needs another pass from the
Instructor to go to the lav.

Sitting on the pot, like a splash,
a thought hits him.
( gosh I hope it was just a thought )

Ya see, Dan didn't just volenteer for this mission,
he was holding back from the company.
He new a litte "c" code. Just enough to be dangerous,
and it made him sick to his stomach.

But this Python Language!
He truely understood and liked what he was learing.

Python was indented so you could read it like
a self respecting human being.

It was impressive to him, the way you could write your
code in the interpreter, and did't have to declare
anything or agonize while you waited to see if it worked.

He liked the way "elif" statements made case switches
easier to code and understand.

How "from" this "import" that made code re-usable.

How "lamda" could define a function in a function
without having to define a function for a function.

How exceptions could be used to make programs that
worked the first time.

He loved the "while loops" and the list comprehensions
that had little "for loops" and "if"s in them.

He like how any one on the planet,
with enough money to
maintain a computer and an internet connection,
could just be so very proud that they had their
PEP rejected
by the most intelligent, helpful,
thoughtful, and kindest people on Earth.

Sitting right there on the throne of inspiration
he came up with the only
exception that uses all the keywords,
types all in one color in the editor,
and makes sense to only him,
so he sent in a PEP to be rejected...

wait for it

wait for it

Bam!
The elif from lambda except: statment

elif from lambda except:
while del is not def:
[import exec for print global]
try:
and continue or
else:
return break pass in class
finally:
yeild if assert

*PYTHON*
*THE*WAY
*GUIDO*
*INDENTED*
*IT*TO*BE*

By Raymond St. Marie (Ra****@aol.com -- don't laugh,
it's been free since I lost my job in January)
Jul 18 '05 #1
0 1722

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
440
by: Raymond Arthur St. Marie II of III | last post by:
Ladieees and Gentilmen and Pyth-O-neers of all ages. Step right up. Don't be shy. Come one come all. Be the first on your block TO GROK *THE* one *THE* only Exception you won't find any where but here! The Exception that's Exceptional!
0
7880
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8255
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8010
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6665
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5413
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.