Well, forgive me if it is an off-topic question. I have no knowledge about web programming, so I apologize in advance, if it is a stupid question. I will start to build a web based application. To be more specific, I will make a webpage which will have components like buttons, textboxes and etc. It will use a database to store information. My question is, which one is better to learn for that purpose? Python's Django or Delphi's IntraWeb? I know both Delphi and Python(although I know Delphi better).
I don't know Django, but do know IntraWeb.
You indicate you want to create a kind of data-entry application.
For that IntraWeb is suited as it is meant for writing web applications, not for web-sites, and it uses the same concept as a regular Delphi VCL application: a form designer, with a Delphi unit underneath that has the code.
So if you know how to write a Delphi VCL appliation, learning IntraWeb is easy.
There are a few things you should note when writing web apps in general (in any development environment):
web apps can be run by a number of users at the same time, so you need to be aware on when they can interfere with each other much more than in a regular single user Windows app
you don't know when a user stops using your application: a user might just close the browser in stead of formally pressing a button that it is stopping your app
For 1 and 2, usually you perform some way of session management, and a time out that expires stale sessions.
Since I don't know about Python or Django, I can't assess if that combination is easier than IntraWeb on Delphi.