473,776 Members | 1,480 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 1445

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
2254
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 science engineers and not a marketing panel. The amount of frustration I have experienced using visual...
6
2492
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 about secondary aspects. The grammar aspects are different, but both are suitable for validating...
41
3978
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 like this.
13
1620
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 advantages, but I want to know if programmers are finding that lazy deallocation is one of the major...
1
2009
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 not yet clear. This survey is set out to change this. With your help, it will be possible to...
9
1354
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
14912
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
4408
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 suggested Django, they went like, "what's that?". I said, "It's like the Python counterpart of RoR".
0
9628
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9464
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9923
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6722
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5493
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4031
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
2
3622
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2860
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.