User Tools

Site Tools


load_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
load_data [2024/02/05 20:15] – created justinload_data [2025/08/22 14:41] (current) justin
Line 1: Line 1:
 ======Load Data====== ======Load Data======
 ---- ----
-(WIP)+Loads custom data from a file that was previously saved using the [[Save Data]] function. If the data was saved with a password, it must be provided when loading it. The function returns the value that was stored in the file, which can then be stored into a variable or property. 
 + 
 +For more information on using data files, check out [[https://youtu.be/TYr246Xhsvw|Slayer's tutorial on YouTube]].
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-load_data()+load_data(filename, password)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|filename| |[[String]]|Yes| 
 +|password| |[[String]]|No| 
 + 
 +^Return Value^Description^Type^ 
 +|Data|Returns the data that was stored in the file.|Varies|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-load_data();+
 </code> </code>
 //Results:// //Results://
load_data.1707192923.txt.gz · Last modified: 2024/02/05 20:15 by justin