Hi, I am learning Python, and I was just wondering whether Python can achieve everything PHP can. I don't know PHP, but I know it's a server side scripting language, and it is often embedded in HTML pages. Can Python be used in the same manner, i.e. embedded in HTML or dishing out scripts from the server like PHP on its own, or does it require external stuff like Django or CherryPy for that, or is it that it cannot replace PHP at all? Same question goes for Perl as well. Does Python allow you to do shell scripting (I don't know anything about it) and stuff like Perl, or it does not? I apologize if the questions sound dumb, but I really need to know!
Cupidvogel
0
Newbie Poster
Recommended Answers
Jump to PostYes you need CherryPy/webPy stuff to use Python in files or you can do Python script outputting Html statements, but then you would end up reinventing the wheel. For shell scripting I think IPython is quite interesting:
All 3 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
JoshuaBurleson
23
Posting Whiz
Cupidvogel
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.