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.

Filed Under: daily deal, online course, programming, python


Reader Comments

Subscribe: RSS

View by: Time | Thread


  • identicon
    Rich, 20 Apr 2015 @ 12:54pm

    Python: over a 1/2 century of experience that significant white space in a language is bad, thrown out the window.

    reply to this | link to this | view in chronology ]

    • identicon
      Lawrence D’Oliveiro, 20 Apr 2015 @ 3:33pm

      Re: significant white space in a language is bad

      I think Python is a neat language, with many nice features that make it fun to use. It is currently my first resort for new programming projects.

      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.

      reply to this | link to this | view in chronology ]

      • icon
        John Fenderson (profile), 21 Apr 2015 @ 7:43am

        Re: Re: significant white space in a language is bad

        I agree on all counts. Python's a great language. It's not my default go-to language, but it's in my top 5 favorites. However, that whitespace thing is horrible.

        reply to this | link to this | view in chronology ]

  • icon
    Lisa Westveld (profile), 20 Apr 2015 @ 1:06pm

    You're missing some semi-colons so it doesn't compute. Sorry. :-)

    reply to this | link to this | view in chronology ]

  • icon
    Lisa Westveld (profile), 20 Apr 2015 @ 2:19pm

    They fixed it. :-)
    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. :)

    reply to this | link to this | view in chronology ]

    • icon
      Leigh Beadon (profile), 20 Apr 2015 @ 2:34pm

      Re:

      The visible linking of a couple strings is a concession to the need for clear links in this post -- a post which I think you may be starting to take a little too seriously :)

      reply to this | link to this | view in chronology ]

      • icon
        Lisa Westveld (profile), 20 Apr 2015 @ 3:50pm

        Re: Re:

        I'm not taking it seriously. :-) But my head gets confused by all the styling issues in the code, so it doesn't compile in my head.
        Besides, it would not be a big problem to make the other strings to link to some page, thus making them the same style. :-)

        reply to this | link to this | view in chronology ]

  • identicon
    Anonymous Coward, 20 Apr 2015 @ 3:57pm

    They forgot to run it....

    reply to this | link to this | view in chronology ]

  • identicon
    Lawrence D’Oliveiro, 20 Apr 2015 @ 7:46pm

    Python 2 Or Python 3?

    That “(object)” tends to point to Python 2...

    reply to this | link to this | view in chronology ]

  • identicon
    Joe, 22 Apr 2015 @ 11:24am

    Awesome advert. Well done guys.

    reply to this | link to this | view in chronology ]


Add Your Comment

Have a Techdirt Account? Sign in now. Want one? Register here



Subscribe to the Techdirt Daily newsletter




Comment Options:

  • Use markdown. Use plain text.
  • Remember name/email/url (set a cookie)

Close

Add A Reply

Have a Techdirt Account? Sign in now. Want one? Register here



Subscribe to the Techdirt Daily newsletter




Comment Options:

  • Use markdown. Use plain text.
  • Remember name/email/url (set a cookie)

Follow Techdirt
Techdirt Gear
Shop Now: Techdirt Logo Gear
Advertisement
Report this ad  |  Hide Techdirt ads
Essential Reading
Techdirt Deals
Report this ad  |  Hide Techdirt ads
Techdirt Insider Chat
Advertisement
Report this ad  |  Hide Techdirt ads
Recent Stories
Advertisement
Report this ad  |  Hide Techdirt ads

Close

Email This

This feature is only available to registered users. Register or sign in to use it.