workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
I think web sockets will give you the most up-to-date date from your server. An AJAX request would involve some kind of user input to invoke the request, or an auto refresh using JS periodically
2018-01-02T11:42:04.000189
Porsha
pythondev_help_Porsha_2018-01-02T11:42:04.000189
1,514,893,324.000189
27,524
pythondev
help
<@Porsha> might Channels be of use here since web sockets are being considered? <https://channels.readthedocs.io/en/latest/>
2018-01-02T11:44:07.000294
Avery
pythondev_help_Avery_2018-01-02T11:44:07.000294
1,514,893,447.000294
27,525
pythondev
help
I don't really use Django myself but on first glance looks like it's worth looking into. Might find a solution asking in the <#C0LMFRMB5|django> channel
2018-01-02T11:46:32.000303
Porsha
pythondev_help_Porsha_2018-01-02T11:46:32.000303
1,514,893,592.000303
27,526
pythondev
help
I'm over in <#C0LMFRMB5|django> as well but channels is a fairly new concept to me too tbh, stumbled on it the other day. <@Emmie> check out that link, see if it's what you're looking for, and if you need help the folks over at <#C0LMFRMB5|django> are super knowledgeable. :)
2018-01-02T11:48:36.000360
Avery
pythondev_help_Avery_2018-01-02T11:48:36.000360
1,514,893,716.00036
27,527
pythondev
help
Looks like `daphne` might be a possible solution <https://github.com/django/daphne/>
2018-01-02T11:49:09.000254
Porsha
pythondev_help_Porsha_2018-01-02T11:49:09.000254
1,514,893,749.000254
27,528
pythondev
help
thanks <@Avery> i will firstly have a look into django channels first before trying stuff with sockets
2018-01-02T11:59:32.000656
Emmie
pythondev_help_Emmie_2018-01-02T11:59:32.000656
1,514,894,372.000656
27,529
pythondev
help
Channels is pretty good, I’ve built a chat application using it implemented alongside Django using Daphne
2018-01-02T12:04:04.000269
Breana
pythondev_help_Breana_2018-01-02T12:04:04.000269
1,514,894,644.000269
27,530
pythondev
help
Be aware that Andrew (the maintainer + creator of Channels) is rewriting the whole Channels API for version 2.0 and it will be backward incompatible as far as I remember
2018-01-02T12:04:38.000329
Breana
pythondev_help_Breana_2018-01-02T12:04:38.000329
1,514,894,678.000329
27,531
pythondev
help
you can see his reasoning here <https://www.aeracode.org/2017/7/11/towards-channels-20/>
2018-01-02T12:08:37.000173
Floy
pythondev_help_Floy_2018-01-02T12:08:37.000173
1,514,894,917.000173
27,532
pythondev
help
&gt;Of course, we’ll do our best to maintain backwards compatability, but there may be some cases where we’ll have to provide helpful error messages for old APIs or upgrade guides instead.
2018-01-02T12:09:50.000353
Floy
pythondev_help_Floy_2018-01-02T12:09:50.000353
1,514,894,990.000353
27,533
pythondev
help
What's the best way to find specific text on a website ? I am trying to use beautifulSoup and can read the context of the entire page but I cannot pull out specific words. I have also tried urllib and urllib2 and they don't work either. What is the best way to find out if a web page is showing a specific key word in py...
2018-01-02T12:23:30.000626
Chu
pythondev_help_Chu_2018-01-02T12:23:30.000626
1,514,895,810.000626
27,534
pythondev
help
regex through the text?
2018-01-02T12:24:12.000471
Garrett
pythondev_help_Garrett_2018-01-02T12:24:12.000471
1,514,895,852.000471
27,535
pythondev
help
<@Chu> What Kenneth said :point_up_2: <https://docs.python.org/3/howto/regex.html>
2018-01-02T12:25:24.000681
Porsha
pythondev_help_Porsha_2018-01-02T12:25:24.000681
1,514,895,924.000681
27,536
pythondev
help
thanks! I will take a look at it and let you know.
2018-01-02T12:25:48.000053
Chu
pythondev_help_Chu_2018-01-02T12:25:48.000053
1,514,895,948.000053
27,537
pythondev
help
Paste a sample of your scraped text and test out some regex <https://regex101.com/>
2018-01-02T12:26:23.000080
Porsha
pythondev_help_Porsha_2018-01-02T12:26:23.000080
1,514,895,983.00008
27,538
pythondev
help
Super useful
2018-01-02T12:26:29.000249
Porsha
pythondev_help_Porsha_2018-01-02T12:26:29.000249
1,514,895,989.000249
27,539
pythondev
help
You can combine regex usage with <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#the-string-argument> if you are only looking for usage of the text within the text content of the website rather than possibly in the html as well
2018-01-02T12:27:42.000053
Leanora
pythondev_help_Leanora_2018-01-02T12:27:42.000053
1,514,896,062.000053
27,540
pythondev
help
i'm a big fan of <https://pythex.org> for testing regex
2018-01-02T12:28:17.000017
Garrett
pythondev_help_Garrett_2018-01-02T12:28:17.000017
1,514,896,097.000017
27,541
pythondev
help
I'm fan of <https://regexr.com/>
2018-01-02T12:29:32.000676
Aleida
pythondev_help_Aleida_2018-01-02T12:29:32.000676
1,514,896,172.000676
27,542
pythondev
help
Is that what I am doing ? import requests from bs4 import BeautifulSoup # Collect and parse first page page = requests.get('<http://webfocusclidev:8080/ibi_apps/signin>') soup = BeautifulSoup(page.text, 'html.parser') # Pull all text from the BodyText div artist_name_list = soup.find(class_='BodyText') # Pull tex...
2018-01-02T12:34:06.000568
Chu
pythondev_help_Chu_2018-01-02T12:34:06.000568
1,514,896,446.000568
27,543
pythondev
help
<@Chu> For readability purposes when posting code you should make a snippet for it (<https://get.slack.help/hc/en-us/articles/204145658-Create-a-snippet>)
2018-01-02T12:45:16.000312
Leanora
pythondev_help_Leanora_2018-01-02T12:45:16.000312
1,514,897,116.000312
27,544
pythondev
help
In terms of the code itself I think it looks like there are a few issues, for example find_all with just a single argument searches for tags of that name. Your find_all would be search the entire document instead of just those within the BodyText div
2018-01-02T12:46:57.000291
Leanora
pythondev_help_Leanora_2018-01-02T12:46:57.000291
1,514,897,217.000291
27,545
pythondev
help
Maybe give this documentation a read through - <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree>
2018-01-02T12:47:21.000036
Leanora
pythondev_help_Leanora_2018-01-02T12:47:21.000036
1,514,897,241.000036
27,546
pythondev
help
I have been looking at that but still do not know what I am missing. I can run *soup.find_all("a")* and it returns info but *soup.find_all("password")* finds nothing
2018-01-02T12:51:10.000141
Chu
pythondev_help_Chu_2018-01-02T12:51:10.000141
1,514,897,470.000141
27,547
pythondev
help
What do you want that to be finding? As is I think that would be looking for all tags that have the name of `password`
2018-01-02T12:53:34.000642
Leanora
pythondev_help_Leanora_2018-01-02T12:53:34.000642
1,514,897,614.000642
27,548
pythondev
help
Just for testing purposes, I want to verify that it is the log in page and users are able to enter in the credentials to access the site. So I thought that I could search for the word *Password* which is on the login screen
2018-01-02T12:54:51.000165
Chu
pythondev_help_Chu_2018-01-02T12:54:51.000165
1,514,897,691.000165
27,549
pythondev
help
To search for text content you would need to use the string argument - <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#the-string-argument>
2018-01-02T12:55:58.000256
Leanora
pythondev_help_Leanora_2018-01-02T12:55:58.000256
1,514,897,758.000256
27,550
pythondev
help
Hey guys, I trying to fetch data for this seasons NBA leaders. Every time I make a call I receive a response as Developer Inactive ``` def NBARequests(): conn = http.client.HTTPSConnection("<http://api.sportradar.us|api.sportradar.us>") conn.request("GET", "/nba/trial/v4/en/seasons/2017/REG/leaders...
2018-01-02T13:34:40.000098
Roxanna
pythondev_help_Roxanna_2018-01-02T13:34:40.000098
1,514,900,080.000098
27,551
pythondev
help
<@Roxanna> Are you sure you're using a valid api key?
2018-01-02T13:43:23.000314
Leanora
pythondev_help_Leanora_2018-01-02T13:43:23.000314
1,514,900,603.000314
27,552
pythondev
help
<@Leanora> yeah, I have replaced the original API key with api_key above
2018-01-02T13:44:46.000175
Roxanna
pythondev_help_Roxanna_2018-01-02T13:44:46.000175
1,514,900,686.000175
27,553
pythondev
help
I am using the sports radar api
2018-01-02T13:44:57.000406
Roxanna
pythondev_help_Roxanna_2018-01-02T13:44:57.000406
1,514,900,697.000406
27,554
pythondev
help
I registered today for a free trial
2018-01-02T13:45:15.000126
Roxanna
pythondev_help_Roxanna_2018-01-02T13:45:15.000126
1,514,900,715.000126
27,555
pythondev
help
<@Roxanna> hm, your response looks like, you had a problem with your `api_key`, maybe do you need to do additional things, in order to `activate` your account?
2018-01-02T13:49:09.000412
Pei
pythondev_help_Pei_2018-01-02T13:49:09.000412
1,514,900,949.000412
27,556
pythondev
help
I'm following this tutorial regarding django project layouts: <https://www.revsys.com/blog/2014/nov/21/recommended-django-project-layout/> When I run `migrate` from the root directory I get a `ModuleNotFoundError` for my app, which is listed in the `INSTALLED_APPS`
2018-01-02T13:49:18.000089
Barry
pythondev_help_Barry_2018-01-02T13:49:18.000089
1,514,900,958.000089
27,557
pythondev
help
<@Roxanna> make sure the outgoing request is the same as what the api expects
2018-01-02T13:49:37.000334
Floy
pythondev_help_Floy_2018-01-02T13:49:37.000334
1,514,900,977.000334
27,558
pythondev
help
Is there a way to add the app folder (even if its outside of the project folder)?
2018-01-02T13:49:41.000268
Barry
pythondev_help_Barry_2018-01-02T13:49:41.000268
1,514,900,981.000268
27,559
pythondev
help
using the `signal` module, I am asynchronously watching for the `SIGCHLD` signal on multiple child processes. However, short of writing a decorator to include a child's PID with its `SIGCHLD` handler (meaning each child that is forked and executed get's its own unique handler), is there an easy way to get at what PID s...
2018-01-02T14:04:08.000600
Shante
pythondev_help_Shante_2018-01-02T14:04:08.000600
1,514,901,848.0006
27,560
pythondev
help
Hi folks. I have a question about session in sqlalchemy. When I use a loop to add objects in a session, and after that I commit my session, then I'm using commit in batch right?
2018-01-02T14:22:40.000051
Bernardo
pythondev_help_Bernardo_2018-01-02T14:22:40.000051
1,514,902,960.000051
27,561
pythondev
help
yes, you commit all changes that have been made up until that point within the process currently running
2018-01-02T14:23:45.000300
Shante
pythondev_help_Shante_2018-01-02T14:23:45.000300
1,514,903,025.0003
27,562
pythondev
help
If I add 100 objects to my session and when I commit, only 1 get error, all objects will rollback?
2018-01-02T14:25:26.000082
Bernardo
pythondev_help_Bernardo_2018-01-02T14:25:26.000082
1,514,903,126.000082
27,563
pythondev
help
That I am honestly not sure of
2018-01-02T14:25:49.000462
Shante
pythondev_help_Shante_2018-01-02T14:25:49.000462
1,514,903,149.000462
27,564
pythondev
help
an easy way to test would be to attempt two changes, make the first one succeed and then intentionally make the second one fail and run the commit
2018-01-02T14:26:17.000157
Shante
pythondev_help_Shante_2018-01-02T14:26:17.000157
1,514,903,177.000157
27,565
pythondev
help
then you can see if python complains about anything and or check the DB
2018-01-02T14:26:31.000193
Shante
pythondev_help_Shante_2018-01-02T14:26:31.000193
1,514,903,191.000193
27,566
pythondev
help
I believe each db change is wrapped in its own transaction
2018-01-02T14:27:45.000232
Floy
pythondev_help_Floy_2018-01-02T14:27:45.000232
1,514,903,265.000232
27,567
pythondev
help
<http://docs.sqlalchemy.org/en/latest/orm/session_transaction.html>
2018-01-02T14:27:52.000530
Floy
pythondev_help_Floy_2018-01-02T14:27:52.000530
1,514,903,272.00053
27,568
pythondev
help
ah, interesting
2018-01-02T14:28:22.000550
Floy
pythondev_help_Floy_2018-01-02T14:28:22.000550
1,514,903,302.00055
27,569
pythondev
help
&gt; These transactions are all committed or rolled back corresponding to the invocation of the Session.commit() and Session.rollback() methods. A commit operation will also call the TwoPhaseTransaction.prepare() method on all transactions if applicable.
2018-01-02T14:28:34.000421
Floy
pythondev_help_Floy_2018-01-02T14:28:34.000421
1,514,903,314.000421
27,570
pythondev
help
so, seems like I’m wrong
2018-01-02T14:28:42.000488
Floy
pythondev_help_Floy_2018-01-02T14:28:42.000488
1,514,903,322.000488
27,571
pythondev
help
@iceman probably that might be the case
2018-01-02T14:29:15.000042
Roxanna
pythondev_help_Roxanna_2018-01-02T14:29:15.000042
1,514,903,355.000042
27,572
pythondev
help
transaction is based on each commit, so if its a bulk commit and one fails, so everything else in that transaction will not complete
2018-01-02T14:29:40.000408
Floy
pythondev_help_Floy_2018-01-02T14:29:40.000408
1,514,903,380.000408
27,573
pythondev
help
That's how I thought it worked <@Floy>. It would make more sense to take the "better safe than sorry" approach with DB commits
2018-01-02T14:30:33.000068
Shante
pythondev_help_Shante_2018-01-02T14:30:33.000068
1,514,903,433.000068
27,574
pythondev
help
yep. that there is a bit of a downside when doing mass inserts/updates
2018-01-02T14:30:56.000061
Floy
pythondev_help_Floy_2018-01-02T14:30:56.000061
1,514,903,456.000061
27,575
pythondev
help
what’s the right balance between speed and data integrity?\
2018-01-02T14:31:17.000079
Floy
pythondev_help_Floy_2018-01-02T14:31:17.000079
1,514,903,477.000079
27,576
pythondev
help
yes
2018-01-02T14:33:13.000300
Bernardo
pythondev_help_Bernardo_2018-01-02T14:33:13.000300
1,514,903,593.0003
27,577
pythondev
help
it's my problem
2018-01-02T14:33:18.000441
Bernardo
pythondev_help_Bernardo_2018-01-02T14:33:18.000441
1,514,903,598.000441
27,578
pythondev
help
The reason for the question is because I'm having trouble inserting into the table. I search for a list of objects from an external api and I insert in my base. However in this list there may be duplicate records that are treated with unique key in the base. So if the constraint error occurs, all others are rollbacked ...
2018-01-02T14:34:31.000022
Bernardo
pythondev_help_Bernardo_2018-01-02T14:34:31.000022
1,514,903,671.000022
27,579
pythondev
help
in this case I need to commit 1 by 1? :expressionless:
2018-01-02T14:34:59.000301
Bernardo
pythondev_help_Bernardo_2018-01-02T14:34:59.000301
1,514,903,699.000301
27,580
pythondev
help
is there any way you can filter those out before you commit?
2018-01-02T14:35:05.000197
Floy
pythondev_help_Floy_2018-01-02T14:35:05.000197
1,514,903,705.000197
27,581
pythondev
help
can you use a set to guarantee all your inserts are unique?
2018-01-02T14:35:16.000148
Shante
pythondev_help_Shante_2018-01-02T14:35:16.000148
1,514,903,716.000148
27,582
pythondev
help
<@Floy> I could search in my base before, but I think it's not a good idea with many objects.
2018-01-02T14:38:45.000137
Bernardo
pythondev_help_Bernardo_2018-01-02T14:38:45.000137
1,514,903,925.000137
27,583
pythondev
help
<@Shante> But the duplicate object can already be in my base. Like inserted before.
2018-01-02T14:40:07.000131
Bernardo
pythondev_help_Bernardo_2018-01-02T14:40:07.000131
1,514,904,007.000131
27,584
pythondev
help
an option might be to check if it's in your set of objects to insert first, and if not there then check if it's in your database already. If it is not in the set to insert and not in the DB already, then add it to the set
2018-01-02T14:42:35.000378
Shante
pythondev_help_Shante_2018-01-02T14:42:35.000378
1,514,904,155.000378
27,585
pythondev
help
that might be a naive/inefficient way to do it, but that's the first idea I have that comes to mind. It also depends on the data being inserted if there is a more efficient way to retrieve duplicates from the DB
2018-01-02T14:43:18.000026
Shante
pythondev_help_Shante_2018-01-02T14:43:18.000026
1,514,904,198.000026
27,586
pythondev
help
or actually, you should first check the DB, and if it is not in there then check your set of objects to insert
2018-01-02T14:43:56.000024
Shante
pythondev_help_Shante_2018-01-02T14:43:56.000024
1,514,904,236.000024
27,587
pythondev
help
and if it is in neither then add it to the set
2018-01-02T14:44:10.000677
Shante
pythondev_help_Shante_2018-01-02T14:44:10.000677
1,514,904,250.000677
27,588
pythondev
help
I'm doing the duplicate control with unique constraint thinking in performance. So in this case I dont need to check if the object is already in my base(select), its only insert, and if return a "unique constraint violate" no problem, try insert the next object. So in this case I think it best to try to insert one by ...
2018-01-02T14:50:00.000310
Bernardo
pythondev_help_Bernardo_2018-01-02T14:50:00.000310
1,514,904,600.00031
27,589
pythondev
help
sorry, just to clarify, you're saying you don't need to check the database first?
2018-01-02T14:53:17.000322
Shante
pythondev_help_Shante_2018-01-02T14:53:17.000322
1,514,904,797.000322
27,590
pythondev
help
but you still have to insert once by one because there might be a duplicate in the database already?
2018-01-02T14:53:43.000022
Shante
pythondev_help_Shante_2018-01-02T14:53:43.000022
1,514,904,823.000022
27,591
pythondev
help
Yes, it's my first plan.
2018-01-02T15:04:32.000393
Bernardo
pythondev_help_Bernardo_2018-01-02T15:04:32.000393
1,514,905,472.000393
27,592
pythondev
help
I will try now to get the list from that external api, and then, get a list from my DB. Then resolve the duplicates, and insert only valid objects. Its not so performatic, but...
2018-01-02T15:08:19.000188
Bernardo
pythondev_help_Bernardo_2018-01-02T15:08:19.000188
1,514,905,699.000188
27,593
pythondev
help
Thx <@Shante> <@Floy>
2018-01-02T15:08:38.000043
Bernardo
pythondev_help_Bernardo_2018-01-02T15:08:38.000043
1,514,905,718.000043
27,594
pythondev
help
I would agree it doesn't seem very efficient, however it is definitely better than doing individual commits for every object
2018-01-02T15:17:23.000222
Shante
pythondev_help_Shante_2018-01-02T15:17:23.000222
1,514,906,243.000222
27,595
pythondev
help
<@Bernardo> How common are the duplicates? Might be worth to try it first and only resolve duplicates if it fails. Splitting into batches and only resolving duplicates on failed batches too maybe? New to python myself so that could be terrible advice I'm just trying to embrace 'easier to ask for forgiveness' haha
2018-01-02T15:55:02.000003
Zulma
pythondev_help_Zulma_2018-01-02T15:55:02.000003
1,514,908,502.000003
27,596
pythondev
help
Can sb explain what is __magic__?
2018-01-02T17:40:47.000094
Alverta
pythondev_help_Alverta_2018-01-02T17:40:47.000094
1,514,914,847.000094
27,597
pythondev
help
Is that real or just bit of humor?
2018-01-02T17:41:18.000282
Alverta
pythondev_help_Alverta_2018-01-02T17:41:18.000282
1,514,914,878.000282
27,598
pythondev
help
Do you mean these?
2018-01-02T17:49:43.000021
Dorinda
pythondev_help_Dorinda_2018-01-02T17:49:43.000021
1,514,915,383.000021
27,599
pythondev
help
<https://www.python-course.eu/python3_magic_methods.php>
2018-01-02T17:49:45.000060
Dorinda
pythondev_help_Dorinda_2018-01-02T17:49:45.000060
1,514,915,385.00006
27,600
pythondev
help
<https://rszalski.github.io/magicmethods/>
2018-01-02T17:51:02.000341
Dorinda
pythondev_help_Dorinda_2018-01-02T17:51:02.000341
1,514,915,462.000341
27,601
pythondev
help
I don't know where to ask this. Is anybody trying to learn data structures and/or interviewing code challenges? I'm pretty beginner to both and was wondering if anybody would like to be an accountability partner, or work together (if you're also beginner or would just like to).
2018-01-02T20:29:33.000127
Winifred
pythondev_help_Winifred_2018-01-02T20:29:33.000127
1,514,924,973.000127
27,602
pythondev
help
<@Winifred> I'm also beginner I have spoken to few people,i git inputs like first be familiar with basic of Python and start data structures
2018-01-02T21:24:49.000175
Hobert
pythondev_help_Hobert_2018-01-02T21:24:49.000175
1,514,928,289.000175
27,603
pythondev
help
As a beginner I highly recommend to me and you to study data structures but study after you familiar yourself in basic Python
2018-01-02T21:25:34.000059
Hobert
pythondev_help_Hobert_2018-01-02T21:25:34.000059
1,514,928,334.000059
27,604
pythondev
help
I'm already past the basics of Python, folks.
2018-01-02T22:27:03.000070
Winifred
pythondev_help_Winifred_2018-01-02T22:27:03.000070
1,514,932,023.00007
27,605
pythondev
help
there's a pretty decent data structures book in the second tier of <https://www.humblebundle.com/books/python-by-packt-book-bundle>
2018-01-02T22:29:25.000077
Noel
pythondev_help_Noel_2018-01-02T22:29:25.000077
1,514,932,165.000077
27,606
pythondev
help
i'm lucky that most of my interview questions have been mostly basic python combined with take home tests
2018-01-02T22:29:54.000082
Noel
pythondev_help_Noel_2018-01-02T22:29:54.000082
1,514,932,194.000082
27,607
pythondev
help
I sure like those take home tests. I want to build my confidence with jobs and being able to select jobs/feel in demand. I'll look into that book. I bought this one and really liked it. It's good because I'm a visual learner. It doesn't go into rote but it works well as a kinda handbook or overview that explains each o...
2018-01-02T22:59:20.000089
Winifred
pythondev_help_Winifred_2018-01-02T22:59:20.000089
1,514,933,960.000089
27,608
pythondev
help
If anyone is interested in being a study buddy or accountability partner, I would be glad to.
2018-01-02T22:59:45.000056
Winifred
pythondev_help_Winifred_2018-01-02T22:59:45.000056
1,514,933,985.000056
27,609
pythondev
help
Just added to amazon list. Looks like it could be a good reference book.
2018-01-03T00:34:34.000001
Dominica
pythondev_help_Dominica_2018-01-03T00:34:34.000001
1,514,939,674.000001
27,610
pythondev
help
hod you check python script when debug gives no error and it is running but not working properly
2018-01-03T02:34:48.000024
Idell
pythondev_help_Idell_2018-01-03T02:34:48.000024
1,514,946,888.000024
27,611
pythondev
help
how
2018-01-03T02:34:51.000113
Idell
pythondev_help_Idell_2018-01-03T02:34:51.000113
1,514,946,891.000113
27,612
pythondev
help
<@Idell> Try adding print statements in the problem area(s), so you have a visual reference of what's going on in each step. Then you should be able to narrow down where the problem is occurring.
2018-01-03T02:58:38.000204
Avery
pythondev_help_Avery_2018-01-03T02:58:38.000204
1,514,948,318.000204
27,613
pythondev
help
I've really enjoyed reading this book :slightly_smiling_face:
2018-01-03T03:21:41.000263
Lakita
pythondev_help_Lakita_2018-01-03T03:21:41.000263
1,514,949,701.000263
27,614
pythondev
help
Hey guys i just posted in <#C0LMFRMB5|django> can you please give me some assistance if possible :slightly_smiling_face: Thanks
2018-01-03T03:46:55.000321
Tanesha
pythondev_help_Tanesha_2018-01-03T03:46:55.000321
1,514,951,215.000321
27,615
pythondev
help
<@Krystle> append to what exactly?
2018-01-03T06:12:22.000154
Aleida
pythondev_help_Aleida_2018-01-03T06:12:22.000154
1,514,959,942.000154
27,616
pythondev
help
<@Krystle> take a look at `csv` module. You can provide your own delimiter, that looks like `"\t"`(tab character) in your case
2018-01-03T06:33:01.000008
Aleida
pythondev_help_Aleida_2018-01-03T06:33:01.000008
1,514,961,181.000008
27,617
pythondev
help
Then you can iterate over the parsed lines, inspect values and do your logic
2018-01-03T06:33:28.000233
Aleida
pythondev_help_Aleida_2018-01-03T06:33:28.000233
1,514,961,208.000233
27,618
pythondev
help
I'm new to programming and have no idea whats wrong here. Can anyone help me out with this please?
2018-01-03T08:12:43.000127
Myrtle
pythondev_help_Myrtle_2018-01-03T08:12:43.000127
1,514,967,163.000127
27,619
pythondev
help
what version of python are you using?
2018-01-03T08:14:42.000372
Micki
pythondev_help_Micki_2018-01-03T08:14:42.000372
1,514,967,282.000372
27,620
pythondev
help
python 3.6.4
2018-01-03T08:15:36.000209
Myrtle
pythondev_help_Myrtle_2018-01-03T08:15:36.000209
1,514,967,336.000209
27,621
pythondev
help
can you try ``` import collections print(collections) from collections import namedtuple ```
2018-01-03T08:17:42.000108
Micki
pythondev_help_Micki_2018-01-03T08:17:42.000108
1,514,967,462.000108
27,622
pythondev
help
i get this: ```C:\Users\sysadmin\Desktop\python&gt;python oop2.py 2001 &lt;module 'collections' from 'C:\\Users\\sysadmin\\Desktop\\python\\collections.py'&gt; Traceback (most recent call last): File "oop2.py", line 3, in &lt;module&gt; from collections import namedtuple ImportError: cannot import name 'namedtupl...
2018-01-03T08:27:55.000387
Myrtle
pythondev_help_Myrtle_2018-01-03T08:27:55.000387
1,514,968,075.000387
27,623