LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-21-2003, 05:05 AM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
Where do you think python is going?


Ok guys:
this is a result of an argument that I had with a like minded computer friend. he said that Python doesn't have a place in today's world. In other words: there are pre-existing languages that do a better job than python does.
I said that Python has it's place for newbie programers. He is a javascript fanatic, and I think that might have something to do with his outlook.
I mucked around in python for awhile, then moved on to Java. I have messed around with HTML and some javascript. Also some Qbasic (wrote the absolute last prog in that dead lang for a school project.)

Do you think that schools should be teaching python instead of qb?

titanium_geek
 
Old 11-21-2003, 10:40 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Do you think that schools should be teaching python instead of qb?"

I think that schools should be teaching almost anything else other than QBasic. Python is one possibility.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-21-2003, 10:56 AM   #3
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
python was dead at birth the only thing keeping it barely alive is bit torrent
 
Old 11-22-2003, 11:16 PM   #4
cludwin
Member
 
Registered: Feb 2002
Distribution: Slack
Posts: 50

Rep: Reputation: 16
My thoughts are that Python is very much alive and well.

Freshmeat.net seems to agree with me:
Python (1263 projects)
Java (2525 projects)

Eirc Raymond sites it as 1 of the 5 languages you should learn in "How To Become A Hacker" :
http://www.catb.org/~esr/faqs/hacker-howto.html

All you have to do is try to write something in python and you will be amazed at how little effort it takes. At work I code in Java, and I think that it is an excellent language, but my next web site is going to run mod_python.

cludwin
 
Old 11-22-2003, 11:50 PM   #5
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Quote:
Originally posted by Stack
python was dead at birth the only thing keeping it barely alive is bit torrent
And, the 1263 projects mentioned above, alot of the Redhat config tools...

I use it often (I'm not the seasoned programmer I claim not to be.) It is quite easy to use, I just used it to create an IRC triviabot (mostly to learn the language, though) and found it great. I need to find more uses for it!

Ian
 
Old 11-23-2003, 04:33 AM   #6
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Rep: Reputation: 30
Python is a great language.

Few reasons:
1. Gentoo Porting system was writeen in Python - If you've used Gentoo, you'll know why that's good.
2. It's alot easier to write a C script in Python, debug it, then convert it to C (From Python) - Although possible with a few languages.
3. Power? You want power in Python, it's simple, only 50 minutes after beginning my Python education, I had already created an Instant Messenger client and server (Therefore an IM Service), and I am no programmer.
4. The simple syntax, the only thing that's essential for Python are the indents, it takes the shortcuts where Visual Basic should have.

School's should definately be teaching Python instead of QBasic.

The real question, what do you guys think of Ruby?
 
Old 11-24-2003, 02:57 AM   #7
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
From what i heard, Python is great for fast prototyping. Write some ideas in Python, see if they work. Then convert it to some possibly more efficient language.

I've only looked at Python briefly over the summer and it seemed very nice. The syntax is very clear and the oop elements are very nicely designed in my opinion. I'm hoping to explore it a bit more in the near future once my current college semester ends.

BTW, Chu, i was wondering; what resources did you use to learn Python? Was it a book, site?

As far as Ruby. I glanced at it 2 weeks ago after reading some articles about it at www.artima.com. It looks very interesting and in fact i got more excited about it than when i was looking at Python.

I know Perl fairly well, but don't find it all that great for large projects nor cgi. Ruby is somewhat based on Perl and bears many similarities to Python, Java, etc. I'll have to actually write some programs in it before i can trully get an opinion of it.
 
Old 11-24-2003, 09:31 PM   #8
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
I love python. The syntax and whitespace always produces nice readable code.

Also, there is a module for basically everything you could want, all included in the stock distribution.
 
Old 11-25-2003, 12:17 AM   #9
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Rep: Reputation: 30
Not trying to dis Python, since it is my prefered language.
But about the modules.. Perl has roughly 10 million more modules :P

Umm.. I learnt Python via the book "Python in a nutshell" by Alex Martelli.
It's a great book, and even though I believe I have a good grasp on Python, I still use the book as a text book and refer back to things.
 
Old 11-25-2003, 12:30 AM   #10
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by Chu
Not trying to dis Python, since it is my prefered language.
But about the modules.. Perl has roughly 10 million more modules :P
Did you know that:
49% of all statistics are made up on the spot
29% of the population believes made-up statistics

So, um, where did you come up with that number? Not to mention that quantity isn't as important as quality. I'll concede that Perl has more, but some of the modules in CPAN are pretty crappy and it'd almost be easier just to rewrite them. The stock python modules are pretty good in general and they fit 90% of my needs, if not more.
 
Old 11-25-2003, 01:49 AM   #11
dr_van_nostrand
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 77

Rep: Reputation: 15
Have you seen Kahakai?
Try that i in qbasic

I believe that Python is on of the fastest growing languages. It's interesting that Python are being used for visualazation and advanced mathematics.

Search for Python on Sourceforge and you will se a lot of useful projects. There are even cad programs!
 
Old 11-26-2003, 06:13 PM   #12
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Original Poster
Rep: Reputation: 50
I am learning Java for the Computer Science AP.
But I would like to learn Python to say: Oh yes.. I know python aswell.
so what do you guys think about python for web development?

titanium_geek
 
Old 11-26-2003, 06:38 PM   #13
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Rep: Reputation: 30
you're not the last person to write a program in qbasic. The computer teacher at my school still uses qbasic for introductory computer programming.
 
Old 11-26-2003, 06:50 PM   #14
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Original Poster
Rep: Reputation: 50
grr...
this what turns people off programing.

titanium_geek
 
Old 11-26-2003, 08:51 PM   #15
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
What about Jython
http://www.jython.org/docs/whatis.html

Integrating Python with Java sounds like it would make it a valuable tool.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM
Python guru's - Is this a python bug? or is it me? bardinjw Programming 2 06-23-2005 08:17 AM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 12:11 PM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration