About 4,660,000 results
Open links in new tab
  1. Calculate CRC32 correctly with Python - Stack Overflow

    Note that Python 3 guarantees that binascii.crc32 returns an unsigned value, and 2.6 and 2.7 should be guaranteeing a signed value, so platform differences shouldn't be affecting this.

  2. python - How to calculate number of days between two given …

    If I have two dates (ex. '8/18/2008' and '9/26/2008'), what is the best way to get the number of days between these two dates?

  3. Age from birthdate in python - Stack Overflow

    How can I find an age in python from today's date and a persons birthdate? The birthdate is a from a DateField in a Django model.

  4. calculator - How do I infinitely loop this program in python?

    Apr 3, 2015 · Alright, I'm just starting to learn python, and have no idea where else to pose this question. I wrote this calculator and it works. a,b=input("Enter two numbers (sperated by a …

  5. Calculator Loop in Python - Stack Overflow

    Apr 20, 2016 · Need to add a loop to my calculator by giving the user an option to restart the calculator by putting the code in a while loop with the condition that the input from user should …

  6. How do I find the time difference between two datetime objects in …

    More details: Find if 24 hrs have passed between datetimes - Python. To get reliable results, use UTC time or timezone-aware datetime objects.

  7. Calculate (road travel) distance between postcodes/zipcodes python

    May 25, 2017 · I have a csv file with start and end postcodes (UK equivalent of US zipcodes) and would like to compute simple distance, road travel distance and travel time between the two. I …

  8. How to make a calculator in Python 3 - Stack Overflow

    Apr 26, 2021 · I need to create a calculator in Python that can perform all of these tasks. I have gotten this far with my code to do addition, subtraction, multiplication, and division. Can …

  9. How do you calculate program run time in python? [duplicate]

    How do you calculate program run time in python? [duplicate] Asked 14 years, 7 months ago Modified 7 years, 2 months ago Viewed 488k times

  10. Haversine formula in Python (bearing and distance between two …

    Feb 6, 2011 · Here are two functions to calculate distance and bearing, which are based on the code in previous messages and Compass bearing between two points in Python (I added a …