Python Forum
Help loading INT from a file.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help loading INT from a file.
#1
hello, I'm new here, and new to python. so please be patient with me lol Smile
I'm making an app to track my cycling miles. I need to be able to load saved "miles" from a file and set the int to a global variable to be used by the app, and the reverse when miles are added I need to save or update the save file.
easiest way would be great, I'm new and its just a simple app. iv researched several ways to do it, but its all confusing to me.
any help would be greatly appreciated. Thank you! Big Grin
Reply
#2
What have you tried? We're not big on writing code for people here, but we would be happy to help you fix your code when you run into problems. When you do run into problems, please post your code in Python tags, and clearly explain the problem you are having, including the full text of any errors.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Next/Prev file without loading all filenames WilliamKappler 9 458 Apr-12-2024, 05:13 AM
Last Post: Pedroski55
  Loading large .csv file with pandas hangejj 2 2,375 Jun-08-2020, 01:32 AM
Last Post: hangejj
  Importing/loading a library file (.so) tomasby 0 2,071 Aug-24-2019, 08:13 PM
Last Post: tomasby
  Getting error while loading excel(.xlsx) file using openpyxl module shubhamjainj 1 8,964 Mar-01-2019, 01:05 PM
Last Post: buran
  error creating new object after loading pickled objects from file arogers 2 3,418 Feb-02-2019, 10:43 AM
Last Post: Larz60+
  Error while loading the csv file Analyst 3 10,227 Oct-18-2017, 07:07 AM
Last Post: Analyst

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020