Python tutorial series for people used to systems languages?

B3ed6ad08336f0458484147516e4fdaa
0
PnP_Bios 101 Oct 06, 2005 at 22:28

I’ve been doing C/Dirty C++ programming for a while, and I finaly decided to give python a try.

At first, it blew my mind. I didn’t think I would be able to cope with a language that didn’t use brackets, pointers, strict typing, and all that fun stuff. Then to my supprise, something like this was a valid statement:
x,y = y,x

I was just wondering if there is a series or some tutorials on python geared to us recovering systems language coders. I’m enjoying learning python, it’s a great language, but I wouldn’t mind having a learning guide for when i finally decide to get around to tackling pygame.

And if there isn’t a tutorial series, I wouldn’t mind writing one further along down the road.

Cheers.

10 Replies

Please log in or register to post a reply.

B3ed6ad08336f0458484147516e4fdaa
0
PnP_Bios 101 Oct 09, 2005 at 14:16

There doesn’t seem to be…

So I guess I will just have to write my own then.

53c9ca5bb3b13224adc23291ed6293ed
0
void_ 101 Oct 14, 2005 at 07:47

http://ibiblio.org/obp/thinkCS/python/english/ is a quite good book, but Python is one of those laguages where a good reference (http://python.org/doc/2.4.2/) and some happy hacking (maby with PyGame =) makes you learn best.

F373d9db2d13fdef465493773a6affab
0
roxtar 101 Oct 14, 2005 at 20:08

Well I would say that Python is a simple language to learn especially if you have previous programming experience. You can easily adjust to the syntactical difficulties (like indentation) usually encountered when coming from a C/C++/Java background, I did.
I read the python manual which comes with python and it is pretty adequate. Best idea is to play in IDLE.

B7dcbc0c0f07253f25ff5c25fe38c081
0
SamuraiCrow 101 Oct 15, 2005 at 02:33

When you write your tutorial could you include some examples of multithreading please?

B3ed6ad08336f0458484147516e4fdaa
0
PnP_Bios 101 Oct 15, 2005 at 03:36

that could be fun. when I learn it, i’ll do it.

406ad7b52f4ed7443e3971e6b2adf430
0
kariem2k 101 Oct 15, 2005 at 15:08

Hi
what i will say will not support you in learning python,sorry.

if you get dirty C ,you must go with a clean language like c# not a cleaning freak like python.

c/c++ gives you much power but with much effecrts to make a small gui app,but with c# it almost has the power of c/c++ but with much simplicity but python is not a real language it is a scripting language.
thanks

B3ed6ad08336f0458484147516e4fdaa
0
PnP_Bios 101 Oct 15, 2005 at 17:07

@kariem2k

Hi
what i will say will not support you in learning python,sorry.

if you get dirty C ,you must go with a clean language like c# not a cleaning freak like python.

c/c++ gives you much power but with much effecrts to make a small gui app,but with c# it almost has the power of c/c++ but with much simplicity but python is not a real language it is a scripting language.
thanks

Hi troll. Python obviously isn’t the be all, end all of programming languages, but it’s blatently obvious that it’s more than just a scripting language if you have looked into any of it’s applicaitons, including games, applications, and web development.

C# is nice, but it’s not what i’m into right now.

2562953b4e8e2602a8bfc24b1123a341
0
EvilSmile 101 Oct 15, 2005 at 18:54

Even I’ve started trying out Python recently (got a li’l bit of experience with C/C++) and it turned out to be the best programming experience I’ve had so far. PnP_Bios, do not hesitate. Take the plunge into learning Python. It is a very pleasant experience.

I’ve found this channel quite helpful too, along with standard Python documentation:
#Python on EFnet (I think it is irc.efnet.org but you better check on Google. If you are using XChat, you have it listed already).

B3ed6ad08336f0458484147516e4fdaa
0
PnP_Bios 101 Oct 15, 2005 at 19:32

Like I’ve said, I’ve already been playing around with some of the features. polymorphism and function pointer emulation is so freaking easy.

I just need an idea for a game to make.

Cd577ee1cb56aa2ad5645b7daa0a2830
0
eddie 101 Oct 28, 2005 at 16:55

@PnP Bios

Hi troll. Python obviously isn’t the be all, end all of programming languages, but it’s blatently obvious that it’s more than just a scripting language if you have looked into any of it’s applicaitons, including games, applications, and web development. C# is nice, but it’s not what i’m into right now.

It warms my heart for you to stand up for a language you’ve just started investigating. Bravo! :)

The line between scripting languages and traditional languages ‘is’ being blurred, however. Most people assume that anything run-time compiled and interpreted is a ‘scripting language’ (Java would count in some cases then…), others thing of something that doesn’t support user defined data types (bash, .bat files, .cmd files, etc).

Really, they’re all languages and they all get their respective jobs done. I usually just ignore someone who says “It’s just a scripting language” as an argument to anything, because they’re obviously slapping a label that means absolutely nothing if it gets the job done, and makes it easy for you to do so. They have no valid argument, so they’ve fallen back to ‘name’ calling.

</rant> :)

As to your question, I personally just picked up Python and did some basic ‘scripting’ level tasks (build automation) and the like to get into the habit of things. Try something like that yourself, and see if it simplifies your life, and build up from there. :)

You have to write a mountain of bad code in a new language to get a nugget of good code, so the best thing I can recommend is to start coding! :)