[ale] Get mad at this
Barlow, Jim D
jim.d.barlow at intel.com
Thu Feb 6 23:39:56 EST 2014
While I am not mad, only slightly perturbed, it is because the print command used is not Python 3 (3000) print function compatible in Syntax.
print "Hello, World!";
SHOULD BE
print("Hello World!") # which works in modern 2.7x and 3.x Python
The extraneous commented brackets and semicolons are vexing as well. Is that what you meant, Chris?
- Jim
Oh for Pete's sake. I use 3 spaces.
(heh)
-- CHS
On Thu, Feb 6, 2014 at 11:50 AM, Rev. Johnny Healey <rev.null at gmail.com<mailto:rev.null at gmail.com>> wrote:
I'm mad because it uses 2 spaces for indentation.
On Feb 6, 2014 11:09 AM, "Lightner, Jeff" <JLightner at water.com<mailto:JLightner at water.com>> wrote:
And you're mad at this because?
It doesn't comment out #?
From: ale-bounces at ale.org<mailto:ale-bounces at ale.org> [mailto:ale-bounces at ale.org<mailto:ale-bounces at ale.org>] On Behalf Of Jerald Sheets
Sent: Thursday, February 06, 2014 10:37 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Get mad at this
I'm always mad at Python.
-j
On Feb 5, 2014, at 4:57 PM, Chris Fowler <cfowler at outpostsentinel.com<mailto:cfowler at outpostsentinel.com>> wrote:
You guys want to get mad? Get mad at this:
#! /usr/bin/python
import sys;
def main(): #{
print "Hello, World!";
return 0;
#}
if __name__ == "__main__":
sys.exit(main());
Chris
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Athena(r), Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer
How and Why I Should Support Bottled Water!
Do not relinquish your right to choose bottled water as a healthy alternative to beverages that contain sugar, calories, etc. Your support of bottled water will make a difference! Your signatures count! Go to http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters and sign a petition to support your right to always choose bottled water. Help fight federal and state issues, such as bottle deposits (or taxes) and organizations that want to ban the sale of bottled water. Support community curbside recycling programs. Support bottled water as a healthy way to maintain proper hydration. Our goal is 50,000 signatures. Share this petition with your friends and family today!
---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140207/be3d1ad2/attachment-0001.html>
More information about the Ale
mailing list