Re: School Management System in Python

2017-07-05 Thread Tim Chase
On 2017-07-06 11:47, Gregory Ewing wrote: > The only reason I can think of to want to use tsv instead > of csv is that you can sometimes get away without having > to quote things that would need quoting in csv. But that's > not an issue in Python, since the csv module takes care of > all of that fo

Re: School Management System in Python

2017-07-05 Thread Gregory Ewing
On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: Some people complain that tsv has problems, so maybe csv would be the way to go. The main downside to tsv is that it can be hard to deal with in a text editor -- the difference between tabs and spaces is not visually obvious. The only reason I can

Re: School Management System in Python

2017-07-05 Thread Binary Boy
On Wed, 5 Jul 2017 15:28:51 +0200, Thomas Nyberg wrote: > On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: > > On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: > >> I can use either tsv or csv. Which one would be better? > > > > > > Some people complain that tsv has problems, so maybe c

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 03:30 PM, YOUR_NAME_HERE wrote: > Hey that was simple enough! Thanks for the code! I was also considering the > use of JSON. Which one would be better? > If you have hierarchical data best described by dicts/lists (in the python meaning), then json isn't a bad approach. But if you j

Re: School Management System in Python

2017-07-05 Thread Christopher Reimer
On Jul 5, 2017, at 6:34 AM, Sam Chats wrote: > Just curious, is it better, performance wise, to read from a text file (css > or tsv) compared to reading from a binary pickle file? I prefer CSV because I can load the file into Microsoft Excel and do a quick search. Chris R. -- https://mail.py

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 03:34 PM, Sam Chats wrote: > Just curious, is it better, performance wise, to read from a text file (css > or tsv) compared to reading from a binary pickle file? > I honestly don't know. You should probably measure it if you're wondering. However, I don't think it's worth thinking a

Re: School Management System in Python

2017-07-05 Thread YOUR_NAME_HERE
On Wed, 5 Jul 2017 06:34:26 -0700 (PDT), Sam Chats wrote: > On Wednesday, July 5, 2017 at 6:56:06 PM UTC+5:30, Thomas Nyberg wrote: > > On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: > > > On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: > > >> I can use either tsv or csv. Which one wou

Re: School Management System in Python

2017-07-05 Thread YOUR_NAME_HERE
On Wed, 5 Jul 2017 15:28:51 +0200, Thomas Nyberg wrote: > On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: > > On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: > >> I can use either tsv or csv. Which one would be better? > > > > > > Some people complain that tsv has problems, so maybe c

Re: School Management System in Python

2017-07-05 Thread Sam Chats
On Wednesday, July 5, 2017 at 6:56:06 PM UTC+5:30, Thomas Nyberg wrote: > On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: > > On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: > >> I can use either tsv or csv. Which one would be better? > > > > > > Some people complain that tsv has prob

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 02:56 PM, Tim Golden wrote: > There's been some discussion recently on the Computing At School forums > here in the UK where at least one teacher explained that they taught > pickle in the way it's being used here essentially because it's really > simple: you just through your object

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 03:18 PM, YOUR_NAME_HERE wrote: > On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: >> I can use either tsv or csv. Which one would be better? > > > Some people complain that tsv has problems, so maybe csv would be the way to > go. > I almost always use csv personally,

Re: School Management System in Python

2017-07-05 Thread YOUR_NAME_HERE
On Wed, 5 Jul 2017 13:02:36 + (UTC) YOUR_NAME_HERE wrote: > I can use either tsv or csv. Which one would be better? Some people complain that tsv has problems, so maybe csv would be the way to go. -- https://mail.python.org/mailman/listinfo/python-list

Re: School Management System in Python

2017-07-05 Thread Tim Golden
On 05/07/2017 13:49, Thomas Nyberg wrote: On 07/05/2017 02:14 PM, Sam Chats wrote: Thanks for your suggestions. I would've not used pickle had I been aware about other tools while developing this. I was thinking about migrating to sqlite3. How about that? And yes, I need more comprehanesive do

Re: School Management System in Python

2017-07-05 Thread YOUR_NAME_HERE
I can use either tsv or csv. Which one would be better? -- https://mail.python.org/mailman/listinfo/python-list

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 02:14 PM, Sam Chats wrote: > Thanks for your suggestions. I would've not used pickle had I been aware > about other tools while developing this. > I was thinking about migrating to sqlite3. How about that? And yes, I need > more comprehanesive documentation. > Will work on that soon

Re: School Management System in Python

2017-07-05 Thread YOUR_NAME_HERE
Thanks for your suggestions. I would've not used pickle had I been aware about other tools while developing this. I was thinking about migrating to sqlite3. How about that? And yes, I need more comprehanesive documentation. Will work on that soon. Thanks, Sam Chats -- https://mail.python.or

Re: School Management System in Python

2017-07-05 Thread Sam Chats
Thanks for your suggestions. I would've not used pickle had I been aware about other tools while developing this. I was thinking about migrating to sqlite3. How about that? And yes, I need more comprehanesive documentation. Will work on that soon. Thanks, Sam Chats -- https://mail.python.org/ma

Re: School Management System in Python

2017-07-05 Thread Sam Chats
Check message Sorry for this message. Sam -- https://mail.python.org/mailman/listinfo/python-list

Re: School Management System in Python

2017-07-05 Thread Thomas Nyberg
On 07/05/2017 01:31 PM, Sam Chats wrote: > Feel free to comment on my high school project. I really enjoyed building it > and it is the biggest project I've developed so far > (in terms of lines of code). All you need to do is to run the S-Koo-L.py > script. > > I've built more eye-catchy things