new file structure and some changes to the main file
This commit is contained in:
@@ -30,7 +30,7 @@ class PriceExtractor:
|
||||
|
||||
def readfile(self, filename):
|
||||
"""Reads a new file that contains links in csv format. Arguments:
|
||||
Filename. Either specify full path (e.g. /home/[username]/price_extractor/prices.csv), relative path when
|
||||
Filename. Either specify full path (e.g. /home/[username]/webscratching/prices.csv), relative path when
|
||||
inside the folder of the executable (e.g. /pricedata/prices2.csv) or inside another folder that is located in
|
||||
the parent folder (e.g. ../pricedata/prices3.csv).
|
||||
Returns the content of the file inside of a list.
|
||||
@@ -38,4 +38,4 @@ class TopGamesUpdater:
|
||||
self.__go = 0
|
||||
|
||||
|
||||
print(TopGamesUpdater().updater())
|
||||
TopGamesUpdater().updater()
|
||||
@@ -4,10 +4,16 @@ import time
|
||||
from kivy.uix.screenmanager import ScreenManager
|
||||
from kivy.uix.popup import Popup
|
||||
from kivy.lang import Builder
|
||||
from kivy.clock import mainthread
|
||||
from kivymd.app import MDApp
|
||||
from kivymd.uix.screen import MDScreen
|
||||
from kivy.clock import Clock
|
||||
import bin.webscratching.top_games
|
||||
import bin.lib.csv_parsers
|
||||
|
||||
|
||||
topg = bin.webscratching.top_games.TopGamesUpdater()
|
||||
cvw = bin.lib.csv_parsers.CsvWrite()
|
||||
cvr = bin.lib.csv_parsers.CsvRead()
|
||||
|
||||
version = "alpha 1.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user