How do you remove leading zeroes in Python formatted dates? I have been sending data through to a Suitescript API endpoint and have received the error that the date information I am sending through needs to be of the format D/M/YYYY, here's the … [Read more...] about How To Remove Leading Zeroes With Python Dates
Python
Python is a great language to get started with and one that you can operational with quite quickly, especially if you have to deal with data in your line of work.
I have been able to use Python to help wrangle through CSV files, fetch data remotely from the web using the famous requests library, and do some database operations.
Python has a REPL feature that can help you tinker with the code and quickly test the syntax as you learn. There are many helpful resources, and some of the posts below are things I've learned (and am still learning!) along the way, hopefully they can help assist you in your journey too.
Convert JSON To CSV In Python: Complete Code With Example
How do you convert JSON to CSV using Python quickly and easily? If you're looking to store data received from an API that responds with JSON data and want to convert this to a CSV file then Python can easily help. Simply import the standard … [Read more...] about Convert JSON To CSV In Python: Complete Code With Example
JSON.dumps Not Able To Serialize Object
If you have tried to serialize an object in Python into JSON you may have come across an oblique error that mentions you're unable to serialize it, but what does this mean? I recently had an example whereby I needed to transfer a dict object … [Read more...] about JSON.dumps Not Able To Serialize Object
Download Multiple Files On Web Page Using Requests And BeautifulSoup
Ever found yourself scrolling through a web page filled with multiple files, feeling overwhelmed with the tedious process of clicking on each one individually to download them? Wouldn't it be great to automate this task, saving both time and … [Read more...] about Download Multiple Files On Web Page Using Requests And BeautifulSoup
Can You Download Python for Free? Where and How?
If you are interested in learning Python programming language, you might be wondering whether you can download it for free. The answer is yes, you can download Python for free. Python is an open-source programming language, which means that its … [Read more...] about Can You Download Python for Free? Where and How?
Download Files Using Python Requests Library
If you're looking to download a file using Python, the requests library is a great option to consider. This library allows you to easily make HTTP requests and handle responses in a Pythonic way. First, you'll need to install the requests library … [Read more...] about Download Files Using Python Requests Library