I haven't touched python in a while, but that website is a great starting point for someone with no programming experience. Online classes are going to be better for fundamentals, at least for me, but there is a Python programming course on Coursera if I remember correctly.
http://open.umich.edu/education/si/coursera-programming-everybody/winter2014/materials also there is the coursera class 'Python for Programming' if you cannot get into it now or want access to videos after it's over
I just transferred to a job where I'm going to be doing a ton of C# programming. I don't know C#. Should be awesome.
Yeah. Outside of understanding SQL at an OK level, I don't have much of a foundation. The assignments and quizzes are pretty easy and the weeks are light learning. Just understanding new vocabulary and applying it in the right context.
Once you get a little bit of the syntax squared away and figure out the basics I've found the best way for me to learn any language is to just get thrown in the fire and start working on real life problems that you are trying to solve. It becomes an obsession after a while in trying to get a working code then, at least in my case, making that code faster and more memory efficient. If you get wrapped up in a code you can work some 12+ hour days and not even realize it until you step away from the computer and your eyes feel like they're bleeding.
this is what I noticed just doing some of the more demanding assignments for class, strangely exhilarating when you finally get it to work properly
I'm just a scripter. ksh and perl. I dabble a bit in python but only for wlst scripts. I used to do PL/SQL but not anymore. I really only have to do wlst for my job but since I'm the only one who can script worth a shit I end up doing shell/perl to help others out. Oh, and the obligatory: s/tmbrules/srsdumbfagot/g
One of my devs sent me this the other day, which is hilariously awful: https://en.wikipedia.org/wiki/Brainfuck
Oh I can bash like nobody's business. Before I learned other codes I was positive that I could accomplish anything on the planet with awk, sed, and grep.
I'm kinda interested in learning a language as a hobby. I took some computers classes in high school where they taught us uhhh i think HTML, VB, and C, but I can't remember shit besides enjoying it. Any thoughts/advice on where to start? I realize this is pretty vague, but whatever, I prefer advice here over reddit or some random site.
I don't have a coding background, but I've been using it for beginning HTML/CSS and it's been pretty helpful.
That's a good resource, but I cannot recommend http://learnpythonthehardway.org/book/ enough for a beginner. Zed Shaw has spent a lot of time really building out a course that gets you used to simple programming logic and syntax all the way to objects and inheritance.
Amen. It is a great feeling when you step away from the computer and that bitch does what it is supposed to do.
i typically write code in Notepad++ that is either written for the google app engine SDK (which is sweet, y'all should check it out) or for arcpy (which is a proprietary GIS/geoprocessing package)
Lol totally read this question wrong Print ("I am retarded") Notepad++ for me Well usually ipython notebook Run it in powershell
Did python in college and haven't touched it since. My job is all about C#. Also, learning some powershell on the side for a different job.
If you are familiar with other languages it's not too bad. It's strongly typed though so it's kind of an adjustment if you come from a language where types are inferred.
That's awesome, I was actually looking into building a Fantasy Football application so this would be perfect.
gonna experiment with sublime and pycharm today to see sublime's twighlight is a cool color scheme pycharm seems really slow right now
PyCharm is definitely not lightweight. It has a ton of features. I just like it since I can run the script directly from the IDE.
Sorry if I wasn't clear before, but I have no idea what I'm doing. Is Python a good language to start with?
Definitely a great language to start out with. Unless you're choosing some obscure language, the principles for Object Oriented Programming will be the same more or less.
Doing both Python courses on coursers right now. Just finished my Memory card game. I photoshopped all the instructors heads on playing cards. Plan on using this graphic in some way for every project.
The two part Python courses on coursera do have "intro to programming" in the title so I'm sure an advanced programmer wont get much out of it, but the second part is significantly harder than the first. The first part you spend the whole time learning syntax, logic, and iteration. Then the second part you jump right into object oriented programming. Building the games are pretty fun also. I think if you want a nice leisurely walk through Python you can take both Parts. And if you want to learn it at an aggressive pace you can figure out the basics yourself and start off with part 2.
ah I didnt even see the Rice University Python courses https://www.coursera.org/course/interactivepython2
They're part of a 6 course specialization certificate that I'm going to try to finish by november if my work schedule doesnt change.
Anyone know how this could be done in Python? I asked in stackoverflow but one guy was a douche and said to include what code I have tried (#Ididntknowwheretostart I ended up manually typing this out so it's not an issue anymore. But would have been nice to python this) say I had for example 2 columns in an excel sheet. Column A had States, Column B has 10 cities (But all the cities are in one cell; so A2 has Tennessee, B2 has 10 cities in Tennessee) Like Below How would i get this in the second format? so its one line for state and one city -----Original Format------ State_________________City Tennessee_____________Brentwood, Nashville, Franklin, etc Florida________________Destin, Panama City, Orlando, etc Georgia_______________Griffin, Peachtree City, Atlanta, etc ------How I want it------ State________City Tennessee____Brentwood Tennessee____Nashville Tennessee____Franklin Florida_______Destin Florida_______Panama City Florida_______Orlando Georgia______Griffin Georgia______Peachtree City Georgia______Atlanta
Are the cities separated by white space? Sounds like you want to set up a dictionary so you can index between the city and state.
Sounds like it. Do a string split in the second column on the comma and then associate that with the State.