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
07.11,07.13,07.15,07.17,07.19,07.21,07.23,07.25,07.27,07.29,07.31,07.33,07.35,07.37,07.39,07.41,07.43,07.45,07.47,07.49,07.51,07.53,07.55,07.57,07.59,08.01,08.03,08.05,08.07,08.09,08.11,08.13,08.15,08.17,08.19,08.21,08.23,08.25,08.27,08.29,08.31,08.33,08.35,08.37,08.39,08.41,08.43,08.45,08.47,08.49,08.51,08.53,08.55,08...
2017-12-05T04:15:54.000286
Sara
pythondev_help_Sara_2017-12-05T04:15:54.000286
1,512,447,354.000286
102,103
pythondev
help
i want to write python code to display all of them in one column
2017-12-05T04:16:34.000173
Sara
pythondev_help_Sara_2017-12-05T04:16:34.000173
1,512,447,394.000173
102,104
pythondev
help
any help
2017-12-05T04:16:37.000494
Sara
pythondev_help_Sara_2017-12-05T04:16:37.000494
1,512,447,397.000494
102,105
pythondev
help
you will need to provide a bit of code so we can help you :slightly_smiling_face:
2017-12-05T04:17:33.000533
Ciera
pythondev_help_Ciera_2017-12-05T04:17:33.000533
1,512,447,453.000533
102,106
pythondev
help
i have to write a code to just display them in one column as shown above
2017-12-05T04:18:05.000487
Sara
pythondev_help_Sara_2017-12-05T04:18:05.000487
1,512,447,485.000487
102,107
pythondev
help
the code that i written so far is just to write it to a file
2017-12-05T04:18:15.000474
Sara
pythondev_help_Sara_2017-12-05T04:18:15.000474
1,512,447,495.000474
102,108
pythondev
help
i need some guidance on the same
2017-12-05T04:18:56.000223
Sara
pythondev_help_Sara_2017-12-05T04:18:56.000223
1,512,447,536.000223
102,109
pythondev
help
What you want is to read the line(s), split them on the comma, and write/print each item in the resulting list(s)
2017-12-05T04:20:16.000531
Scot
pythondev_help_Scot_2017-12-05T04:20:16.000531
1,512,447,616.000531
102,110
pythondev
help
you mean split them with \n
2017-12-05T04:20:45.000159
Sara
pythondev_help_Sara_2017-12-05T04:20:45.000159
1,512,447,645.000159
102,111
pythondev
help
for example the file content is this 07.11,07.13,07.15,07.17,07.19,07.21,07.23,07.25,07.27,07.29,07.31,07.33,07.35,07.37,07.39,07.41,07.43,07.45,07.47,07.49,07.51,07.53,07.55,07.57,07.59,08.01,08.03,08.05,08.07,08.09,08.11,08.13,08.15,08.17,08.19,08.21,08.23,08.25,08.27,08.29,08.31,08.33,08.35,08.37,08.39,08.41,08.43,0...
2017-12-05T04:21:18.000215
Sara
pythondev_help_Sara_2017-12-05T04:21:18.000215
1,512,447,678.000215
102,112
pythondev
help
No. You want to split the entire long row of values on `,` such that you get a list with each value singled out to so speak. `['07.11', '07.13', ...]`
2017-12-05T04:22:06.000101
Scot
pythondev_help_Scot_2017-12-05T04:22:06.000101
1,512,447,726.000101
102,113
pythondev
help
07.11 07.13 07.15 07.17 07.19 07.21 07.23 07.25 07.27
2017-12-05T04:22:25.000280
Sara
pythondev_help_Sara_2017-12-05T04:22:25.000280
1,512,447,745.00028
102,114
pythondev
help
Then, it's just a matter of parsing that list, and printing out each item
2017-12-05T04:22:58.000148
Scot
pythondev_help_Scot_2017-12-05T04:22:58.000148
1,512,447,778.000148
102,115
pythondev
help
ohhh let me try that
2017-12-05T04:23:10.000293
Sara
pythondev_help_Sara_2017-12-05T04:23:10.000293
1,512,447,790.000293
102,116
pythondev
help
Give google a try, the answers to these simple questions are pretty solidified on stack overflow
2017-12-05T04:23:38.000144
Scot
pythondev_help_Scot_2017-12-05T04:23:38.000144
1,512,447,818.000144
102,117
pythondev
help
sure thanks jensPW
2017-12-05T04:23:54.000258
Sara
pythondev_help_Sara_2017-12-05T04:23:54.000258
1,512,447,834.000258
102,118
pythondev
help
A tip is to google each step separately, and not the entire problem at once
2017-12-05T04:24:08.000345
Scot
pythondev_help_Scot_2017-12-05T04:24:08.000345
1,512,447,848.000345
102,119
pythondev
help
:slightly_smiling_face: sure
2017-12-05T04:24:21.000330
Sara
pythondev_help_Sara_2017-12-05T04:24:21.000330
1,512,447,861.00033
102,120
pythondev
help
Anyone know of a good tutorial that has information on creating child processes with asyncio?
2017-12-05T04:51:03.000378
Kathleen
pythondev_help_Kathleen_2017-12-05T04:51:03.000378
1,512,449,463.000378
102,121
pythondev
help
<https://docs.python.org/3/library/asyncio-subprocess.html>
2017-12-05T04:52:22.000177
Ciera
pythondev_help_Ciera_2017-12-05T04:52:22.000177
1,512,449,542.000177
102,122
pythondev
help
if that is what you mean.
2017-12-05T04:52:42.000229
Ciera
pythondev_help_Ciera_2017-12-05T04:52:42.000229
1,512,449,562.000229
102,123
pythondev
help
the documentation is pretty straightforward
2017-12-05T04:52:53.000164
Ciera
pythondev_help_Ciera_2017-12-05T04:52:53.000164
1,512,449,573.000164
102,124
pythondev
help
ah yeah, thanks. I was wandering about in the subprocess docs
2017-12-05T04:56:17.000624
Kathleen
pythondev_help_Kathleen_2017-12-05T04:56:17.000624
1,512,449,777.000624
102,125
pythondev
help
very silly
2017-12-05T04:56:41.000407
Kathleen
pythondev_help_Kathleen_2017-12-05T04:56:41.000407
1,512,449,801.000407
102,126
pythondev
help
<@Kathleen> I know that isn’t the same. But I recommend use Celery, in which is useful in many situations. If you interest here a documentation/tutorial: <http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html>
2017-12-05T04:57:31.000384
Ervin
pythondev_help_Ervin_2017-12-05T04:57:31.000384
1,512,449,851.000384
102,127
pythondev
help
Hey guys, i updated my windows machine this morning and now VirtualBox throws an error. I have tried looking into Virtualization tech on BIOS settings, enabled that. Installed a new version on VB and removed all vm's with their files. Yet i still get this: ``` Command: ["startvm", "7c2921d7-c254-4c23-83c1-b8d181c4b46...
2017-12-05T06:31:53.000064
Robbin
pythondev_help_Robbin_2017-12-05T06:31:53.000064
1,512,455,513.000064
102,128
pythondev
help
what’s in that file path where details are?
2017-12-05T06:33:21.000010
Meg
pythondev_help_Meg_2017-12-05T06:33:21.000010
1,512,455,601.00001
102,129
pythondev
help
hmm. do you get the same issue with the current - 1 version of virtualbox?
2017-12-05T06:35:44.000018
Meg
pythondev_help_Meg_2017-12-05T06:35:44.000018
1,512,455,744.000018
102,130
pythondev
help
I'm currently on 5.1.30
2017-12-05T06:38:20.000267
Robbin
pythondev_help_Robbin_2017-12-05T06:38:20.000267
1,512,455,900.000267
102,131
pythondev
help
Think its sorted now :-0
2017-12-05T08:10:19.000219
Robbin
pythondev_help_Robbin_2017-12-05T08:10:19.000219
1,512,461,419.000219
102,132
pythondev
help
how’d you fix it
2017-12-05T08:12:03.000386
Meg
pythondev_help_Meg_2017-12-05T08:12:03.000386
1,512,461,523.000386
102,133
pythondev
help
I've written a small Python script to start up my Windows apps in a particular order and to ask me if I want to auto-launch my work programs when I login. I am using `psutil.Popen([[path_to_process]])` to execute the programs but I am finding that after the program runs and the script executes sys.exit() to close the w...
2017-12-05T08:52:04.000624
Dorris
pythondev_help_Dorris_2017-12-05T08:52:04.000624
1,512,463,924.000624
102,134
pythondev
help
Team,When i am using psutil to get disk i/o usage .Are these read_bytes and write_bytes calculated per sec ?
2017-12-05T08:57:40.000074
Sara
pythondev_help_Sara_2017-12-05T08:57:40.000074
1,512,464,260.000074
102,135
pythondev
help
disk_io_counters() in psutil
2017-12-05T08:58:02.000312
Sara
pythondev_help_Sara_2017-12-05T08:58:02.000312
1,512,464,282.000312
102,136
pythondev
help
<@Dominica> are you not getting `read_time` and `write_time`?
2017-12-05T09:01:32.000208
Patty
pythondev_help_Patty_2017-12-05T09:01:32.000208
1,512,464,492.000208
102,137
pythondev
help
no
2017-12-05T09:01:57.000090
Sara
pythondev_help_Sara_2017-12-05T09:01:57.000090
1,512,464,517.00009
102,138
pythondev
help
What OS are you on?
2017-12-05T09:02:36.000463
Patty
pythondev_help_Patty_2017-12-05T09:02:36.000463
1,512,464,556.000463
102,139
pythondev
help
<@Rheba> i am just extracting read_bytes and write_bytes
2017-12-05T09:03:14.000236
Sara
pythondev_help_Sara_2017-12-05T09:03:14.000236
1,512,464,594.000236
102,140
pythondev
help
what are the units of measuremnt
2017-12-05T09:03:34.000184
Sara
pythondev_help_Sara_2017-12-05T09:03:34.000184
1,512,464,614.000184
102,141
pythondev
help
Right but `disk_io_counters()` returns read and write times on non-BSD systems
2017-12-05T09:03:39.000018
Patty
pythondev_help_Patty_2017-12-05T09:03:39.000018
1,512,464,619.000018
102,142
pythondev
help
is it per sec ?
2017-12-05T09:03:44.000524
Sara
pythondev_help_Sara_2017-12-05T09:03:44.000524
1,512,464,624.000524
102,143
pythondev
help
ya correct i dnt extract that value
2017-12-05T09:03:51.000288
Sara
pythondev_help_Sara_2017-12-05T09:03:51.000288
1,512,464,631.000288
102,144
pythondev
help
it’s per the read or write time
2017-12-05T09:03:58.000366
Patty
pythondev_help_Patty_2017-12-05T09:03:58.000366
1,512,464,638.000366
102,145
pythondev
help
this is the read time read_time=1540250161347L
2017-12-05T09:04:28.000159
Sara
pythondev_help_Sara_2017-12-05T09:04:28.000159
1,512,464,668.000159
102,146
pythondev
help
i am not able to undestand this value
2017-12-05T09:04:43.000167
Sara
pythondev_help_Sara_2017-12-05T09:04:43.000167
1,512,464,683.000167
102,147
pythondev
help
what is the unit of measurement
2017-12-05T09:04:52.000316
Sara
pythondev_help_Sara_2017-12-05T09:04:52.000316
1,512,464,692.000316
102,148
pythondev
help
ms
2017-12-05T09:05:23.000703
Patty
pythondev_help_Patty_2017-12-05T09:05:23.000703
1,512,464,723.000703
102,149
pythondev
help
like in bsd if you type
2017-12-05T09:05:31.000310
Sara
pythondev_help_Sara_2017-12-05T09:05:31.000310
1,512,464,731.00031
102,150
pythondev
help
systat -vmstat
2017-12-05T09:05:39.000251
Sara
pythondev_help_Sara_2017-12-05T09:05:39.000251
1,512,464,739.000251
102,151
pythondev
help
are you in BSD?
2017-12-05T09:05:44.000070
Patty
pythondev_help_Patty_2017-12-05T09:05:44.000070
1,512,464,744.00007
102,152
pythondev
help
yes
2017-12-05T09:05:49.000416
Sara
pythondev_help_Sara_2017-12-05T09:05:49.000416
1,512,464,749.000416
102,153
pythondev
help
freebsd
2017-12-05T09:05:51.000423
Sara
pythondev_help_Sara_2017-12-05T09:05:51.000423
1,512,464,751.000423
102,154
pythondev
help
i want values like systat -vmstat command gives
2017-12-05T09:06:32.000444
Sara
pythondev_help_Sara_2017-12-05T09:06:32.000444
1,512,464,792.000444
102,155
pythondev
help
you can’t on BSD with `psutil`
2017-12-05T09:06:47.000520
Patty
pythondev_help_Patty_2017-12-05T09:06:47.000520
1,512,464,807.00052
102,156
pythondev
help
KB/t , %busy
2017-12-05T09:06:49.000230
Sara
pythondev_help_Sara_2017-12-05T09:06:49.000230
1,512,464,809.00023
102,157
pythondev
help
None
2017-12-05T09:06:57.000376
Patty
pythondev_help_Patty_2017-12-05T09:06:57.000376
1,512,464,817.000376
102,158
pythondev
help
ok ok but what is the other way
2017-12-05T09:07:11.000088
Sara
pythondev_help_Sara_2017-12-05T09:07:11.000088
1,512,464,831.000088
102,159
pythondev
help
of doing it in freebsd
2017-12-05T09:07:16.000065
Sara
pythondev_help_Sara_2017-12-05T09:07:16.000065
1,512,464,836.000065
102,160
pythondev
help
any idea
2017-12-05T09:07:17.000760
Sara
pythondev_help_Sara_2017-12-05T09:07:17.000760
1,512,464,837.00076
102,161
pythondev
help
nope
2017-12-05T09:07:25.000030
Patty
pythondev_help_Patty_2017-12-05T09:07:25.000030
1,512,464,845.00003
102,162
pythondev
help
just a heads up though all of this is in the `psutil` docs <https://psutil.readthedocs.io/en/latest/#psutil.disk_io_counters>
2017-12-05T09:07:46.000343
Patty
pythondev_help_Patty_2017-12-05T09:07:46.000343
1,512,464,866.000343
102,163
pythondev
help
in bsd `disk_io_counters()` returns me read and write bytes but i am not sure about units of measurement
2017-12-05T09:08:10.000052
Sara
pythondev_help_Sara_2017-12-05T09:08:10.000052
1,512,464,890.000052
102,164
pythondev
help
bytes
2017-12-05T09:08:17.000641
Patty
pythondev_help_Patty_2017-12-05T09:08:17.000641
1,512,464,897.000641
102,165
pythondev
help
bytes /sec ?
2017-12-05T09:08:29.000289
Sara
pythondev_help_Sara_2017-12-05T09:08:29.000289
1,512,464,909.000289
102,166
pythondev
help
you mean
2017-12-05T09:08:31.000309
Sara
pythondev_help_Sara_2017-12-05T09:08:31.000309
1,512,464,911.000309
102,167
pythondev
help
no, just bytes
2017-12-05T09:08:54.000390
Patty
pythondev_help_Patty_2017-12-05T09:08:54.000390
1,512,464,934.00039
102,168
pythondev
help
it’s `bytes_read` not `bytes_read_per_second` or anything
2017-12-05T09:09:11.000169
Patty
pythondev_help_Patty_2017-12-05T09:09:11.000169
1,512,464,951.000169
102,169
pythondev
help
ya that is not the right approach
2017-12-05T09:09:45.000489
Sara
pythondev_help_Sara_2017-12-05T09:09:45.000489
1,512,464,985.000489
102,170
pythondev
help
but when it is read or write it has to per unit right ?
2017-12-05T09:10:20.000404
Sara
pythondev_help_Sara_2017-12-05T09:10:20.000404
1,512,465,020.000404
102,171
pythondev
help
i mean speed
2017-12-05T09:10:31.000016
Sara
pythondev_help_Sara_2017-12-05T09:10:31.000016
1,512,465,031.000016
102,172
pythondev
help
unit is bytes
2017-12-05T09:10:31.000035
Meg
pythondev_help_Meg_2017-12-05T09:10:31.000035
1,512,465,031.000035
102,173
pythondev
help
no
2017-12-05T09:10:33.000298
Meg
pythondev_help_Meg_2017-12-05T09:10:33.000298
1,512,465,033.000298
102,174
pythondev
help
<@Dominica> please read this: <https://psutil.readthedocs.io/en/latest/#psutil.disk_io_counters>
2017-12-05T09:10:46.000408
Patty
pythondev_help_Patty_2017-12-05T09:10:46.000408
1,512,465,046.000408
102,175
pythondev
help
its taking the units of bytes at the exact time you make the call
2017-12-05T09:10:52.000278
Meg
pythondev_help_Meg_2017-12-05T09:10:52.000278
1,512,465,052.000278
102,176
pythondev
help
``` read_bytes: number of bytes read write_bytes: number of bytes written ```
2017-12-05T09:11:04.000343
Patty
pythondev_help_Patty_2017-12-05T09:11:04.000343
1,512,465,064.000343
102,177
pythondev
help
^
2017-12-05T09:11:12.000403
Meg
pythondev_help_Meg_2017-12-05T09:11:12.000403
1,512,465,072.000403
102,178
pythondev
help
``` read_time: (all except NetBSD and OpenBSD) time spent reading from disk (in milliseconds) write_time: (all except NetBSD and OpenBSD) time spent writing to disk (in milliseconds)```
2017-12-05T09:11:14.000131
Patty
pythondev_help_Patty_2017-12-05T09:11:14.000131
1,512,465,074.000131
102,179
pythondev
help
hmm but not solving my purpose
2017-12-05T09:11:54.000530
Sara
pythondev_help_Sara_2017-12-05T09:11:54.000530
1,512,465,114.00053
102,180
pythondev
help
<@Meg> any idea how to get disk io on freebsd system ?
2017-12-05T09:12:15.000134
Sara
pythondev_help_Sara_2017-12-05T09:12:15.000134
1,512,465,135.000134
102,181
pythondev
help
any other way
2017-12-05T09:12:22.000043
Sara
pythondev_help_Sara_2017-12-05T09:12:22.000043
1,512,465,142.000043
102,182
pythondev
help
Have you looked anything up?
2017-12-05T09:12:37.000436
Patty
pythondev_help_Patty_2017-12-05T09:12:37.000436
1,512,465,157.000436
102,183
pythondev
help
i looked but i could not find anything
2017-12-05T09:12:55.000462
Sara
pythondev_help_Sara_2017-12-05T09:12:55.000462
1,512,465,175.000462
102,184
pythondev
help
there is a command in freebsd systat -vmstat
2017-12-05T09:13:22.000309
Sara
pythondev_help_Sara_2017-12-05T09:13:22.000309
1,512,465,202.000309
102,185
pythondev
help
You could always run that and parse the results
2017-12-05T09:15:35.000037
Patty
pythondev_help_Patty_2017-12-05T09:15:35.000037
1,512,465,335.000037
102,186
pythondev
help
but when you write it to file its messes up the file
2017-12-05T09:16:10.000464
Sara
pythondev_help_Sara_2017-12-05T09:16:10.000464
1,512,465,370.000464
102,187
pythondev
help
as the output refreshes after some interval
2017-12-05T09:16:28.000094
Sara
pythondev_help_Sara_2017-12-05T09:16:28.000094
1,512,465,388.000094
102,188
pythondev
help
when i just redirect it to a file
2017-12-05T09:17:16.000093
Sara
pythondev_help_Sara_2017-12-05T09:17:16.000093
1,512,465,436.000093
102,189
pythondev
help
and open that file
2017-12-05T09:17:19.000613
Sara
pythondev_help_Sara_2017-12-05T09:17:19.000613
1,512,465,439.000613
102,190
pythondev
help
it looks like this
2017-12-05T09:17:24.000147
Sara
pythondev_help_Sara_2017-12-05T09:17:24.000147
1,512,465,444.000147
102,191
pythondev
help
^[[5Dprcfr^[[14;44Hdtbuf^[[14;59Htotfr^M Namei Name-cache Dir-cache^[[15;44Hdesvn^[[15;59Hreact^M Calls hits % hits %^[[16;44Hnumvn^[[16;59Hpdwak^[[17;44Hfrevn^[[17;59Hpdpgs ^[[5Dintrn^M Disks md0 da0 da1 pass0 pass1^[[19;59Hwire^M KB/t^[[20;59Hact^M tps^[[21;59Hinact^M MB/s^[[22;59Hcache^M %bu...
2017-12-05T09:17:25.000074
Sara
pythondev_help_Sara_2017-12-05T09:17:25.000074
1,512,465,445.000074
102,192
pythondev
help
not useful at all
2017-12-05T09:17:34.000245
Sara
pythondev_help_Sara_2017-12-05T09:17:34.000245
1,512,465,454.000245
102,193
pythondev
help
i am just trying this way systat -vmstat &gt; text
2017-12-05T09:17:51.000171
Sara
pythondev_help_Sara_2017-12-05T09:17:51.000171
1,512,465,471.000171
102,194
pythondev
help
I mean run it within a subprocess and get the output all within the script if you need it in python
2017-12-05T09:19:37.000499
Patty
pythondev_help_Patty_2017-12-05T09:19:37.000499
1,512,465,577.000499
102,195
pythondev
help
ya i have tried that
2017-12-05T09:20:03.000225
Sara
pythondev_help_Sara_2017-12-05T09:20:03.000225
1,512,465,603.000225
102,196
pythondev
help
does not work
2017-12-05T09:20:05.000279
Sara
pythondev_help_Sara_2017-12-05T09:20:05.000279
1,512,465,605.000279
102,197
pythondev
help
as i told you the command output of systat -vmstat is refreshing every now and then
2017-12-05T09:20:51.000004
Sara
pythondev_help_Sara_2017-12-05T09:20:51.000004
1,512,465,651.000004
102,198
pythondev
help
`iostat` has a simpler output to be parsed
2017-12-05T09:21:01.000146
Patty
pythondev_help_Patty_2017-12-05T09:21:01.000146
1,512,465,661.000146
102,199
pythondev
help
yes but you can capture output from a subprocess once
2017-12-05T09:21:11.000358
Patty
pythondev_help_Patty_2017-12-05T09:21:11.000358
1,512,465,671.000358
102,200
pythondev
help
hmm unfortunately my fsd is controlled one as dnt have iostat in it
2017-12-05T09:21:37.000528
Sara
pythondev_help_Sara_2017-12-05T09:21:37.000528
1,512,465,697.000528
102,201
pythondev
help
i mean bsd
2017-12-05T09:21:42.000422
Sara
pythondev_help_Sara_2017-12-05T09:21:42.000422
1,512,465,702.000422
102,202