473,756 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is python for me?

Hi,

I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer language.

I like Python. Its free, easy to learn and some favorite programs of my
are written in Python / can understand Python (like OpenOffice) etc.

But I'm not a full-time programmer. I know, that I've only time &
possibility to learn one (= 1) language good. So i ask myself is python
the language I'm looking for?

In the future, i want to write the following applications:[*] A database driven program, which can handle my clients, tasks and
places (= 3 tables, has to work relative with each other). I think,
this isn't a problem for Python[*] As a photographer i like to build a picture management system (also
db) with raw support. Raw is the raw-data from the sensor of the
camera. My questions:
- can python encode raw?
- can python head for a utility like dcraw?
- or head for a utility like IrfanView (delphi?) or something like
that?

Tnx for your help!

Nov 13 '06 #1
22 2048
In article <11************ *********@b28g2 000cwb.googlegr oups.com>,
lennart <l.************ *@gmail.comwrot e:
>Hi,

I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer language.

I like Python. Its free, easy to learn and some favorite programs of my
are written in Python / can understand Python (like OpenOffice) etc.

But I'm not a full-time programmer. I know, that I've only time &
possibility to learn one (= 1) language good. So i ask myself is python
the language I'm looking for?

In the future, i want to write the following applications:
[*] A database driven program, which can handle my clients, tasks and
places (= 3 tables, has to work relative with each other). I think,
this isn't a problem for Python
[*] As a photographer i like to build a picture management system (also
db) with raw support. Raw is the raw-data from the sensor of the
camera. My questions:
- can python encode raw?
- can python head for a utility like dcraw?
- or head for a utility like IrfanView (delphi?) or something like
that?
Nov 13 '06 #2
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow down a bit. And the
executables do need a little bit of work, because it's bassicly a dll
and a library of all your .pyc files. However python is still a great
language and I would recomend it. And most of these things will
probably be fixed in Python 3000!
Cameron Laird wrote:
In article <11************ *********@b28g2 000cwb.googlegr oups.com>,
lennart <l.************ *@gmail.comwrot e:
Hi,

I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer language.

I like Python. Its free, easy to learn and some favorite programs of my
are written in Python / can understand Python (like OpenOffice) etc.

But I'm not a full-time programmer. I know, that I've only time &
possibility to learn one (= 1) language good. So i ask myself is python
the language I'm looking for?

In the future, i want to write the following applications:[*] A database driven program, which can handle my clients, tasks and
places (= 3 tables, has to work relative with each other). I think,
this isn't a problem for Python[*] As a photographer i like to build a picture management system (also
db) with raw support. Raw is the raw-data from the sensor of the
camera. My questions:
- can python encode raw?
- can python head for a utility like dcraw?
- or head for a utility like IrfanView (delphi?) or something like
that?
.
.
.
Yes.

Yes, Python is generally capable in all the roles you describe.
Perhaps most exciting, though, is that you can try out the
language yourself, TODAY, over the next few hours, and, in no
more time than that, get a realistic if limited idea how it's
likely to work for you. With the right introduction <URL:
http://docs.python.org/tut/ you can be coding usefully in
Python very quickly.
Nov 13 '06 #3
lennart wrote:
But I'm not a full-time programmer. I know, that I've only time &
possibility to learn one (= 1) language good. So i ask myself is python
the language I'm looking for?
Yep! Python is very much a jack-of-all-trades language. I've used it
for similar tasks, including as a front-end for dcraw (I have a little
python script to slurp images from a camera with dcraw and convert them
all to JPEG).

Python has excellent libraries for image manipulation (for example
Python Imaging Library) and for abstracting an SQL database to an
object-oriented form that makes it a snap to work with (I love
SQLAlchemy).

You can learn Python really fast, and it sort of guides you in the
right direction by providing a correct way to do almost everything
without constraining you, so that your code will be consistent and
readable. This, in my opinion, is Python's chief advantage over Perl,
which is the other highly popular dynamic jack-of-all-trades language.
I learned Perl about 10 years ago and loved it for a while, but it's
messy as heck and I find my own code from a few months ago nearly
unreadable... I also spend a lot more time debugging Perl code because
there are so many error-prone things that are silenty allowed rather
than flagged as errors.

I've been using Python for several months and it's just great for
everything. I think it's an ideal first or only programming language!
I've had no reason to write a program in anything else since learning
Python, and I write a LOT of little throwaway programs.

Dan

Nov 13 '06 #4
On Mon, 2006-11-13 at 10:14 -0800, Dan Lenski wrote:
lennart wrote:
So i ask myself is python the language I'm looking for?

Yep! Python is very much a jack-of-all-trades language.
I'll run the risk of being nitpicky, but the full phrase is "Jack of all
trades, master of none," which doesn't do Python justice. Python is a
master of all trades!

But I agree with Dan's sentiment, Python is definitely the language
you're looking for.

-Carsten.
Nov 13 '06 #5

Carsten Haese schreef:
On Mon, 2006-11-13 at 10:14 -0800, Dan Lenski wrote:
lennart wrote:
So i ask myself is python the language I'm looking for?
Yep! Python is very much a jack-of-all-trades language.

I'll run the risk of being nitpicky, but the full phrase is "Jack of all
trades, master of none," which doesn't do Python justice. Python is a
master of all trades!

But I agree with Dan's sentiment, Python is definitely the language
you're looking for.

-Carsten.
Tnx everyone for your response! It's just for me a big step to learn a
new language. Not because of the difficulty, but because of the time
and so.

Later, i remembered that Gimp can also work with python (scripts). So,
even for my second wish, there will be somewhere, somehow a way to do
it.

At least: i use the dutch portal http://python.startpagina.nl/ to start
with. Can you advice me a good Python interpreter, or a good startpage
(as in Python for dummys)?

Lennart

Nov 13 '06 #6

da****@gmail.co m schreef:
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow down a bit. And the
executables do need a little bit of work, because it's bassicly a dll
and a library of all your .pyc files. However python is still a great
language and I would recomend it. And most of these things will
probably be fixed in Python 3000!
>>
<<snip>>
Python very quickly.
Can you define 'large'? Is that large in code, or large in database? I
don't know which database is supported. If its a external db, like
MySql, the query is performed through the software of MySql, am I
right? If I'm correct, the 'slowness' comes from the amount of code in
python itself, not from the database.

Nov 13 '06 #7

Not to be picky, but any slowness in software is rarely because of code
size. Rather, it is the data size and algorithms that play the major
role. Only after you got the first two right is that you should worry
about implementation speed.

That said, you are correct. Only if you intend to do *heavy* processing
of the returned data, your major bottleneck should be the database.

*If* you find Python to be slow(for some specific operation, never for
a whole application), you could always rewrite that section using
another language (C/C++ come to mind), or call external libraries to do
the heavy-lifting. The easy integration between Python and C (compared
to a couple other popular platforms) is what drove me to Python.

Make it work first. Then optimize. And Python helps both.
Stephen

lennart escreveu:
da****@gmail.co m schreef:
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow down a bit. And the
executables do need a little bit of work, because it's bassicly a dll
and a library of all your .pyc files. However python is still a great
language and I would recomend it. And most of these things will
probably be fixed in Python 3000!
>
<<snip>>
Python very quickly.

Can you define 'large'? Is that large in code, or large in database? I
don't know which database is supported. If its a external db, like
MySql, the query is performed through the software of MySql, am I
right? If I'm correct, the 'slowness' comes from the amount of code in
python itself, not from the database.
Nov 13 '06 #8
In article <11************ **********@h54g 2000cwb.googleg roups.com>,
lennart <l.************ *@gmail.comwrot e:
Nov 13 '06 #9
jkn
Hi Carsten
>
I'll run the risk of being nitpicky, but the full phrase is "Jack of all
trades, master of none," which doesn't do Python justice. Python is a
master of all trades!
FYI that's only *one* version of 'the full phrase'. I, for instance, am
a 'Jack of all trades, master of many'. I regard Python in the same
light ;-).

jon N

Nov 13 '06 #10

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

Similar topics

0
9431
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
9255
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
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9844
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...
1
9819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9689
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
6514
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
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
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

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.