Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

SNAKES RULE! 100 Days of Code, 2 of 100

  • April 25, 2018September 6, 2018
  • by Richard Clarke

It’s funny when people say coding is too hard. Those people never tried Python!

Continuing where I left off, I managed to successfully install the virtual machine per the instructions in the Relational Databases course on Udacity. I completed about a third of part 3, Pythong DB-API. I now see the fun side of Python.

It’s able to perform method calls that query information from databases. Combine that with a web application, and you’ve got a heck of a system! But the real enjoyment is in the syntax.

Firstly, no importing utilities or creating classes or methods. In the exercises thus far, I’ve seen some of the simplest lines of code ever. Variable declarations don’t need data types, you just declare them! In one exercise, I declared a string variable to be used as a query later in the script.

query = select name, id from students

THAT’S IT! It’s so simple. I don’t have to worry about missing semicolons or anything. Sorry Java, but today Python showed me just where the water drop hits the pond.

 

Related

Master Plan! 100 Days of Code, 1 of 100
Sharing is Caring 3/100 Days of Code
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.
API application database DB DB-API interface Programming python web website

Related articles

Your New Favorite Stopwatch App!…
Two for Two BABY! 7…
…But the App is for…
Play Store Blues – 5…
Top 4 Tips for Android…
No Dice – 3 of…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress