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 | so I MIGHT be able to save him lol | 2019-04-29T12:30:23.125600 | Frankie | pythondev_help_Frankie_2019-04-29T12:30:23.125600 | 1,556,541,023.1256 | 21,421 |
pythondev | help | <@Elanor> sure - but at least hide it better (not condoning). Now he is going to fail, possibly be kicked out, and if not maybe have to take it again | 2019-04-29T12:30:24.125700 | Clemmie | pythondev_help_Clemmie_2019-04-29T12:30:24.125700 | 1,556,541,024.1257 | 21,422 |
pythondev | help | I agree | 2019-04-29T12:30:33.126000 | Elanor | pythondev_help_Elanor_2019-04-29T12:30:33.126000 | 1,556,541,033.126 | 21,423 |
pythondev | help | I just think back to when I was in college taking bullshit GenEd courses | 2019-04-29T12:30:49.126500 | Elanor | pythondev_help_Elanor_2019-04-29T12:30:49.126500 | 1,556,541,049.1265 | 21,424 |
pythondev | help | I guarantee to you some of them meant nothing in the grand scheme of things | 2019-04-29T12:30:58.127100 | Elanor | pythondev_help_Elanor_2019-04-29T12:30:58.127100 | 1,556,541,058.1271 | 21,425 |
pythondev | help | at least for me | 2019-04-29T12:31:00.127300 | Elanor | pythondev_help_Elanor_2019-04-29T12:31:00.127300 | 1,556,541,060.1273 | 21,426 |
pythondev | help | I am going to tell him absolutely do not do not do not submit it and DO THE PROJECT YOURSELF or else he is gonna end up failing and forfeiting the $6k he paid for the course ... | 2019-04-29T12:31:13.127700 | Frankie | pythondev_help_Frankie_2019-04-29T12:31:13.127700 | 1,556,541,073.1277 | 21,427 |
pythondev | help | can you at least livestream the part where you show him the code he copied from? | 2019-04-29T12:31:38.128900 | Elanor | pythondev_help_Elanor_2019-04-29T12:31:38.128900 | 1,556,541,098.1289 | 21,428 |
pythondev | help | lol @ risking $6k over laziness | 2019-04-29T12:31:39.129000 | Carlo | pythondev_help_Carlo_2019-04-29T12:31:39.129000 | 1,556,541,099.129 | 21,429 |
pythondev | help | Google interview in python or java? | 2019-04-29T12:32:06.130100 | Diego | pythondev_help_Diego_2019-04-29T12:32:06.130100 | 1,556,541,126.1301 | 21,430 |
pythondev | help | and then send him a link to <#C64GEEM7U|job_advice> to see that even people who actually do the work and know this stuff can have a hard time finding a job | 2019-04-29T12:32:21.131100 | Clemmie | pythondev_help_Clemmie_2019-04-29T12:32:21.131100 | 1,556,541,141.1311 | 21,431 |
pythondev | help | I feel bad cause I suspect a lot of the reason he did this is he can't speak english very well. He is trying to better his life learning a new language and a new skill which I'm sure makes it very hard to understand the course material, but dude...ask for help. I'll help you lol | 2019-04-29T12:32:22.131200 | Frankie | pythondev_help_Frankie_2019-04-29T12:32:22.131200 | 1,556,541,142.1312 | 21,432 |
pythondev | help | or we'll get someone who speaks your language to help | 2019-04-29T12:32:53.131900 | Frankie | pythondev_help_Frankie_2019-04-29T12:32:53.131900 | 1,556,541,173.1319 | 21,433 |
pythondev | help | <@Diego> are you asking what they interview in? you might want to bring it up in <#C64GEEM7U|job_advice> | 2019-04-29T12:33:11.132400 | Clemmie | pythondev_help_Clemmie_2019-04-29T12:33:11.132400 | 1,556,541,191.1324 | 21,434 |
pythondev | help | already did | 2019-04-29T12:33:27.132600 | Diego | pythondev_help_Diego_2019-04-29T12:33:27.132600 | 1,556,541,207.1326 | 21,435 |
pythondev | help | danke | 2019-04-29T12:33:32.132800 | Diego | pythondev_help_Diego_2019-04-29T12:33:32.132800 | 1,556,541,212.1328 | 21,436 |
pythondev | help | alright well thanks internet sleuths for confirming my suspicions. I :heart: the internets | 2019-04-29T12:35:26.133400 | Frankie | pythondev_help_Frankie_2019-04-29T12:35:26.133400 | 1,556,541,326.1334 | 21,437 |
pythondev | help | and while I would love to livestream of the ensuing awkwardness I don't think that would be very professional of me lol | 2019-04-29T12:35:56.134100 | Frankie | pythondev_help_Frankie_2019-04-29T12:35:56.134100 | 1,556,541,356.1341 | 21,438 |
pythondev | help | Well no, you went and humanized him so now the enjoyment factor is gone | 2019-04-29T12:36:44.134500 | Elanor | pythondev_help_Elanor_2019-04-29T12:36:44.134500 | 1,556,541,404.1345 | 21,439 |
pythondev | help | I know right :disappointed: | 2019-04-29T12:37:00.134900 | Frankie | pythondev_help_Frankie_2019-04-29T12:37:00.134900 | 1,556,541,420.1349 | 21,440 |
pythondev | help | now it's "guy trying to learn english and new skills" and not just "lazy jackass trying to cheat through class" | 2019-04-29T12:37:08.135100 | Elanor | pythondev_help_Elanor_2019-04-29T12:37:08.135100 | 1,556,541,428.1351 | 21,441 |
pythondev | help | I know. It's like making fun of a kindergartner :disappointed: | 2019-04-29T12:37:30.135500 | Frankie | pythondev_help_Frankie_2019-04-29T12:37:30.135500 | 1,556,541,450.1355 | 21,442 |
pythondev | help | lol | 2019-04-29T12:37:31.135700 | Frankie | pythondev_help_Frankie_2019-04-29T12:37:31.135700 | 1,556,541,451.1357 | 21,443 |
pythondev | help | I can't do that | 2019-04-29T12:37:40.135900 | Frankie | pythondev_help_Frankie_2019-04-29T12:37:40.135900 | 1,556,541,460.1359 | 21,444 |
pythondev | help | I hope he can get over this hump though and actually make something of himself. He's from a pretty bad area of the world so I can appreciate the struggle but this can't fly unfortunately lol | 2019-04-29T12:38:19.136600 | Frankie | pythondev_help_Frankie_2019-04-29T12:38:19.136600 | 1,556,541,499.1366 | 21,445 |
pythondev | help | hopefully this will be one of those stories where "can't speak english, couldn't even write a line of code, cheated on first project...then went on to develop <http://Google.com|Google.com> and became a multibillionaire" :smile: | 2019-04-29T12:39:10.137400 | Frankie | pythondev_help_Frankie_2019-04-29T12:39:10.137400 | 1,556,541,550.1374 | 21,446 |
pythondev | help | Is there anything wrong with calling windows commands with the os module vs programmatically doing something in python?
I haven't found a way to delete specific keys from windows credential manager other than `os.system('cmd command')` | 2019-04-29T14:09:39.138000 | Emelda | pythondev_help_Emelda_2019-04-29T14:09:39.138000 | 1,556,546,979.138 | 21,447 |
pythondev | help | eh, if nothing more elegant is immediately obvious then do what solves your problem first and foremost and then keep digging to see if it can be refactored | 2019-04-29T14:11:01.138900 | Elanor | pythondev_help_Elanor_2019-04-29T14:11:01.138900 | 1,556,547,061.1389 | 21,448 |
pythondev | help | My goal for learning python is to replace a lot of my Powershell scripts with python version for more cross-platform action | 2019-04-29T14:13:21.139700 | Emelda | pythondev_help_Emelda_2019-04-29T14:13:21.139700 | 1,556,547,201.1397 | 21,449 |
pythondev | help | do you have a cross-platform equivalent for windows credential manager elsewhere? | 2019-04-29T14:18:25.140300 | Elanor | pythondev_help_Elanor_2019-04-29T14:18:25.140300 | 1,556,547,505.1403 | 21,450 |
pythondev | help | Keepass, Lastpass | 2019-04-29T14:27:48.143200 | Lydia | pythondev_help_Lydia_2019-04-29T14:27:48.143200 | 1,556,548,068.1432 | 21,451 |
pythondev | help | No this would be an action IF the os is windows, I am planning on having multiple functions which only one would trigger if os check came back for it's corresponding os | 2019-04-29T14:29:35.145900 | Emelda | pythondev_help_Emelda_2019-04-29T14:29:35.145900 | 1,556,548,175.1459 | 21,452 |
pythondev | help | Might not work out like I plan | 2019-04-29T14:30:34.146800 | Emelda | pythondev_help_Emelda_2019-04-29T14:30:34.146800 | 1,556,548,234.1468 | 21,453 |
pythondev | help | But I'm using this as an opportunity to learn python | 2019-04-29T14:30:51.147200 | Emelda | pythondev_help_Emelda_2019-04-29T14:30:51.147200 | 1,556,548,251.1472 | 21,454 |
pythondev | help | might sound like a trivial question, but is there a simple function to get the following:
given a range (A, B) (0<A<B), return a number X so that: ```A < X < B or -B < X < -A``` [EDITED]
I want the distribution to be uniform. I don't really care about the inequality (can be either `<` or `<=`).
I can use Numpy if that helps.
So far I have come up with something the smells too complex to me: ```
s, e = 3, 5
w = e - s # the range's width = 2
rnd = random.random() * 2 * w # will give a number between 0 and 4
rnd -= w # will center the range to be between -2 and 2
rnd += (s if rnd > 0 else -s)
```
:face_palm: | 2019-04-29T14:33:51.147500 | Ouida | pythondev_help_Ouida_2019-04-29T14:33:51.147500 | 1,556,548,431.1475 | 21,455 |
pythondev | help | wont `range(a, b)` do that already? so then you just need to pick a random X but slice the first and last values off your range | 2019-04-29T14:35:26.148200 | Claudine | pythondev_help_Claudine_2019-04-29T14:35:26.148200 | 1,556,548,526.1482 | 21,456 |
pythondev | help | check out `numpy.random.uniform` | 2019-04-29T14:35:56.148700 | Hiroko | pythondev_help_Hiroko_2019-04-29T14:35:56.148700 | 1,556,548,556.1487 | 21,457 |
pythondev | help | no... range gives an integer range of numbers... I need a single number | 2019-04-29T14:36:03.148900 | Ouida | pythondev_help_Ouida_2019-04-29T14:36:03.148900 | 1,556,548,563.1489 | 21,458 |
pythondev | help | <https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html> | 2019-04-29T14:36:09.149200 | Hiroko | pythondev_help_Hiroko_2019-04-29T14:36:09.149200 | 1,556,548,569.1492 | 21,459 |
pythondev | help | yea just pick a single number from that range | 2019-04-29T14:36:13.149400 | Claudine | pythondev_help_Claudine_2019-04-29T14:36:13.149400 | 1,556,548,573.1494 | 21,460 |
pythondev | help | so long as your `a` is less than your `b` it should work, if `b` is less than `a` `range` will return nothing and your thing will ded | 2019-04-29T14:36:45.150000 | Claudine | pythondev_help_Claudine_2019-04-29T14:36:45.150000 | 1,556,548,605.15 | 21,461 |
pythondev | help | or
```
>>> import random
>>> random.randrange(a,b)
``` | 2019-04-29T14:38:11.150200 | Claudine | pythondev_help_Claudine_2019-04-29T14:38:11.150200 | 1,556,548,691.1502 | 21,462 |
pythondev | help | unless i am mistaken | 2019-04-29T14:38:15.150400 | Claudine | pythondev_help_Claudine_2019-04-29T14:38:15.150400 | 1,556,548,695.1504 | 21,463 |
pythondev | help | well in that case your X could be == A or B | 2019-04-29T14:38:36.150800 | Claudine | pythondev_help_Claudine_2019-04-29T14:38:36.150800 | 1,556,548,716.1508 | 21,464 |
pythondev | help | Note that you're asking for X > A and X < -A, which is impossible if A > 0. | 2019-04-29T14:41:28.151800 | Sasha | pythondev_help_Sasha_2019-04-29T14:41:28.151800 | 1,556,548,888.1518 | 21,465 |
pythondev | help | oh i assumed he meant `-X` for that side | 2019-04-29T14:46:01.152800 | Claudine | pythondev_help_Claudine_2019-04-29T14:46:01.152800 | 1,556,549,161.1528 | 21,466 |
pythondev | help | brain just added that `-` on it's own | 2019-04-29T14:46:07.153000 | Claudine | pythondev_help_Claudine_2019-04-29T14:46:07.153000 | 1,556,549,167.153 | 21,467 |
pythondev | help | <@Sasha> I don't understand - what's impossible? note that I said `0 < A < B`. | 2019-04-29T14:47:48.153700 | Ouida | pythondev_help_Ouida_2019-04-29T14:47:48.153700 | 1,556,549,268.1537 | 21,468 |
pythondev | help | <@Claudine> I want a uniform distribution in the following split range: `(-B, -A), (A, B)` and I don't care of it's inclusive or exclusive from either side. | 2019-04-29T14:49:06.155400 | Ouida | pythondev_help_Ouida_2019-04-29T14:49:06.155400 | 1,556,549,346.1554 | 21,469 |
pythondev | help | but you are asking for X < -A, X > A. | 2019-04-29T14:49:17.155600 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:49:17.155600 | 1,556,549,357.1556 | 21,470 |
pythondev | help | Assuming A > -A, then X < -A < A < X | 2019-04-29T14:49:41.156100 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:49:41.156100 | 1,556,549,381.1561 | 21,471 |
pythondev | help | so… X < X | 2019-04-29T14:49:49.156300 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:49:49.156300 | 1,556,549,389.1563 | 21,472 |
pythondev | help | OK OK sorry :slightly_smiling_face: I meant OR. The returned value of the requested function should be somewhere in that range. See the example code I posted. It's working. I just wanted something that looks nicer. | 2019-04-29T14:50:39.157100 | Ouida | pythondev_help_Ouida_2019-04-29T14:50:39.157100 | 1,556,549,439.1571 | 21,473 |
pythondev | help | I'm editing the original message | 2019-04-29T14:50:48.157500 | Ouida | pythondev_help_Ouida_2019-04-29T14:50:48.157500 | 1,556,549,448.1575 | 21,474 |
pythondev | help | build a uniform distribution in the range -B -> B, then throw out any values -A -> A? | 2019-04-29T14:51:52.158500 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:51:52.158500 | 1,556,549,512.1585 | 21,475 |
pythondev | help | <@Clemmie> that wouldn't give a uniform dist in this range `(-B, -A), (A, B)` | 2019-04-29T14:52:21.158900 | Ouida | pythondev_help_Ouida_2019-04-29T14:52:21.158900 | 1,556,549,541.1589 | 21,476 |
pythondev | help | Isn’t that a multimodal distribution, or 2 different uniform distributions? I’m not sure what it is to have a uniform distribution over 2 discrete ranges | 2019-04-29T14:54:01.159700 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:54:01.159700 | 1,556,549,641.1597 | 21,477 |
pythondev | help | maybe swing over to <#C0JB9ATQV|data_science> ? | 2019-04-29T14:54:16.160000 | Clemmie | pythondev_help_Clemmie_2019-04-29T14:54:16.160000 | 1,556,549,656.16 | 21,478 |
pythondev | help | when designing a new system or simple script to do something, when would a class be necessary? im just pulling some qb data with pyodbc and not sure if i should create a class or not. the script is just pulling and merging information based on names. | 2019-04-29T15:16:31.161100 | Nenita | pythondev_help_Nenita_2019-04-29T15:16:31.161100 | 1,556,550,991.1611 | 21,479 |
pythondev | help | You want classes when you want related data structures and methods on those structures, even better when you want the same structures/methods with different data | 2019-04-29T15:17:41.162100 | Clemmie | pythondev_help_Clemmie_2019-04-29T15:17:41.162100 | 1,556,551,061.1621 | 21,480 |
pythondev | help | I tend to write classes even for one offs, because 1) it helps me put my thinking together and 2) can make it easier to encapsulate/extend in the future. So most of my standalone scripts have a main of
```
def main():
thing = Thing()
thing.run()
``` | 2019-04-29T15:18:52.163400 | Clemmie | pythondev_help_Clemmie_2019-04-29T15:18:52.163400 | 1,556,551,132.1634 | 21,481 |
pythondev | help | or similar | 2019-04-29T15:19:23.163700 | Clemmie | pythondev_help_Clemmie_2019-04-29T15:19:23.163700 | 1,556,551,163.1637 | 21,482 |
pythondev | help | well put. i was kinda on the same page so good to know. thanks. | 2019-04-29T15:25:33.164500 | Nenita | pythondev_help_Nenita_2019-04-29T15:25:33.164500 | 1,556,551,533.1645 | 21,483 |
pythondev | help | Hello.
```
import gspread
sh = gc.open("Nameofsheet")
content = open("file.csv", "r").read().encode("utf8")
gc.import_csv(sh.id, content)
```
This code to upload csv to google spreadsheets in first sheet.
```
worksheet = sh.worksheet("Sheet2")
```
But how I can to upload CSV to second sheets? | 2019-04-29T15:28:43.164700 | Jung | pythondev_help_Jung_2019-04-29T15:28:43.164700 | 1,556,551,723.1647 | 21,484 |
pythondev | help | <https://github.com/burnash/gspread> | 2019-04-29T15:49:50.164800 | Nenita | pythondev_help_Nenita_2019-04-29T15:49:50.164800 | 1,556,552,990.1648 | 21,485 |
pythondev | help | looks like you just add '.sheet1' or whatever number to the end of your gc.open statement. | 2019-04-29T15:50:10.165500 | Nenita | pythondev_help_Nenita_2019-04-29T15:50:10.165500 | 1,556,553,010.1655 | 21,486 |
pythondev | help | lol i just noticed the example text. Gold. | 2019-04-29T15:50:35.165900 | Nenita | pythondev_help_Nenita_2019-04-29T15:50:35.165900 | 1,556,553,035.1659 | 21,487 |
pythondev | help | I have a set up where multiple Pieces have multiple Symbols. Symbols are currently represented as a dataclass:
```
@dataclass(unsafe_hash=True, order=True)
class Symbol:
stype: str
side: str
rare: bool = False
``` | 2019-04-29T15:58:08.166900 | Lory | pythondev_help_Lory_2019-04-29T15:58:08.166900 | 1,556,553,488.1669 | 21,488 |
pythondev | help | After doing some analysis on the Pieces, certain symbols are marked as "rare": `s.rare = True`. I want this assignment to be reflected among all Symbols with the same `stype` and `side` as the one just marked rare. | 2019-04-29T15:59:40.168500 | Lory | pythondev_help_Lory_2019-04-29T15:59:40.168500 | 1,556,553,580.1685 | 21,489 |
pythondev | help | Originally, the intent was that Symbols would be canonical and that multiple Pieces would include the same Symbol object (so changes to one symbol would be reflected in all Pieces that include that symbol). However, after writing an importer for Pieces it turns out to be easier to have them include copies of the various symbols. But then changes to a symbol of one kind are not reflected in others of the same kind. Any thoughts? | 2019-04-29T16:02:19.171400 | Lory | pythondev_help_Lory_2019-04-29T16:02:19.171400 | 1,556,553,739.1714 | 21,490 |
pythondev | help | hello, anyone knows what is the differences between tox.ini deps and pipenv ? | 2019-04-29T16:12:31.172100 | Lavinia | pythondev_help_Lavinia_2019-04-29T16:12:31.172100 | 1,556,554,351.1721 | 21,491 |
pythondev | help | I try to use tox over pipenv but the documentation is not very clear | 2019-04-29T16:12:57.172700 | Lavinia | pythondev_help_Lavinia_2019-04-29T16:12:57.172700 | 1,556,554,377.1727 | 21,492 |
pythondev | help | have the feeling that there is an overlap when talking about dependencies between tox vs pipenv | 2019-04-29T16:13:39.173700 | Lavinia | pythondev_help_Lavinia_2019-04-29T16:13:39.173700 | 1,556,554,419.1737 | 21,493 |
pythondev | help | How could I store a block of code as a string to execute later? | 2019-04-29T16:16:26.174200 | Emelda | pythondev_help_Emelda_2019-04-29T16:16:26.174200 | 1,556,554,586.1742 | 21,494 |
pythondev | help | in powershell, I could just assign it to a variable like ```$code = @"
code here
on multiple lines
"@``` | 2019-04-29T16:17:32.175300 | Emelda | pythondev_help_Emelda_2019-04-29T16:17:32.175300 | 1,556,554,652.1753 | 21,495 |
pythondev | help | ```cmd = ''' Setlocal
set Filter=MicrosoftOffice16_Data:
for /f "tokens=1*" %%a in ('cmdkey.exe /list ^| find /i "%Filter%"') do (
echo Removing credentials for target '%%~b' '''``` like this perhaps? | 2019-04-29T16:19:41.175600 | Emelda | pythondev_help_Emelda_2019-04-29T16:19:41.175600 | 1,556,554,781.1756 | 21,496 |
pythondev | help | If I do it this way the `%` are registering as something else and I'm not sure how to escape them | 2019-04-29T16:20:23.176200 | Emelda | pythondev_help_Emelda_2019-04-29T16:20:23.176200 | 1,556,554,823.1762 | 21,497 |
pythondev | help | Thanks | 2019-04-29T16:53:31.176300 | Melia | pythondev_help_Melia_2019-04-29T16:53:31.176300 | 1,556,556,811.1763 | 21,498 |
pythondev | help | :awwyea: | 2019-04-29T18:43:12.176900 | Priscilla | pythondev_help_Priscilla_2019-04-29T18:43:12.176900 | 1,556,563,392.1769 | 21,499 |
pythondev | help | <@Emelda> You can use `eval()` to execute code contained in a regular Python string. However, this is generally considered bad practice versus just making a function for the code... you can pass around references to it like any other variable and call it later. | 2019-04-29T18:50:14.178400 | Sasha | pythondev_help_Sasha_2019-04-29T18:50:14.178400 | 1,556,563,814.1784 | 21,500 |
pythondev | help | is this the best way to run a `while` loop for a set amount of time? do you guys use anything specific for this kind of goal? | 2019-04-29T19:47:29.178600 | Priscilla | pythondev_help_Priscilla_2019-04-29T19:47:29.178600 | 1,556,567,249.1786 | 21,501 |
pythondev | help | im taking a bout a loop running for hours, not seconds | 2019-04-29T19:47:55.179200 | Priscilla | pythondev_help_Priscilla_2019-04-29T19:47:55.179200 | 1,556,567,275.1792 | 21,502 |
pythondev | help | <@Priscilla> Looks like above piece of code is not going to work for windows, since its using signals | 2019-04-30T00:24:03.180700 | Leonor | pythondev_help_Leonor_2019-04-30T00:24:03.180700 | 1,556,583,843.1807 | 21,503 |
pythondev | help | Hello | 2019-04-30T01:05:15.181000 | Nella | pythondev_help_Nella_2019-04-30T01:05:15.181000 | 1,556,586,315.181 | 21,504 |
pythondev | help | How can I replace multiple dash with one dash using regex? | 2019-04-30T01:05:29.181500 | Nella | pythondev_help_Nella_2019-04-30T01:05:29.181500 | 1,556,586,329.1815 | 21,505 |
pythondev | help | ```match_dash = re.compile('/-+/')
string = match_dash.sub('example---dash', '-')```
Why this code don’t work for me? | 2019-04-30T01:06:25.181800 | Nella | pythondev_help_Nella_2019-04-30T01:06:25.181800 | 1,556,586,385.1818 | 21,506 |
pythondev | help | Why do you have slashes in your regex? | 2019-04-30T01:08:14.182600 | Chester | pythondev_help_Chester_2019-04-30T01:08:14.182600 | 1,556,586,494.1826 | 21,507 |
pythondev | help | you dont need the 2 slashes in python only in javascript <@Nella> | 2019-04-30T01:12:55.183000 | Sparkle | pythondev_help_Sparkle_2019-04-30T01:12:55.183000 | 1,556,586,775.183 | 21,508 |
pythondev | help | Oh, I see… | 2019-04-30T01:13:10.183300 | Nella | pythondev_help_Nella_2019-04-30T01:13:10.183300 | 1,556,586,790.1833 | 21,509 |
pythondev | help | but even if I remove slashes, I still can’t get it | 2019-04-30T01:14:17.183900 | Nella | pythondev_help_Nella_2019-04-30T01:14:17.183900 | 1,556,586,857.1839 | 21,510 |
pythondev | help | Can you post what you're seeing? It should work:
```>>> re.sub('-+', '-', 'example---dash')
'example-dash'``` | 2019-04-30T01:19:12.184400 | Sasha | pythondev_help_Sasha_2019-04-30T01:19:12.184400 | 1,556,587,152.1844 | 21,511 |
pythondev | help | Oh, sorry, you need to swap the parameter order in `sub()`. | 2019-04-30T01:21:04.185000 | Sasha | pythondev_help_Sasha_2019-04-30T01:21:04.185000 | 1,556,587,264.185 | 21,512 |
pythondev | help | Now it works. | 2019-04-30T01:21:18.185200 | Nella | pythondev_help_Nella_2019-04-30T01:21:18.185200 | 1,556,587,278.1852 | 21,513 |
pythondev | help | Thanks so much | 2019-04-30T01:21:26.185500 | Nella | pythondev_help_Nella_2019-04-30T01:21:26.185500 | 1,556,587,286.1855 | 21,514 |
pythondev | help | hello, need help to understand how to use appdirs inside a vritual env | 2019-04-30T02:05:16.186300 | Lavinia | pythondev_help_Lavinia_2019-04-30T02:05:16.186300 | 1,556,589,916.1863 | 21,515 |
pythondev | help | <#C07EFMZ1N|help> does anybody know any resources how to create an statistical control chart in python. | 2019-04-30T05:01:43.187600 | Rhona | pythondev_help_Rhona_2019-04-30T05:01:43.187600 | 1,556,600,503.1876 | 21,516 |
pythondev | help | pyechart <https://github.com/pyecharts/pyecharts> may help you | 2019-04-30T05:24:01.187700 | Bertram | pythondev_help_Bertram_2019-04-30T05:24:01.187700 | 1,556,601,841.1877 | 21,517 |
pythondev | help | For one of my scrapers I'm getting ```requests.exceptions.ConnectionError: HTTPSConnectionPool(host='<http://bitinfocharts.com|bitinfocharts.com>', port=443): Max retries exceeded with url: /top-100-richest-bitcoin%20gold-addresses-6.html (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10bf4dc50>: Failed to establish a new connection: [Errno 50] Network is down'))``` | 2019-04-30T06:55:30.188400 | Conchita | pythondev_help_Conchita_2019-04-30T06:55:30.188400 | 1,556,607,330.1884 | 21,518 |
pythondev | help | Does this imply that the site is blocking my ip? | 2019-04-30T06:55:45.188800 | Conchita | pythondev_help_Conchita_2019-04-30T06:55:45.188800 | 1,556,607,345.1888 | 21,519 |
pythondev | help | not necessarily | 2019-04-30T07:00:22.189100 | Jettie | pythondev_help_Jettie_2019-04-30T07:00:22.189100 | 1,556,607,622.1891 | 21,520 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.