Understanding Python from a PHP coder's perspective

Chris Angelico rosuav at gmail.com
Mon Dec 7 17:03:04 EST 2015


On Tue, Dec 8, 2015 at 8:59 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Mon, Dec 7, 2015 at 2:40 PM, Chris Angelico <rosuav at gmail.com> wrote:
>> So that's a quick potted summary of why the URLs don't reflect the
>> language used. Python is event-driven, but instead of defining events
>> at the file level, the way PHP does, they're defined at the function
>> level. Of course, if you *want* to put ".py" on the end of all your
>> URLs, Python won't stop you... :)
>
> Or, if it's a poorly implemented site, ".rb". ;-)

Well hey. Python won't stop me from adding ".rb" to the ends of my
URLs either...

ChrisA



More information about the Python-list mailing list