Posts by Hildeberto • 204 points
5 posts
-
-1
votes1
answer40
viewsA: How not to lose data from the app on Tkinter?
Some ways to persist data: 1) Disk files: read about the functions open(), write(), read() and close(), used to create files and write/read data to disk.…
-
2
votes1
answer806
viewsA: Error including app urls in project.py urls
There are two urlpatterns accounts/: urlpatterns = [ path('admin/', admin.site.urls), path('expenses/', include('expenses.urls')), # expenses app urls path('accounts/', include('accounts.urls')),…
-
3
votes1
answer122
viewsA: Can I get more than one FK referencing the same PK?
It is possible, yes. Perfectly normal and widely used.
-
1
votes1
answer19
viewsA: dtype error on file merge
The function open() does not have the parameter dtype, as the message is indicating. (Source: https://docs.python.org/3.6/library/functions.html?highlight=open#open) You can read the data as the…
-
0
votes1
answer55
viewsA: the program does not read the data that is in the text file
Considering a text file like this: 2019-05-02; 5; ABCD; 1; 8 2019-05-03; 4; CDFD; 2; 6 2019-05-04; 3; DDFF; 2; 7 2019-05-05; 2; CBFG; 4; 8 2019-05-06; 1; HTYG; 5; 5 2019-05-07; 5; ABDD; 3; 2 I made…