473,583 Members | 2,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I Need Motivation Part 2

i m currently in a network (LAN). i started python because i heard
that it has great ability for networking programs and/or scripts, but
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all, this deters from c or c++ in
which there are only a limited number of header files. what loses my
interest is that if i cant learn these modules, and there are lots and
lots of python modules, how can i ever be a good enough
programmer/scripter.
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
Nov 4 '05 #1
10 1431

bl**@blah.blah wrote:
i m currently in a network (LAN). i started python because i heard
that it has great ability for networking programs and/or scripts, but
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all, this deters from c or c++ in
which there are only a limited number of header files. what loses my
interest is that if i cant learn these modules, and there are lots and
lots of python modules, how can i ever be a good enough
programmer/scripter.

Well, you better stick with python then. Forget about all those
modules, you would know what to use when the needs come up or ask by
then.

Python definitely has the momentum behind it for solving this kind of
real world problems and I would say the best overall
environment/language right now.

Nov 4 '05 #2
blahman (bl**@blah.blah ) enlightened us with:
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all, this deters from c or c++
in which there are only a limited number of header files.


There are over 2800 header files on my system in /usr/include. What do
you mean "a limited number of header files"?

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Nov 4 '05 #3
bl**@blah.blah wrote:
i m currently in a network (LAN). i started python because i heard
that it has great ability for networking programs and/or scripts, but
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all,
Why would you learn them all ? Learn the one you need when you need them
- jus don't forget to have a quick look at the existings modules before
reinventing the square wheel (I wrote a Q&D CSV parser before realinzing
there was a pretty good one in the stdlib... But what, my Q&D solution
took me laess than one hour to write and did what it had to do, so...)
this deters from c or c++ in
which there are only a limited number of header files.
In the stdlib, yes. Now there are thousands of librairies/frameworks
each reimplenting all the basic datastructure and algorithm (strings,
lists, hashtables, trees and the like), so you almost have to learn a
new language each time you use a new library.
what loses my
interest is that if i cant learn these modules,
Once again : you don't have to.
and there are lots and
lots of python modules, how can i ever be a good enough
programmer/scripter.


Like everybody else: write programs. That's the only way to become a
programmer.

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom. gro'.split('@')])"
Nov 4 '05 #4
Sybren Stuvel wrote:
There are over 2800 header files on my system in /usr/include. What do
you mean "a limited number of header files"?


I assume he's saying that the number is < ∞. (Of course, the same is
true of Python modules unless you use a special __import__ hook or
something...)
Nov 4 '05 #5
bl**@blah.blah wrote:
i m losing my motivation with python because there are sooo many
modules


If you think Python has too many modules, then you better stay away
from Perl and CPAN. =)

Nov 4 '05 #6
bl**@blah.blah wrote:
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all,


As other's have said, don't bother.

If you ever need to use a module that you don't know, just go to
http://docs.python.org/lib/lib.html (easily accessable from the
"Documentat ion" link on the Python Home page), or a local copy, and
scrounge around.

I might suggest skimming it once, to see what is possible, but it isn't
nessasary to "learn" it. -- Knowing that there is a Python module in the
standard library to do CSV/Date manipulation/MD5/etc is sufficient. You
don't even need to know what the module is called - a minute skimming
the TOC will point you in the right direction.
Nov 4 '05 #7
bl**@blah.blah wrote:
i m currently in a network (LAN). i started python because i heard
that it has great ability for networking programs and/or scripts, but
i m losing my motivation with python because there are sooo many
modules, that i cant just learn them all, this deters from c or c++ in
which there are only a limited number of header files. what loses my
interest is that if i cant learn these modules, and there are lots and
lots of python modules, how can i ever be a good enough
programmer/scripter.


The standard libraries in C++ more or less ends where the standard
libraries in Python begin. There are needed to handle data structures
and algorithms in C++ that you don't need a single import to do in
Python. For C++ network programming, you'll probably have to search
the internet or buy something fancy, to get anywhere close to the
stuff you get in Python's standard library.

It seems you have a little writer's block. Don't try to learn and
understand everything before you start. If Python appears more complex
than C++, you must be using a really weird approach.

Just start with something small but useful. Try to solve a little
problem, and see that you can get some benefit from the time you
invest in Python. Make an effort, but don't be afraid to ask about
practical things if you get stuck.

Then you can expand your scope and horizons as time goes on. The
only think I advice everybody to read in the library reference is
chapter 2, the builtin stuff. Otherwise, start with libraries you
really need.

If you want to read more Steve Holden's book is good when it comes to
network programming, but there is another, newer book as well that I
didn't read. Actually, Alex Martelli's Nutshell book is probably enough
to get you started.
Nov 4 '05 #8
On Fri, 04 Nov 2005 02:57:03 -0600, blahman (bl**@blah.blah ) declaimed
the following in comp.lang.pytho n:
modules, that i cant just learn them all, this deters from c or c++ in
which there are only a limited number of header files. what loses my
Really?

I show 79 .h files and 68 "no extension" header files in the VC
"includes" directory. Another 9 under "sys", 9 more under "msclr", 20
under "cliext".

That's 168 cryptic includes -- cryptic as they only show calling
sequences and constants, with no explanation of what they do, or how to
use them.

There is another 731 .h files under "PlatformSDK".. . And I've
stopped looking at that point -- that's already 900 header files!
interest is that if i cant learn these modules, and there are lots and
lots of python modules, how can i ever be a good enough
programmer/scripter.
I show 185 .py files in the top level Python library. That's a close
match for the base VC include directory -- and I be willing to bet that
site-packages and other add-ins don't add up to another 700 .py files

And these are source code files that can be studied to learn how the
stuff works.
-- =============== =============== =============== =============== == <
wl*****@ix.netc om.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
=============== =============== =============== =============== == <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.ne tcom.com/> <

Nov 4 '05 #9
On Fri, 2005-11-04 at 17:06 +0100, Magnus Lycka wrote:
If Python appears more complex
than C++, you must be using a really weird approach.
Or a really weird editor ;-)

-m


Nov 4 '05 #10

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

Similar topics

6
2241
by: Graeme Matthew | last post by:
Hi all, I just wanted to tell someone :-) I was previously a perl programmer and have been a visual basic frustrated developer for a number of years, only for the reason that corporates are so obsessed with using proprietary marketing focused computer languages and not using true computer science oriented solutions written by computer...
6
2483
by: Pieter | last post by:
I've read a lot of posts on "why relax ng is so very good" and on "why w3c xml schema should be the only schema language". I'm, however, still not clear on why I should prefer one over the other. I've made a small list of some good and bad points of both. These points don't really go into the grammar aspects of these languages, but are more...
41
3934
by: Psykarrd | last post by:
I am trying to declare a string variable as an array of char's. the code looks like this. char name; then when i try to use the variable it dosn't work, however i am not sure you can use it the way i am trying to. Could some one please tell me what i am doing wrong, or another way of doing the same thing. i am trying to use the variable...
13
1602
by: christopher diggins | last post by:
What I am trying to answer is, what the most prominent motivation for implenting and using smart pointers in C++ is. Is it primarily to reduce bugs resulting from memory access errors or primarily to permit lazy deallocation designs (i.e. designs that rely on non-determined non-fixed non-explicit deallocation of memory)? Obviously both are...
1
1992
by: Nico Baumgarten | last post by:
Dear Madam/Sir, You are invited to participate in an international research study. This research project is headed and led by Cambridge student Nico Baumgarten. What is it all about? It is a well-known fact that there exist many differences between cultures. However, how these differences effect motivation if there are effects at all is...
9
1344
by: blah | last post by:
I m not a python Expert or anythin i need help, i m losin my motivation to continue with python can anyone inspire me again.??? -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet
162
14779
by: techievasant | last post by:
hello everyone, Iam vasant from India.. I have a test+interview on C /C++ in the coming month so plz help me by giving some resources of FAQS, interview questions, tracky questions, multiple choice questions.etc.. I'll be indebted to everyone.. Thanks in advance.. regards vasant shetty Bangalore
92
4334
by: Ray | last post by:
I just moved to another company that's mainly a Java/.NET shop. I was happy to find out that there's a movement from the grassroot to try to convince the boss to use a dynamic language for our development! Two of the senior developers, however, are already rooting for Ruby on Rails--although they haven't tried RoR themselves. When I...
0
7828
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8197
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6583
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5704
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5377
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3821
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3847
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2335
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1160
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.