Bottom Page

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
Quote
#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

Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Importing/loading a library file (.so) tomasby 0 332 Aug-24-2019, 08:13 PM
Last Post: tomasby
  Getting error while loading excel(.xlsx) file using openpyxl module shubhamjainj 1 3,070 Mar-01-2019, 01:05 PM
Last Post: buran
  error creating new object after loading pickled objects from file arogers 2 610 Feb-02-2019, 10:43 AM
Last Post: Larz60+
  Error while loading the csv file Analyst 3 6,818 Oct-18-2017, 07:07 AM
Last Post: Analyst

Forum Jump:


Users browsing this thread: 1 Guest(s)