4 Replies - 700 Views - Last Post: 17 December 2012 - 06:24 AM Rate Topic: -----

#1 cupidvogel  Icon User is offline

  • D.I.C Addict

Reputation: 31
  • View blog
  • Posts: 593
  • Joined: 25-November 10

Can Python do what Perl or PHP can?

Posted 25 September 2011 - 09:41 AM

Hi, I am learning Python, and I was just wondering whether Python can achieve everything PHP does. 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 uestion 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! :helpsmilie:

This post has been edited by cupidvogel: 25 September 2011 - 09:42 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Can Python do what Perl or PHP can?

#2 Motoma  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 452
  • View blog
  • Posts: 796
  • Joined: 08-June 10

Re: Can Python do what Perl or PHP can?

Posted 26 September 2011 - 07:07 AM

Yes, everything you can do in PHP and Perl can be done in Python.
Was This Post Helpful? 0
  • +
  • -

#3 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 178
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Can Python do what Perl or PHP can?

Posted 26 September 2011 - 07:10 AM

PythonVsPhp - PythonInfo Wiki
Perl vs Python - Ubuntu Forums

Google is your friend. Use it.
Was This Post Helpful? 0
  • +
  • -

#4 eGrove Systems  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 10
  • Joined: 09-December 12

Re: Can Python do what Perl or PHP can?

Posted 17 December 2012 - 06:15 AM

yes, python will help you what php and perl was doing.
Was This Post Helpful? -3
  • +
  • -

#5 sepp2k  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2018
  • View blog
  • Posts: 3,046
  • Joined: 21-June 11

Re: Can Python do what Perl or PHP can?

Posted 17 December 2012 - 06:24 AM

Please don't respond to year old threads just to repeat what has already been said. In fact don't respond to any threads just to repeat what has already been said.

Thread closed.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1