473,290 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,290 software developers and data experts.

where does Python stand?

Ben
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver?

Hope some of you can get me out of confusion...

Ben
Jul 18 '05 #1
25 2624
Ben wrote:
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver?


ASP, JSP and PHP are Web templating languages. You would use them to
write the front-end of a website but not to write a video game, a
program that calculates taxes, payroll software, etc. Python is a
general purpose programming language.

Can python be integrated with Dreamweaver? It depends. What are you
trying to accomplish? You would not (usually) code Python in DreamWeaver
the way you might code ASP or JSP in DreamWeaver because Python code
does not (usually) reside in Web pages or Web templates and Dreamweaver
is a Web page design tool.

Paul Prescod

Jul 18 '05 #2
Ben wrote:
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages...
ASP (Active Server Page) is a technology, not a language - you can code
ASP with at least VB, Jscript and C#.

JSP (Java Server Page) is mostly a way of embedding Java code in a web
page. Here again, more a techno than a language by itself.

VB, C# and Java *are* general purpose programming languages.

PHP, even if it's true that it began as a web scripting language, is now
usable as a stand-alone, 'general purpose' programming language (there's
even a Gtk+ binding...).
Are
they more advanced than Python?
Depends... What does 'more advanced' mean ?
Can Python be integrated with
Dreamweaver?
I don't think so, at least not like PHP or ASP ir like. If you plan to
use Python for web development, there are many other solutions - Zope,
Spyce, etc, Google is your friend !-)
Hope some of you can get me out of confusion...


Hope we did !-)

Bruno

Jul 18 '05 #3
cr*********@yahoo.com (Ben) wrote in message news:<d9**************************@posting.google. com>...
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver?


They are different and so a comparision does not make sense.

You want a comparison about web frameworks/templates like Cheeta,
Python Server Pages, Draco Server Pages, Sypce or whatever is out
there right ?
Jul 18 '05 #4
Ben
Thanks for replies guys!!

I still need to ask something... Let me be more specific. I wanna
create a web page where I want to put photos taken by me... There are
lots of them. I also want to include a search capability in my web
page for users to search my photos by name (topic)... For this, I
would like to use a database which includes the location of my photos
on the server along with names and sizes... I would also like to make
it easier for me to add more photos in the future with ease. Also if
possible, try to generate html pages on the fly as I upload photos on
the server. In other words, I wanna make my web design efficient with
least amount of manual work. Well, this is pretty much the scenario.

What do you think would be a best design technique that I should
follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
python, C, C++... What programming languages do I need to learn in
order to accomplish my task? If I need to choose between ASP and JSP,
I'd rather go for JSP cause it'll be easier for me to migrate as I
don't know much about VB, Jscript and C#. What are some of your
recommendations?

Someone mentioned Zope. Is it similar to ASP, PHP or JSP? Is it a
Pythonic version of ASP, JSP?

I'm kind of lost... There are too many of these acronyms in the
market.. Need some directions..

Thanx a lot!
Ben

ll*****@web.de (Lothar Scholz) wrote in message news:<6e**************************@posting.google. com>...
cr*********@yahoo.com (Ben) wrote in message news:<d9**************************@posting.google. com>...
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver?


They are different and so a comparision does not make sense.

You want a comparison about web frameworks/templates like Cheeta,
Python Server Pages, Draco Server Pages, Sypce or whatever is out
there right ?

Jul 18 '05 #5
> I'm kind of lost... There are too many of these acronyms in the
market.. Need some directions..


Option 1:
Purchase a mac.
Get a .mac account.
Use iPhoto.

Option 2:
Purchase some books at your local bookstore that explain what each of
these technologies do.
If the acronyms are over your head, then learning the a language to
write the scripts is likely not going to be possible. Prove me wrong.
I'd be glad if you were to do option 2 and produce something worthwhile.

- Josiah
Jul 18 '05 #6
On 5 Feb 2004 19:30:42 -0800, cr*********@yahoo.com (Ben) wrote:
I still need to ask something... Let me be more specific. I wanna
create a web page where I want to put photos taken by me... There are
lots of them. I also want to include a search capability in my web
page for users to search my photos by name (topic)... For this, I
would like to use a database which includes the location of my photos
on the server along with names and sizes... I would also like to make
it easier for me to add more photos in the future with ease. Also if
possible, try to generate html pages on the fly as I upload photos on
the server. In other words, I wanna make my web design efficient with
least amount of manual work. Well, this is pretty much the scenario.

What do you think would be a best design technique that I should
follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
python, C, C++... What programming languages do I need to learn in
order to accomplish my task? If I need to choose between ASP and JSP,
I'd rather go for JSP cause it'll be easier for me to migrate as I
don't know much about VB, Jscript and C#. What are some of your
recommendations?


I don't want to sound like a heretic (cuz I'm not religious about
languages), but from the sounds of your requirements and current
knowledge base, PHP will satisfy your needs in the most direct
fashion. It's easy to learn and can be worked in with DreamWeaver.

You can use mySql (sp?) with PHP to map keywords/search criteria to
the filenames of your photos. Your PHP code will take the user's
input, form an SQL statement to determine which photos to display, and
then put them into a web page. Poof!

--dang
p.s.
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.
Jul 18 '05 #7
cr*********@yahoo.com (Ben) wrote in message news:<d9**************************@posting.google. com>...
Hi all!


Python doesn't stand anywhere. With no legs, he has to crawl.
Jul 18 '05 #8
Ben
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<bv**********@news.service.uci.edu>...
I'm kind of lost... There are too many of these acronyms in the
market.. Need some directions..
Option 1:
Purchase a mac.
Get a .mac account.
Use iPhoto.


No way!! I don't even consider this as an option. I was asking about
"technologies" and "writing scripts", NOT about purchasing a machine!
Option 2:
Purchase some books at your local bookstore that explain what each of
these technologies do.


This is very possible.. but I can't afford to buy "some" books, that's
why I'm using this post and google ;)

Ben
Jul 18 '05 #9
>>Option 1:
Purchase a mac.
Get a .mac account.
Use iPhoto.
No way!! I don't even consider this as an option. I was asking about
"technologies" and "writing scripts", NOT about purchasing a machine! Option 2:
Purchase some books at your local bookstore that explain what each of
these technologies do.

This is very possible.. but I can't afford to buy "some" books, that's
why I'm using this post and google ;)

Ben,

You missed the point of my post. If you are having problems with
acronyms, then you likely lack the experience and/or the self discipline
to build your own photo album software to make it happen.

I would suggest you download a pre-built piece of software that will do
it for you. It seems like Gallery (http://gallery.menalto.com/) would
be just fine.

Good luck.
- Josiah
Jul 18 '05 #10
Ben
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<c0**********@news.service.uci.edu>...
Option 1:
Purchase a mac.
Get a .mac account.
Use iPhoto.
No way!! I don't even consider this as an option. I was asking about
"technologies" and "writing scripts", NOT about purchasing a machine!

Option 2:
Purchase some books at your local bookstore that explain what each of
these technologies do.

This is very possible.. but I can't afford to buy "some" books, that's
why I'm using this post and google ;)

Ben,

You missed the point of my post. If you are having problems with
acronyms, then you likely lack the experience and/or the self discipline
to build your own photo album software to make it happen.

I would suggest you download a pre-built piece of software that will do
it for you. It seems like Gallery (http://gallery.menalto.com/) would
be just fine.

Good luck.
- Josiah


Thanx for suggestions but I'm not having problems with acronyms and I
believe I have skills to learn something new if needed... That's why
I'm trying.. I just wanted to find out which technology suits my needs
the best... I don't want to learn everything out there in detail just
to create a website. That's why I'm using this post to find out what
people say about these technologies depending on their own
experiences. Some people are ASP experts, some are PHP and the others
are JSP... The idea is to hear from people with different skills, so
that it will help me to make my own choice!!! I will make my own
gallery even if it takes me 2 years to do it! That gives me
satisfaction!!

Ben
Jul 18 '05 #11
Paul Prescod <pa**@prescod.net> wrote in message news:<ma***************************************@py thon.org>...
Ben wrote:
Hi all!

I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver?


ASP, JSP and PHP are Web templating languages. You would use them to


Actually PHP can be used as a stand alone general scripting language,
just like Python can. Python is much more powerful though.
Jul 18 '05 #12
> I learned Python as part of my university coursework... I enjoyed it.
Now I'm just wondering how Python compares with asp, jsp, php and what
not?? I don't have slightest knowledge about these languages... Are
they more advanced than Python? Can Python be integrated with
Dreamweaver? Someone mentioned Zope. Is it similar to ASP, PHP or JSP? Is it a
Pythonic version of ASP, JSP? I'm kind of lost... There are too many of these acronyms in the
market.. Need some directions.. What do you think would be a best design technique that I should
follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
python, C, C++... What programming languages do I need to learn in
order to accomplish my task? If I need to choose between ASP and JSP,
I'd rather go for JSP cause it'll be easier for me to migrate as I
don't know much about VB, Jscript and C#.


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.

Two years is a lot of time to dedicate to something that has been
implemented hundreds of times.

- Josiah
Jul 18 '05 #13
In article <c7*************************@posting.google.com> , Y2KYZFR1 wrote:
Actually PHP can be used as a stand alone general scripting language,
just like Python can. Python is much more powerful though.


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?

Joe
Jul 18 '05 #14
Joe Mason <jo*@notcharles.ca> schreef:
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?


This might be useful:
<http://www.php.net/manual/en/features.commandline.php>

--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Jul 18 '05 #15
Joe Mason <jo*@notcharles.ca> writes:
In article <c7*************************@posting.google.com> , Y2KYZFR1 wrote:
Actually PHP can be used as a stand alone general scripting language,
just like Python can. Python is much more powerful though.


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?


$ 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 **
Jul 18 '05 #16
Dang Griffith <no*****@noemail4u.com> wrote in message news:<ae******************************@news.terane ws.com>...
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.


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.
Jul 18 '05 #17
Ben
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<c0**********@news.service.uci.edu>...

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.
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....

Two years is a lot of time to dedicate to something that has been
implemented hundreds of times.


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
Jul 18 '05 #18
cr*********@yahoo.com (Ben) wrote in message news:<d9**************************@posting.google. com>...
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<c0**********@news.service.uci.edu>...

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.


to this as "serious indecision", then so be it! I got nothing to
say....


Then maybe the first thing that you shouldn't say is that you now
Python,Java,JavaScript, 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.
Jul 18 '05 #19
In article <Xn******************@213.119.4.35>, JanC wrote:
Joe Mason <jo*@notcharles.ca> schreef:
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?


This might be useful:
<http://www.php.net/manual/en/features.commandline.php>


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
Jul 18 '05 #20
Ben
ll*****@web.de (Lothar Scholz) wrote in message news:<6e**************************@posting.google. com>...
cr*********@yahoo.com (Ben) wrote in message news:<d9**************************@posting.google. com>...
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<c0**********@news.service.uci.edu>...

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.


to this as "serious indecision", then so be it! I got nothing to
say....


Then maybe the first thing that you shouldn't say is that you now
Python,Java,JavaScript, 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.


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
Jul 18 '05 #21
Lothar Scholz wrote:

Sorry but this is some kind of fucking marketing rhetorik.


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
Jul 18 '05 #22
Y2KYZFR1 wrote:


Actually PHP can be used as a stand alone general scripting language,
just like Python can. Python is much more powerful though.


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

Jul 18 '05 #23
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
Jul 18 '05 #24
Ben
Josiah Carlson <jc******@nospam.uci.edu> wrote in message news:<c0**********@news.service.uci.edu>...

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.

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.. :)
I'm no longer going to reply to this thread. Good bye and good luck.


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
Jul 18 '05 #25
Paul Prescod <pa**@prescod.net> wrote in message news:<ma***************************************@py thon.org>...
Y2KYZFR1 wrote:


Actually PHP can be used as a stand alone general scripting language,
just like Python can. Python is much more powerful though.


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


funny there are lots of PRACTICAL examples of using PHP standalone on SourceForge!
Jul 18 '05 #26

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ben moretti | last post by:
hi i'm learning python, and one area i'd use it for is data management in scientific computing. in the case i've tried i want to reformat a data file from a normalised list to a matrix with some...
1
by: Marc | last post by:
Hi all, After some research I've decided that my previous question (Confusing problem between Tkinter.Intvar...) was headed in the wrong direction. Partly because I think I have a greater...
145
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity...
6
by: uri bushey | last post by:
I have a Python program that is built on an infrastructure of quite a few other programs, but I would like to create a standalone nonetheless. It doesn't necesarily have to be its own executable,...
47
by: Michael Scarlett | last post by:
There is an amazing article by paul graham about python, and an even better discussion about it on slashdot. The reason I point this out, is the more I read both articles, the more I realised how...
11
by: Adonis | last post by:
What I do not understand, or not clear to me I should say, is how can some people regard Python as a scripting language? In particular the JAVA crowd. Unless my understanding is off, and from what...
53
by: Krystian | last post by:
Hi are there any future perspectives for Python to be as fast as java? i would like to use Python as a language for writing games. best regards krystian
23
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list...
9
by: Ed Leafe | last post by:
On Apr 21, 2008, at 1:05 PM, Daniel Fetchinson wrote: Don't most binary distributions include SQLite itself? I installed 2.5.2 on a new WinXP VM, and SQLite is working fine. -- Ed Leafe
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.