Jump to content

Python beginning language

DotoreN

Ok well I first thought I was going to start Java but a lot of people recommended Python to me as it learns better to 'think' like a programmer. 

 

Are there any good books, sites (courses) out there for Python (or java) that are not outdated?

 

Also why would someone take Python over Java for example ? I know they're all different programming languages, but what can you do with Python ?

 

It's not like I want to make something out of the language Python, but I just want to understand programming and I have to start somewhere. Also if I can program in Python, is it possible to make an easy transition to for example Java or C#?

 

Tips & Advice is welcome!

 

Programming is kinda hard if you're not fimilar with it.

Link to comment
Share on other sites

Link to post
Share on other sites

Python is a great language, and very easy to learn. But i would recommend Java if you really want the Object-oriented thinking. Or C#.. Almost the same as java. If you want a good java book, i can highly recommend Levis, John - Java Foundation, third edition. It's a quite expensive book, but really great book, that covers most common methods and best practice! Have fun! :D

Link to comment
Share on other sites

Link to post
Share on other sites

Ok well I first thought I was going to start Java but a lot of people recommended Python to me as it learns better to 'think' like a programmer. 

 

Are there any good books, sites (courses) out there for Python that are not outdated?

 

Also why would someone take Python over Java for example ? I know they're all different programming languages, but what can you do with Python ?

 

It's not like I want to make something out of the language Python, but I just want to understand programming and I have to start somewhere. Also if I can program in Python, is it possible to make an easy transition to for example Java or C#?

 

Tips & Advice is welcome!

 

Programming is kinda hard if you're not fimilar with it.

You can use http://www.codecademy.com/

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer Q802USB Xenyx 8 Input Mixer |  U-PHORIA UMC204HD | Behringer XM8500 Dynamic Cardioid Vocal Microphone | Sound Blaster Audigy Fx PCI-E card.

 

Home Lab:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | Cisco 2960C-LL | HP MicroServer G8 NAS | Custom built SCCM Server.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

 

I have the feeling codeacademy skips a lot of valueable information.. in their practice courses it's really straight forward and I was able to complete a lot of questions/tasks while I had no idea what I was doing..

 

I want to learn programming, not doing/making code while I don't even know what it does.

Link to comment
Share on other sites

Link to post
Share on other sites

I have the feeling codeacademy skips a lot of valueable information.. in their practice courses it's really straight forward and I was able to complete a lot of questions/tasks while I had no idea what I was doing..

 

I want to learn programming, not doing/making code while I don't even know what it does.

I'm using this pdf to learn python. It's thorough and I've learned a lot already. I'm about halfway through.

CPU: AMD FX-6300 4GHz @ 1.3 volts | CPU Cooler: Cooler Master Hyper 212 EVO | RAM: 8GB DDR3

Motherboard: Gigabyte 970A-DS3P | GPU: EVGA GTX 960 SSC | SSD: 250GB Samsung 850 EVO

HDD: 1TB WD Caviar Green | Case: Fractal Design Core 2500 | OS: Windows 10 Home

Link to comment
Share on other sites

Link to post
Share on other sites

is learnpythonthehardway a really good way of learning python without any pre-experience with programming?

 

 

from http://learnpythonthehardway.org/ :

Made for beginners who know nothing about programming.

Not a book claiming to be for beginners but really for programmers.

This book works, and will teach you the basics of programming better than any other book out there.

Mini-Desktop: NCASE M1 Build Log
Mini-Server: M350 Build Log

Link to comment
Share on other sites

Link to post
Share on other sites

Personally, I minored in CS at university, which meant learning Java. I decided to try Python after a friend showed me a piece of Python code that looked astonishingly simple in comparison to what I was used to seeing in Java.

 

After some googling around, I found a few resources and chose the following:

Having taken a beginner course in Java with command line, I opted to use an IDE instead. IDLE is good enough for small stuff, but since I wanted to do some organized projects, I went with PyCharm. After I had read up on Python, I picked up Project Euler (https://projecteuler.net/about) to get some practice in. Currently my goal is to transcribe all of the stuff I've done in Java (very limited, admittedly) into Python so that I can completely ditch Java.

 

Python is a lot cleaner and simpler than Java. Some things that I've used and absolutely love about Python include integers (you don't need to specify the size), random numbers (getting a random integer from a certain range), taking input from users (no need for Scanners).

I own and use, sorted from newest to oldest: SteelSeries 6Gv2. Microsoft SideWinder X4. Mionix Naos 7000. Zowie EC1 Evo. Microsoft SideWinder X8. Microsoft IntelliMouse Explorer 3.0. Dell U2414H. Samsung P2270H. AKG K273 Pro. Sennheiser HD555. Razer Goliathus Speed Medium. Func 1030 L. Qpad CT Medium.

I used to own: Razer DeathAdder 3G. Razer Krait. IntelliMouse Optical 1.1. SteelSeries QcK.

Link to comment
Share on other sites

Link to post
Share on other sites

It all depends on what ya want to do.  Do you want solve problems, or do you want to make code interact with objects?  Then it all comes down to narrowing what you want to do from there.  Books generally don't target the language as a whole in a single book, so you'd need a series.  It's easier/better to focus on what you want to develop, and that comes in handy in also narrowing down the language.

 

I have the feeling that if I have something in mind what I want to make... without any experience in programming that i'm like thrown into the deep. I think you need to think like a programmer first and know some basics before doing that. I also don't know what i'm going to make yet (I actually do but it's really complicated), thus i'd just want to learn a language first, nothing specific and idc what i'm going to make in the end... aslong as it's programming and I actually learn from it.

Link to comment
Share on other sites

Link to post
Share on other sites

Ok well I first thought I was going to start Java but a lot of people recommended Python to me as it learns better to 'think' like a programmer. 

 

Are there any good books, sites (courses) out there for Python (or java) that are not outdated?

http://www.amazon.co.uk/gp/product/0321884914/ref=s9_simh_gw_p14_d0_i1?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-2&pf_rd_r=08X1A62NQ6DTG5M40918&pf_rd_t=101&pf_rd_p=455333147&pf_rd_i=468294

 

I've heard great, and bad things about this book.

 

You could also go to http://www.codecademy.com/, and learn Python there. I recommend getting a book, though.

Link to comment
Share on other sites

Link to post
Share on other sites

http://www.amazon.co.uk/gp/product/0321884914/ref=s9_simh_gw_p14_d0_i1?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-2&pf_rd_r=08X1A62NQ6DTG5M40918&pf_rd_t=101&pf_rd_p=455333147&pf_rd_i=468294

 

I've heard great, and bad things about this book.

 

You could also go to http://www.codecademy.com/, and learn Python there. I recommend getting a book, though.

 

How is Lynda.com compared to codeacdemy?

 

also.. yes I'd like a book.. but idk which one. I'm kind of open to any language as I just want to make a headstart in my programming study that i'm starting soon.

Link to comment
Share on other sites

Link to post
Share on other sites

How is Lynda.com compared to codeacdemy?

 

also.. yes I'd like a book.. but idk which one. I'm kind of open to any language as I just want to make a headstart in my programming study that i'm starting soon.

Unfortunately, I have no experience with Lynda :/

 

Well, Learning Python the Hard way is pretty good.http://www.amazon.co...&pf_rd_i=468294

 

 

Since you are open to pretty much all languages, I suggest that you go for PHP instead of Python. Python is great for beginners, because it is simple. But PHP simpler. And PHP will teach you a lot about web development etc. I don't know any books about PHP though.

Link to comment
Share on other sites

Link to post
Share on other sites

Unfortunately, I have no experience with Lynda :/

 

Well, Learning Python the Hard way is pretty good.http://www.amazon.co...&pf_rd_i=468294

 

 

Since you are open to pretty much all languages, I suggest that you go for PHP instead of Python. Python is great for beginners, because it is simple. But PHP simpler. And PHP will teach you a lot about web development etc. I don't know any books about PHP though.

 

I have the feeling php is kind of old... and there are only books of 2008 out there.. and i'd like an updated language. I heard ruby or ruby on rails are taking over php, maybe I should start with ruby and ruby on rails?

Link to comment
Share on other sites

Link to post
Share on other sites

I have the feeling php is kind of old... and there are only books of 2008 out there.. and i'd like an updated language. I heard ruby or ruby on rails are taking over php, maybe I should start with ruby and ruby on rails?

Go for it ! :)

Link to comment
Share on other sites

Link to post
Share on other sites

I have the feeling php is kind of old... and there are only books of 2008 out there.. and i'd like an updated language. I heard ruby or ruby on rails are taking over php, maybe I should start with ruby and ruby on rails?

 

I would also recommend learning python as a first language. The resource i'd recommend is also "learn python the hard way".  I wouldn't start doing webdevelopment though, since it involves a lot of extra things that will make it more complicated to actually make something that works. And python is just right for that, having a lot of libraries for all sorts of stuff.

 

If you don't know what a library is exactly, learn python the hard way will teach you :P

 

In the end it doesn't really matter what language you pick, you'll learn mainly by creating stuff. I personally think that python will be the easiest road to actually making smth.

Link to comment
Share on other sites

Link to post
Share on other sites

I would also recommend learning python as a first language. The resource i'd recommend is also "learn python the hard way".  I wouldn't start doing webdevelopment though, since it involves a lot of extra things that will make it more complicated to actually make something that works. And python is just right for that, having a lot of libraries for all sorts of stuff.

 

If you don't know what a library is exactly, learn python the hard way will teach you :P

 

In the end it doesn't really matter what language you pick, you'll learn mainly by creating stuff. I personally think that python will be the easiest road to actually making smth.

 

Learnthehardway is a book that goes by python 2, is this not outdated since most of the people use python 3 nowadays?

 

[ I don't know the difference between the 2 versions, but I was wondering whether 2 even still gets used since 3 is out and whether 2 is outdated or not ]

Link to comment
Share on other sites

Link to post
Share on other sites

Learnthehardway is a book that goes by python 2, is this not outdated since most of the people use python 3 nowadays?

 

[ I don't know the difference between the 2 versions, but I was wondering whether 2 even still gets used since 3 is out and whether 2 is outdated or not ]

 

That's a good question actually. While python 3 has been out for quite a while, most people seem to still be using version 2 (or 2.7 to be more precise). I think this is also being said in the book. Don't take my word for it however, I only used python for some small projects.

 

I just checked the python website. Seems python 2 got an update last december, so it's still being maintained. I guess it won't do any harm to learn the 2nd version. In the end it's up to you :)

 

By the way, if I can give you some advice. Don't focus too much on which language to learn, just pick one that seems nice and go make stuff. In the end a programming language is just a tool to create something. No matter what language you pick, you'll always be able to learn something from it, that's also useful in another language.

If you really want to learn how to program, the most important thing is just to build crap. Every programmer has made a monthly payment calculator and stuff like that. As I said, it's a tool to create stuff, so go create stuff that solves some of your problems. The feeling when you get something useful working is really cool. Don't think you need to know every feature before you can do smth. You'll be surprised to see what you can do with the basics.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

Not true, software written in 2.7 is not (always) forward compatible with 3.4!

Link to comment
Share on other sites

Link to post
Share on other sites

If I'm not late tot the party, I would recommend checking out /r/learnprogramming on Reddit and their wiki and FAQ. Getting on the IRC channel on Freenode is also a big help for beginners and the people there are amazing. The Freenode IRC network is an amazing source for information and the people there are always willing to help you. Just don't ask to ask, but ask your question and wait. IRC is no normal chat, people will answer you when they can which sometimes can take a while or won't happen at all. There is a lot you can learn there I would say.

Link to comment
Share on other sites

Link to post
Share on other sites

I have the feeling php is kind of old... and there are only books of 2008 out there.. and i'd like an updated language. I heard ruby or ruby on rails are taking over php, maybe I should start with ruby and ruby on rails?

No, I have been freelance web-developer for 2 years now and had "pleasure" of working with both php(it's like crossfit, gives good results fast, but in the long run will break your neck and back) and ruby (better than php, but slow). If you want to get into web stuff I suggest starting out with python by going through learn python the hard way, than picking up "python head first" which will give you some knowledge about how to use python for different applications. After that depends on what you want to do. If you want to do web development than you should look into either Flask framework or Django. 

Link to comment
Share on other sites

Link to post
Share on other sites

Pythons is a great language. And my two sites are

codecademy.com & Lynda.com

However, the latter cost money.

Link to comment
Share on other sites

Link to post
Share on other sites

I would also recommend python to start with, because it is very easy to pick up, and can learn you a lot of programming structures. With java you need to understand the concept of object-orientated programming first, which is hard to understand if you are not used to simple procedural programming

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×