473,795 Members | 3,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hobbyist - Python vs. other languages

I have been playing with computers since I first learned to program
moving shapes on an Atari 800XL in BASIC. After many years of dabbling
in programming languages as a hobbyist (I am not a computer scientist
or other IT professional), I have never found a way to stick with a
language far enough to do anything useful. I learn all about loops
and data structures and functions/methods etc. but never get to create
a program that will do anything of value that I can't more easily do
via freeware. Well, except the slot car timing system I wrote in C++
for Linux many moons ago.

Honestly Python seems like a breath of fresh air and possibly a way to
get back to my BASIC roots, you know, programming just for the fun of
it.

Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
Jul 31 '08 #1
8 1334
On Jul 31, 1:32*pm, fprintf <stuart.a.h...@ gmail.comwrote:
I have been playing with computers since I first learned to program
moving shapes on an Atari 800XL in BASIC. After many years of dabbling
in programming languages as a hobbyist (I am not a computer scientist
or other IT professional), I have never found a way to stick with a
language far enough to do anything useful. *I learn all about loops
and data structures and functions/methods etc. but never get to create
a program that will do anything of value that I can't more easily do
via freeware. Well, except the slot car timing system I wrote in C++
for Linux many moons ago.

Honestly Python seems like a breath of fresh air and possibly a way to
get back to my BASIC roots, you know, programming just for the fun of
it.

Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
I've noticed that there's a gap between learning the syntax and
actually being able to do something myself. It's pretty annoying.
However, all you need is to come up with some projects that you'd like
to do, such as inventorying some collection you have (CDs, DVDs,
Clocks, whatever). Then you have a place to start.

The next step is to break the project down into smaller parts until
you have parts to tackle. Let's say you want to inventory your DVDs
for example. First, you'd need to figure out how much data about each
title you want. Examples might include Title, Director, top 3 actors,
price, and purchase date. Once you know what you want to store, you
can learn about data persistence (i.e. databases!).

Or you could join a local Python Users Group or an open source
project. I learn a lot just helping people on this and other Python
lists.

Mike
Jul 31 '08 #2
fprintf:
and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
A programming language is a tool to solve problems, so first of all:
do you have problems to solve? You can create some visualizations,
some program with GUI, some networked code to download things and
process them, etc.

Another thing is that you probably have to learn beyond syntax, you
can learn about GUIs, network protocols, PyGame, mathematics, some
science, etc, they will give you both more things to learn (about the
language too) and problems/ideas to solve.

Bye,
bearophile
Jul 31 '08 #3
fprintf wrote:
I have been playing with computers since I first learned to program
moving shapes on an Atari 800XL in BASIC. After many years of dabbling
in programming languages as a hobbyist (I am not a computer scientist
or other IT professional), I have never found a way to stick with a
language far enough to do anything useful. I learn all about loops
and data structures and functions/methods etc. but never get to create
a program that will do anything of value that I can't more easily do
via freeware. Well, except the slot car timing system I wrote in C++
for Linux many moons ago.

Honestly Python seems like a breath of fresh air and possibly a way to
get back to my BASIC roots, you know, programming just for the fun of
it.

Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
--
http://mail.python.org/mailman/listinfo/python-list
My situation's a bit different because I code for a living, but I also
code sometimes for the heck of it. I come up with small, hobby projects
one of two ways. (1) There's a whole lot of comp sci stuff out there
that I don't know. So when I come across a new concept, pattern, etc., I
write a little implementation. E.g., one day I was reading about how
someone used memoization in a certain problem (don't remember what), so
I thought "I bet I could do that as a decorator." So I did. (2) If you
have some simple task, write a program to do it (even if there's a
program out there already). E.g., I recently took a trip to Japan and
decided to learn the kana before going. I found a website to help me
learn them, then implemented my own version in Python for the heck of it.

If you just examine the things you do with a computer, and challenge
yourself "I bet I can do that in 100 lines of Python," I think you'll
find no shortage of projects.

-Matt
Jul 31 '08 #4
>Since I don't have a specific problem to solve, besides
Pythonchalleng e (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
You may enjoy:

http://www.pythonchallenge.com/

It's a blast and a half. To solve the
puzzles you have to write python programs
that do various things.

Toby
** Posted from http://www.teranews.com **
Aug 1 '08 #5
On Jul 31, 1:32*pm, fprintf <stuart.a.h...@ gmail.comwrote:
I have been playing with computers since I first learned to program
moving shapes on an Atari 800XL in BASIC. After many years of dabbling
in programming languages as a hobbyist (I am not a computer scientist
or other IT professional), I have never found a way to stick with a
language far enough to do anything useful. *I learn all about loops
and data structures and functions/methods etc. but never get to create
a program that will do anything of value that I can't more easily do
via freeware. Well, except the slot car timing system I wrote in C++
for Linux many moons ago.

Honestly Python seems like a breath of fresh air and possibly a way to
get back to my BASIC roots, you know, programming just for the fun of
it.

Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
Don't overlook comp.lang.pytho n as a source.

Can you answer every problem posted? If not, you've much
to learn. And solving them, even if you never reply, is a
great learning experience.

I try to reply when I think I have an answer, often to be
disappointed by someone else's much better answer. But I see
such as much for my benefit as for that of the OP.
Aug 1 '08 #6
On 31 jul, 15:32, fprintf <stuart.a.h...@ gmail.comwrote:
I have been playing with computers since I first learned to program
moving shapes on an Atari 800XL in BASIC. After many years of dabbling
in programming languages as a hobbyist (I am not a computer scientist
or other IT professional), I have never found a way to stick with a
language far enough to do anything useful. *I learn all about loops
and data structures and functions/methods etc. but never get to create
a program that will do anything of value that I can't more easily do
via freeware. Well, except the slot car timing system I wrote in C++
for Linux many moons ago.

Honestly Python seems like a breath of fresh air and possibly a way to
get back to my BASIC roots, you know, programming just for the fun of
it.

Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
Are you interested in web development?
This could be a very good way to use python for doing useful things,
since any app you create for the web can be instantly available to
thousands of people. And now you have Google App Engine, which is a
new and free way to get your python app online.
Actually, any problem you may want to solve should have some kind of
graphical interface if you want your app to be used by other people.
So why not giving your apps a web interface? It has many advantages,
and it seems to be the way to go today.
Aug 1 '08 #7
Tobiah wrote:
You may enjoy:

http://www.pythonchallenge.com/

It's a blast and a half. To solve the
puzzles you have to write python programs
that do various things.
Thanks for that. I can see that will keep me amused for quote some time.
Aug 5 '08 #8
On Jul 31, 8:32*pm, fprintf <stuart.a.h...@ gmail.comwrote:
Since I don't have a specific problem to solve, besides
Pythonchallenge (which I found very cryptic), and Project Euler (which
I found beyond my mathematics skills), is there a place to go for
increasingly difficult problems to solve? I have followed a number of
the recommended online tutorials that contain a logical progression of
problems and yet they all end at the point where a person has enough
knowledge of the syntax, but not really enough to do anything.
Just today I saw this recipe on the cookbook, "TV-Series Current
Episode Info":
http://code.activestate.com/recipes/572193/
As you see, there are plenty of useful things you can do with a
programming language ;)
Another trivial example: I am keeping an electronic journal as a
Python script which checks today's date, create a file with that date
(if it does not exist already) and open it with Emacs. That's all. I
can search the journal with grep. Since I write the journal in rst
format I can publish it on the Web in HTML or print it in PDF. It
takes 20 minutes to write a script like that, and it working better
for my needs than any commercial application could. The biggest
feature is the absence of features: less is more.

Michele Simionato
Aug 5 '08 #9

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

Similar topics

220
19174
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
19
4129
by: KefX | last post by:
I've been following the group a bit (somewhat loosely; discussions involving other languages or advanced concepts kind of lose me), and I see all this negativity (OMG Python's lambda is borken roflol, use teh othar langauge). I as a relative newcomer to Python pay little heed to the criticism, though. A few things in Python are counterintuitive, yes, but what language doesn't have such things? And I feel that one can master the syntax of...
226
12717
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> d1 = {'a':1} >>> d2 = {'b':2} >>> d3 = {'c':3}
28
2608
by: Maboroshi | last post by:
Hi I am fairly new to programming but not as such that I am a total beginner From what I understand C and C++ are faster languages than Python. Is this because of Pythons ability to operate on almost any operating system? Or is there many other reasons why? I understand there is ansi/iso C and C++ and that ANSI/ISO Code will work on any system If this is the reason why, than why don't developers create specific Python Distrubutions...
68
5902
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
25
5770
by: abhinav | last post by:
Hello guys, I am a novice in python.I have to implement a full fledged mail server ..But i am not able to choose the language.Should i go for C(socket API) or python for this project? What are the advantages of one over the other in implementing this server.which language will be easier? What are the performance issues?In what language are mail servers generally written?
53
4387
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
35
2388
by: John Coleman | last post by:
Greetings, I have a rough classification of languages into 2 classes: Zen languages and tool languages. A tool language is a language that is, well, a *tool* for programming a computer. C is the prototypical tool language. Most languages in the Algol family are tool languages. Visual Basic and Java are also tool languages. On the other hand, a Zen language is a language which is purported to transform your way of thinking about...
17
2978
by: MilkmanDan | last post by:
I'll be a college freshman this fall, attending Florida Institute of Tech studying electrical engineering. I was considering taking some classes in programming and computer science, and I happened to notice that everything taught is using C++. After further research, it seems to me that C++ seems to be the dominating language in universities. By comparison, our local community college teaches a few classes in VB, Java, Javascript,...
0
9519
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
10437
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
10214
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
10001
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
9042
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2920
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.