![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programmer
Join Date: Mar 2005
Location: Florida, US
Posts: 35
Rep Power: 0
![]() |
Cerulean: I too was planning to learn C++, but now that you mentioned Python, I have a few questions...
Which is more popular? Which is more powerful? Which is easier to pick up? Regards, Yuneek
__________________
Wire Step - Web Design and Development |
|
|
|
|
|
#12 | |
|
Professional Programmer
|
Quote:
2. I'd have to say C++ also. But I truly don't know the full capabilities of Python. 3. Python, definitely. Very easy to pick up, unlike C++ which can be a bit cryptic. Plus Python's a smaller language, so obviously there's less to have to pick up.
__________________
Amateurs built the ark Professionals built the Titanic |
|
|
|
|
|
|
#13 | |
|
Programmer
Join Date: Mar 2005
Location: Florida, US
Posts: 35
Rep Power: 0
![]() |
Quote:
__________________
Wire Step - Web Design and Development |
|
|
|
|
|
|
#14 |
|
Professional Programmer
|
No, thank you. I just talked myself into focusing on Python, instead of debating between C/C++/C#. What the hell. *Dives headfirst into Python docs*
__________________
Amateurs built the ark Professionals built the Titanic |
|
|
|
|
|
#15 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
2. Well, depends on how you mean. If, by power, you mean raw access to the os and the like, then i'd have to say C++. On the other hand i'd say Python gives you more power. My personal favourite is the downloading of a webpage, using nothing but the standard Python library: import urllib
webpage = urllib.urlopen("http://foo.com/index.htm").read()3. Python, without a shadow of a doubt. |
|
|
|
|
|
|
#16 |
|
Programming Guru
![]() ![]() ![]() |
I guess i'll brush up on my python now... i have been influenced by my peers. lol
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#17 |
|
Programmer
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4
![]() |
I think me 2... liked that one line load webpage stuff... gotta try... PS I LOVE TO LEARN!!... I WANT TO KNOW IT ALL
__________________
"God bless u all" :) |
|
|
|
|
|
#18 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
Cerulean:
#include <stdlib.h>
main()
{
system("wget http://foo.com/index.htm");
}![]() |
|
|
|
|
|
#19 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
oh by the way, I say if you like to be able to do stuff in 2 lines, learn C#. The .net framework gives a lot of these Python advantages.
|
|
|
|
|
|
#20 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
uman:
That doesn't store the data in a variable. You'd have to the data from the file. The urllib and urllib2 modules have many more advanced capabilities utilised just as easily. And seriously, on how many platforms is it feasible to consider wget as a default there? Any example of these C# two-liners? Just creating a class with an empty Main function is 4 lines ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|