where does Python stand?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian McConnell

    #16
    Re: OT: PHP as a general language (was Re: where does Pythonstand?)

    Joe Mason <joe@notcharles .ca> writes:
    [color=blue]
    > In article <c718a6cf.04020 71225.ea09de6@p osting.google.c om>, Y2KYZFR1 wrote:[color=green]
    >> Actually PHP can be used as a stand alone general scripting language,
    >> just like Python can. Python is much more powerful though.[/color]
    >
    > I was just looking for a way to run PHP as a general script, actually
    > (it'd be much easier to debug extensions than having to load a web page
    > through Apache every time). But I can't find a standalone interpreter
    > on my system (Debian stable) - all the php packages just hook into
    > Apache. Do you know where I can find a standalone PHP?[/color]

    $ apt-get install php4-cgi

    $ php4 -v
    PHP 4.3.3 (cli) (built: Nov 19 2003 23:12:29)
    Copyright (c) 1997-2003 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies


    --
    "Thinks: I can't think of a thinks. End of thinks routine": Blue Bottle

    ** Aunty Spam says: Remove the trailing x from the To: field to reply **

    Comment

    • Lothar Scholz

      #17
      Re: where does Python stand?

      Dang Griffith <noemail@noemai l4u.com> wrote in message news:<ae244d5bc 6071d6fa5203428 a7f62c01@news.t eranews.com>...
      [color=blue]
      > I only spearminted with PHP for a little while, and am no expert.
      > But as I said, based on your requirements, I think it fits the bill.[/color]

      I second that.

      There are also a lot of good cheap books about PHP out there so he
      don't need to buy "some" books. Python really seems to be a little bit
      overkill for someone who never did programming before.

      Comment

      • Ben

        #18
        Re: where does Python stand?

        Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<c03its$em c$1@news.servic e.uci.edu>...[color=blue]
        >
        > If you know Dreamweaver, Python, Java, JavaScript, and CGI using Python,
        > C, and C++, and you /don't know/ how/where to get started on your
        > project...that is some serious indecision. Pick your favorite language,
        > and write your app.[/color]

        Yes I must admit I'm not a perfect human! That's why newsgroups like
        this are invented to help each other and to learn... I know certain
        things but not everything there is to do about web design... No one is
        born with all the skills. We all learn sooner or later... And this is
        just my attempt to know something that I don't know! If someone refer
        to this as "serious indecision", then so be it! I got nothing to
        say....
        [color=blue]
        >
        > Two years is a lot of time to dedicate to something that has been
        > implemented hundreds of times.
        >[/color]

        Yeah, it'd still be much much better to spend 2 years to complete a
        task rather than using a ready-made photo gallery... That was just my
        comparison when I mentioned "2 years"... Obviously, it can be done
        much earlier than that :)

        Ben

        Comment

        • Lothar Scholz

          #19
          Re: where does Python stand?

          crescent_au@yah oo.com (Ben) wrote in message news:<d99e1341. 0402080236.79d3 d939@posting.go ogle.com>...[color=blue]
          > Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<c03its$em c$1@news.servic e.uci.edu>...[color=green]
          > >
          > > If you know Dreamweaver, Python, Java, JavaScript, and CGI using Python,
          > > C, and C++, and you /don't know/ how/where to get started on your
          > > project...that is some serious indecision. Pick your favorite language,
          > > and write your app.[/color]
          >
          > to this as "serious indecision", then so be it! I got nothing to
          > say....[/color]

          Then maybe the first thing that you shouldn't say is that you now
          Python,Java,Jav aScript, C, C++ if the only thing you know is the names
          of this languages.

          Sorry but this is some kind of fucking marketing rhetorik. If you
          really now at least one of them your postings would be much different.
          Nobody has a problem with newbies here, but the people who say they
          know a lot but don't do it in reality are not very welcome - nowhere.

          Comment

          • Joe Mason

            #20
            Re: OT: PHP as a general language (was Re: where does Python stand?)

            In article <Xns94892CEE6B3 D3JanC@213.119. 4.35>, JanC wrote:[color=blue]
            > Joe Mason <joe@notcharles .ca> schreef:
            >[color=green]
            >> I was just looking for a way to run PHP as a general script, actually
            >> (it'd be much easier to debug extensions than having to load a web page
            >> through Apache every time). But I can't find a standalone interpreter
            >> on my system (Debian stable) - all the php packages just hook into
            >> Apache. Do you know where I can find a standalone PHP?[/color]
            >
            > This might be useful:
            ><http://www.php.net/manual/en/features.comman dline.php>[/color]

            Hmm, I just realized the message I sent out a few days ago (about an
            hour after my original post, actually) never showed up. It turns out
            that on Debian, the php4 package contains all the framework needed to
            run PHP from Apache, but the actual command-line interpreter is in
            php4-cgi. Which is just... confusing.

            Thanks everyone for the replies, though.

            Joe

            Comment

            • Ben

              #21
              Re: where does Python stand?

              llothar@web.de (Lothar Scholz) wrote in message news:<6ee58e07. 0402080829.25ed 5799@posting.go ogle.com>...[color=blue]
              > crescent_au@yah oo.com (Ben) wrote in message news:<d99e1341. 0402080236.79d3 d939@posting.go ogle.com>...[color=green]
              > > Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<c03its$em c$1@news.servic e.uci.edu>...[color=darkred]
              > > >
              > > > If you know Dreamweaver, Python, Java, JavaScript, and CGI using Python,
              > > > C, and C++, and you /don't know/ how/where to get started on your
              > > > project...that is some serious indecision. Pick your favorite language,
              > > > and write your app.[/color]
              > >
              > > to this as "serious indecision", then so be it! I got nothing to
              > > say....[/color]
              >
              > Then maybe the first thing that you shouldn't say is that you now
              > Python,Java,Jav aScript, C, C++ if the only thing you know is the names
              > of this languages.
              >
              > Sorry but this is some kind of fucking marketing rhetorik. If you
              > really now at least one of them your postings would be much different.
              > Nobody has a problem with newbies here, but the people who say they
              > know a lot but don't do it in reality are not very welcome - nowhere.[/color]

              Yeah, then there can't be any communication :) That would save a lot
              of time of people who know but are not quite ready to share their
              knowledge with people... No one is forcing anyone to reply... Talking
              about reality- the reality I saw can be entirely different from
              reality seen by Mr. A and Mr. B.. There is no such thing like reality
              that fits into everybody's lives. Reality is much bigger than Python,
              ASP, and PHP :) So where does Python stand in this "vague" reality
              (that was my initial query!!!)

              Lets not pollute this wonderful group with out-of-topic messages. If
              you wanna talk about this, please email me...

              Ben

              Comment

              • Max M

                #22
                Re: where does Python stand?

                Lothar Scholz wrote:

                [color=blue]
                > Sorry but this is some kind of fucking marketing rhetorik.[/color]

                That could probably have come across somewhat friendlier... This group
                has allways been nice and polite. Please let's keep it like that.



                regards Max M

                Comment

                • Paul Prescod

                  #23
                  Re: where does Python stand?

                  Y2KYZFR1 wrote:
                  [color=blue]
                  >
                  >
                  > Actually PHP can be used as a stand alone general scripting language,
                  > just like Python can. Python is much more powerful though.[/color]

                  This is true in theory but it is very rare in practice to use PHP in a
                  project that has nothing to do with web templating.

                  Paul Prescod



                  Comment

                  • Josiah Carlson

                    #24
                    Re: where does Python stand?

                    Look. If you want to use Python to write your application, use Python.
                    Python CGI will work just fine. You say you know how to use Python
                    and CGI, so use it.

                    If you want to spend your time learning another language that /may/ be
                    better suited for the task, then learn PHP.


                    Honestly, I don't think you are capable of writing this gallery
                    software, because you can't even decide what language to write it in.
                    People have offered both Python and PHP more than a few times, and you
                    haven't even bothered to listen to anyone.

                    I'm no longer going to reply to this thread. Good bye and good luck.
                    - Josiah

                    Comment

                    • Ben

                      #25
                      Re: where does Python stand?

                      Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<c06432$no 7$1@news.servic e.uci.edu>...[color=blue]
                      >
                      > Honestly, I don't think you are capable of writing this gallery
                      > software, because you can't even decide what language to write it in.
                      > People have offered both Python and PHP more than a few times, and you
                      > haven't even bothered to listen to anyone.
                      >[/color]

                      Yes, I can't decide... That's why I'm posting!! If I knew everything,
                      I'd not be posting here... And I am listening to people for their
                      valuable suggestions... You are losing a point here.. And I am capable
                      of writing this "gallery software" due to the fact that I got some
                      nice replies from this post.. :)
                      [color=blue]
                      > I'm no longer going to reply to this thread. Good bye and good luck.[/color]

                      Fair enough... I don't need you to reply if you can't even understand
                      why I'm posting here.. I'm posting because I wanna know and learn...
                      If people can't cheer up someone who is willing to know something,
                      then there is no need to reply.. That will save a lot of time... Thank
                      you!

                      Ben

                      Comment

                      • Y2KYZFR1

                        #26
                        Re: where does Python stand?

                        Paul Prescod <paul@prescod.n et> wrote in message news:<mailman.1 360.1076312406. 12720.python-list@python.org >...[color=blue]
                        > Y2KYZFR1 wrote:
                        >[color=green]
                        > >
                        > >
                        > > Actually PHP can be used as a stand alone general scripting language,
                        > > just like Python can. Python is much more powerful though.[/color]
                        >
                        > This is true in theory but it is very rare in practice to use PHP in a
                        > project that has nothing to do with web templating.
                        >
                        > Paul Prescod[/color]

                        funny there are lots of PRACTICAL examples of using PHP standalone on SourceForge!

                        Comment

                        Working...