Daily Deal: Pure Python Hacker Bundle
from the good-deals-on-cool-stuff dept
class DailyDeal(object): def __init__(self): self.Deal = "The Pure Python Hacker Bundle" self.Description = "Six courses with over 45 hours of instruction." self.Topics = ["Basics", "Websites & Apps", "Bash Scripting", "More"] self.OrigPrice = 454 self.SalePrice = 49 # That's $49, or 89% off the original price def BuyNow(self): print "Get it today from Techdirt Deals »" # We earn a portion of all sales from Techdirt Deals. # The products featured do not reflect endorsements by our editorial team.
Thank you for reading this Techdirt post. With so many things competing for everyone’s attention these days, we really appreciate you giving us your time. We work hard every day to put quality content out there for our community.
Techdirt is one of the few remaining truly independent media outlets. We do not have a giant corporation behind us, and we rely heavily on our community to support us, in an age when advertisers are increasingly uninterested in sponsoring small, independent sites — especially a site like ours that is unwilling to pull punches in its reporting and analysis.
While other websites have resorted to paywalls, registration requirements, and increasingly annoying/intrusive advertising, we have always kept Techdirt open and available to anyone. But in order to continue doing so, we need your support. We offer a variety of ways for our readers to support us, from direct donations to special subscriptions and cool merchandise — and every little bit helps. Thank you.
–The Techdirt Team
Filed Under: daily deal, online course, programming, python
Reader Comments
Subscribe: RSS
View by: Time | Thread
[ link to this | view in thread ]
[ link to this | view in thread ]
Re:
[ link to this | view in thread ]
Semicolons are optional in Python. Either your style is to always use them or never use them, not some mix-and-match. :-)
The preferred style is to not use them.
Also, you're not supposed to underline some of the strings. Either use underline for all string constants or no string constants. This doesn't read properly. :)
[ link to this | view in thread ]
Re:
[ link to this | view in thread ]
Re: significant white space in a language is bad
And yet, I have to agree that attaching significance to whitespace in the way that it does—and inconsistently, to boot—is one of the few instances of genuine brain-damage in the language.
[ link to this | view in thread ]
Re: Re:
Besides, it would not be a big problem to make the other strings to link to some page, thus making them the same style. :-)
[ link to this | view in thread ]
[ link to this | view in thread ]
Python 2 Or Python 3?
[ link to this | view in thread ]
Re: Re: significant white space in a language is bad
[ link to this | view in thread ]
[ link to this | view in thread ]