Python Programming & other inferior programming languages thread

Discussion in 'The Mainboard' started by Walt Disney, Jul 15, 2015.

  1. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    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.
     
    Walt Disney likes this.
  2. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    yeah I did so the coursera course was too basic for me
     
  3. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

  4. nofatchildren - cissp

    nofatchildren - cissp Free Da Guys
    Donor TMB OG
    Tiger Woods

    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.
     
    #54 nofatchildren - cissp, Jul 16, 2015
    Last edited: Jul 16, 2015
    Where Eagles Dare likes this.
  5. Where Eagles Dare

    Where Eagles Dare The Specialist Show On Earth
    Donor
    Auburn TigersAtlanta BravesWashington Football TeamAtlanta United

    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.
     
  6. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    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.
     
  7. Shiggityshwo

    Shiggityshwo Well-Known Member
    Donor TMB OG
    North Carolina TarheelsAtlanta BravesAtlanta UnitedUnited States Men's National Soccer Team

    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
     
  8. fattus

    fattus Well-Known Member
    Donor
    Colorado RockiesDenver NuggetsDallas CowboysColorado AvalanceBoise State Broncos

    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
     
    kennypowers likes this.
  9. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    can i make a python script that autoposts once every 5 hours to this thread to keep it first paged
     
  10. FrankReynolds

    FrankReynolds Go Blue
    Donor TMB OG
    Penn State Nittany LionsLiverpool

  11. animal_mother

    animal_mother Well-Known Member
    Clemson TigersTennessee TitansLiverpool

    anyone here had any experience w/ Code Academy?
     
  12. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    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.
     
    BellottiBold, Neyland and fattus like this.
  13. Space

    Space slicked back hair, white suit, sloppy steaks
    Donor
    Miami Hurricanes

    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.
     
    Wellen Dowd likes this.
  14. OHW

    OHW Well-Known Member
    Donor TMB OG
    Nebraska CornhuskersSan Francisco GiantsDemocrat

    I don't have a coding background, but I've been using it for beginning HTML/CSS and it's been pretty helpful. :twocents:
     
    animal_mother likes this.
  15. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i think MIT has like their entire curriculum available for free
     
    Space likes this.
  16. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    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.
     
    Space, fattus and animal_mother like this.
  17. Neyland

    Neyland Well-Known Member

    Amen. It is a great feeling when you step away from the computer and that bitch does what it is supposed to do.
     
    JB Hawk likes this.
  18. Goose

    Goose Hi
    Donor
    Ohio State BuckeyesCincinnati BearcatsCincinnati RedsCincinnati BengalsReal MadridXavier MusketeersDayton FlyersTiger WoodsFC CincinnatiPGA

  19. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    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)
     
    #69 leroi, Jul 16, 2015
    Last edited: Jul 16, 2015
  20. fattus

    fattus Well-Known Member
    Donor
    Colorado RockiesDenver NuggetsDallas CowboysColorado AvalanceBoise State Broncos

    Bookmarked. Thanks.
     
  21. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Lol totally read this question wrong
    Print ("I am retarded")

    Notepad++ for me
    Well usually ipython notebook

    Run it in powershell
     
  22. Cooler

    Cooler A mans gotta eat
    Donor
    Iowa HawkeyesChicago CubsChicago BearsUnited States Men's National Soccer Team

    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.
     
  23. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    I'm a C# developer, so let me know if you have any questions.
     
    clemsontyger04 likes this.
  24. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    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.
     
    nofatchix likes this.
  25. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    Visual Studio but when I'm not forced to use that I prefer Sublime
     
  26. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    That's awesome, I was actually looking into building a Fantasy Football application so this would be perfect.
     
  27. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    gonna experiment with sublime and pycharm today to see

    sublime's twighlight is a cool color scheme

    pycharm seems really slow right now
     
  28. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    VI when at the office, sublime if I'm at home on the macbook.
     
  29. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    pycharm is too slow
     
  30. Name P. Redacted

    Name P. Redacted I have no money and I'm also gay
    Donor
    Kansas State WildcatsSeattle Kraken

    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.
     
    Lifeiskilingme79 and Walt Disney like this.
  31. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    If you're a hipster and like the sleekness of Sublime, I've heard Atom is pretty kewl.
     
    Walt Disney likes this.
  32. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Atom is neat!

    Think I'm gonna switch to this.
     
  33. Space

    Space slicked back hair, white suit, sloppy steaks
    Donor
    Miami Hurricanes

    Sorry if I wasn't clear before, but I have no idea what I'm doing. Is Python a good language to start with?
     
  34. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    had to present my python stuff to our department and used atom as the editor to show them :smugdog:
     
  35. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    YES

    read thread title imo
     
    Space likes this.
  36. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    you can just do so much in Python
     
    Space likes this.
  37. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    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.
     
    Space likes this.
  38. Space

    Space slicked back hair, white suit, sloppy steaks
    Donor
    Miami Hurricanes

    Cool-- thanks guys. I will check out the Zed Shaw stuff!
     
    Walt Disney likes this.
  39. Aaron Hernandez

    Aaron Hernandez LikeMyPostCampaign: https://bit.ly/2kKJpot
    Donor
    Liberty Flames

    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.

    [​IMG]
     
  40. Aaron Hernandez

    Aaron Hernandez LikeMyPostCampaign: https://bit.ly/2kKJpot
    Donor
    Liberty Flames

    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.
     
  41. Where Eagles Dare

    Where Eagles Dare The Specialist Show On Earth
    Donor
    Auburn TigersAtlanta BravesWashington Football TeamAtlanta United

    Which part is course 2? The introduction to interactive programming?
     
  42. Aaron Hernandez

    Aaron Hernandez LikeMyPostCampaign: https://bit.ly/2kKJpot
    Donor
    Liberty Flames

    yeah its a separate course called "An Introduction to Interactive Programming in Python (Part 2)"
     
    Where Eagles Dare likes this.
  43. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

  44. Barves2125

    Barves2125 "Ready to drive the Ferarri" - Reuben Foster
    Donor TMB OG
    Alabama Crimson TideAtlanta BravesManchester CityBirmingham LegionUnited States Men's National Soccer TeamPoker

    Any of you folks do mobile app programming?
     
  45. Aaron Hernandez

    Aaron Hernandez LikeMyPostCampaign: https://bit.ly/2kKJpot
    Donor
    Liberty Flames

    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.
     
  46. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    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
     
  47. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    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.
     
    Walt Disney likes this.
  48. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    Sounds like it. Do a string split in the second column on the comma and then associate that with the State.
     
    Walt Disney likes this.
  49. Krieger

    Krieger Pita Predator
    Donor

    bookmarking this thread for my fall classes
     
  50. Room 15

    Room 15 Mi equipo esta Los Tigres
    Donor
    Auburn TigersAtlanta BravesAtlanta FalconsUnited States Men's National Soccer Team

    May be easier to do this in vba?