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 | <@Kelsey> there is a slight improvement on the <@Garrett> solution which will have a better performance for *long* `details['key']` lists. You can replace the outer list in `any` call with generator. This way the iteration will stop on the first appearance of 999. On average, it will be twice as fast as with list. | 2018-01-11T14:12:47.000259 | Jeanie | pythondev_help_Jeanie_2018-01-11T14:12:47.000259 | 1,515,679,967.000259 | 28,724 |
pythondev | help | <@Jeanie> ahh thanks, thats helpful | 2018-01-11T14:23:19.000186 | Kelsey | pythondev_help_Kelsey_2018-01-11T14:23:19.000186 | 1,515,680,599.000186 | 28,725 |
pythondev | help | <@Jeanie> ahhh thanks, helpful | 2018-01-11T14:23:39.000172 | Kelsey | pythondev_help_Kelsey_2018-01-11T14:23:39.000172 | 1,515,680,619.000172 | 28,726 |
pythondev | help | quick question on print statements: I'm trying to print out some variables and some helper text using ".ljust". Is there any way of combining .format with .ljust? | 2018-01-11T14:28:21.000485 | Sandra | pythondev_help_Sandra_2018-01-11T14:28:21.000485 | 1,515,680,901.000485 | 28,727 |
pythondev | help | ```
for t in transactions.keys():
cp = round(transactions[t].current_price, 8)
pp = round(transactions[t]['purchase_price'], 8)
q = transactions[t]['quantity']
pc = round(transactions[t]['percent_change'], 2)
dc = round(transactions[t]['dollar_change'], 2)
mv = round(transactions[t]['mkt_valu... | 2018-01-11T14:29:58.000551 | Sandra | pythondev_help_Sandra_2018-01-11T14:29:58.000551 | 1,515,680,998.000551 | 28,728 |
pythondev | help | This is what I have, and it's super ugly and long. | 2018-01-11T14:30:12.000005 | Sandra | pythondev_help_Sandra_2018-01-11T14:30:12.000005 | 1,515,681,012.000005 | 28,729 |
pythondev | help | <https://docs.python.org/3.4/library/string.html#formatspec> maybe something there | 2018-01-11T14:30:22.000852 | Micki | pythondev_help_Micki_2018-01-11T14:30:22.000852 | 1,515,681,022.000852 | 28,730 |
pythondev | help | Does anyone know if it's possible for `pytest` to ignore a file pattern when doing test discovery? | 2018-01-11T14:33:08.000086 | Len | pythondev_help_Len_2018-01-11T14:33:08.000086 | 1,515,681,188.000086 | 28,731 |
pythondev | help | emacs and flycheck create temporary files ".flycheck_<recently_edited_file>.py" that pytest will pick up if I run it too quickly after editing a file. | 2018-01-11T14:34:19.000478 | Len | pythondev_help_Len_2018-01-11T14:34:19.000478 | 1,515,681,259.000478 | 28,732 |
pythondev | help | there is `--ignore` option | 2018-01-11T14:45:10.000050 | Lakita | pythondev_help_Lakita_2018-01-11T14:45:10.000050 | 1,515,681,910.00005 | 28,733 |
pythondev | help | okay ill check it out. do u have any other ideas? | 2018-01-11T14:51:15.000219 | Sandra | pythondev_help_Sandra_2018-01-11T14:51:15.000219 | 1,515,682,275.000219 | 28,734 |
pythondev | help | Can anyone spot an error with this code if its py3 ``` def sendResponse(self):
self.sendLine("HTTP/1.1 200 OK")
self.sendLine("")
responseBody = "You said:\r\n\r" + "\r\n".join(self.lines)
self.transport.write(responseBody)
self.transport.loseConnection()
``` | 2018-01-11T15:17:40.000304 | Niesha | pythondev_help_Niesha_2018-01-11T15:17:40.000304 | 1,515,683,860.000304 | 28,735 |
pythondev | help | My traceback error is this ``` File "C:/Users/jessica/PycharmProjects/Twisted/chapter4/4.1webecho.py", line 20, in lineReceived
self.sendResponse()
File "C:/Users/jessica/PycharmProjects/Twisted/chapter4/4.1webecho.py", line 23, in sendResponse
self.sendLine("HTTP/1.1 200 OK")
File "C:\Users\jessica\AppDat... | 2018-01-11T15:18:14.000069 | Niesha | pythondev_help_Niesha_2018-01-11T15:18:14.000069 | 1,515,683,894.000069 | 28,736 |
pythondev | help | On initial glance I'd assume it has to do with the change in python 3 so that str automatically supports unicode but not sure what's causing the specific error | 2018-01-11T15:23:14.000015 | Leanora | pythondev_help_Leanora_2018-01-11T15:23:14.000015 | 1,515,684,194.000015 | 28,737 |
pythondev | help | <@Leanora> I tried adding .encode and changing the formats of teh strings but I could not seem to quite get the error to go away. | 2018-01-11T15:25:04.000473 | Niesha | pythondev_help_Niesha_2018-01-11T15:25:04.000473 | 1,515,684,304.000473 | 28,738 |
pythondev | help | You said "but not sure what's causing the specific error" I know that the line 635 is referring to the interhited function "sendLine" but all I get from that is the def | 2018-01-11T15:26:15.000313 | Niesha | pythondev_help_Niesha_2018-01-11T15:26:15.000313 | 1,515,684,375.000313 | 28,739 |
pythondev | help | ``` def sendLine(self, line):
"""
Sends a line to the other end of the connection.
@param line: The line to send, not including the delimiter.
@type line: C{bytes}
"""
return self.transport.write(line + self.delimiter)``` | 2018-01-11T15:26:46.000130 | Niesha | pythondev_help_Niesha_2018-01-11T15:26:46.000130 | 1,515,684,406.00013 | 28,740 |
pythondev | help | which is this | 2018-01-11T15:26:49.000152 | Niesha | pythondev_help_Niesha_2018-01-11T15:26:49.000152 | 1,515,684,409.000152 | 28,741 |
pythondev | help | <@Niesha> what is the value of `self.delimiter`. The line you are sending in is a str, if the delimiter is bytes you could get the error | 2018-01-11T15:41:11.000533 | Jeanie | pythondev_help_Jeanie_2018-01-11T15:41:11.000533 | 1,515,685,271.000533 | 28,742 |
pythondev | help | @joe no dice. | 2018-01-11T15:41:40.000378 | Niesha | pythondev_help_Niesha_2018-01-11T15:41:40.000378 | 1,515,685,300.000378 | 28,743 |
pythondev | help | Hellos peoples !!
Does anyone know where I can find a tutorial about Django Rest Framework and Cloudinary?
I basically I try to do this, but I got this error that I have put in the question.
`<https://stackoverflow.com/questions/48068898/django-rest-framework-and-cloudinary?noredirect=1#comment83122267_48068898>` | 2018-01-11T15:41:57.000441 | Dedra | pythondev_help_Dedra_2018-01-11T15:41:57.000441 | 1,515,685,317.000441 | 28,744 |
pythondev | help | self.delimeter......... That is a good question. how would i figure that out? THat is part of the definiton in the parent class <@Jeanie> | 2018-01-11T15:42:45.000058 | Niesha | pythondev_help_Niesha_2018-01-11T15:42:45.000058 | 1,515,685,365.000058 | 28,745 |
pythondev | help | Yes, it is an attribute of the base. | 2018-01-11T15:43:18.000015 | Jeanie | pythondev_help_Jeanie_2018-01-11T15:43:18.000015 | 1,515,685,398.000015 | 28,746 |
pythondev | help | <@Lakita> As far as I could tell, --ignore doesn't respect a regex or any other pattern, only the exact filename. | 2018-01-11T15:43:24.000185 | Len | pythondev_help_Len_2018-01-11T15:43:24.000185 | 1,515,685,404.000185 | 28,747 |
pythondev | help | oh, I thought that you can use Linux wildcards etc. | 2018-01-11T15:44:59.000476 | Lakita | pythondev_help_Lakita_2018-01-11T15:44:59.000476 | 1,515,685,499.000476 | 28,748 |
pythondev | help | <@Niesha> what is the version of Twisted you have installed? | 2018-01-11T15:45:22.000561 | Jeanie | pythondev_help_Jeanie_2018-01-11T15:45:22.000561 | 1,515,685,522.000561 | 28,749 |
pythondev | help | I don't know I use py3. | 2018-01-11T15:45:33.000226 | Niesha | pythondev_help_Niesha_2018-01-11T15:45:33.000226 | 1,515,685,533.000226 | 28,750 |
pythondev | help | <https://pypi.org/project/Twisted/> | 2018-01-11T15:46:07.000149 | Niesha | pythondev_help_Niesha_2018-01-11T15:46:07.000149 | 1,515,685,567.000149 | 28,751 |
pythondev | help | `pip freeze | grep Twisted` or in Pycharm open Preferences->Project Interpreter | 2018-01-11T15:46:40.000158 | Jeanie | pythondev_help_Jeanie_2018-01-11T15:46:40.000158 | 1,515,685,600.000158 | 28,752 |
pythondev | help | <@Dedra> <#C0LMFRMB5|django> would probably be a better place for your question, a lot of django folk over there | 2018-01-11T15:47:03.000249 | Brande | pythondev_help_Brande_2018-01-11T15:47:03.000249 | 1,515,685,623.000249 | 28,753 |
pythondev | help | Thanks <@Brande> | 2018-01-11T15:47:35.000132 | Dedra | pythondev_help_Dedra_2018-01-11T15:47:35.000132 | 1,515,685,655.000132 | 28,754 |
pythondev | help | a later version of Twisted and my recommendation of prefixing the string with b to change it to bytes should work <@Niesha> | 2018-01-11T15:49:05.000724 | Brande | pythondev_help_Brande_2018-01-11T15:49:05.000724 | 1,515,685,745.000724 | 28,755 |
pythondev | help | it’s what <@Leanora> mentioned of python3 being unicode strings, and this is expecting a bytestring | 2018-01-11T15:50:29.000146 | Brande | pythondev_help_Brande_2018-01-11T15:50:29.000146 | 1,515,685,829.000146 | 28,756 |
pythondev | help | After painful realizations that I need to learn to read error logs better and know types better. I realized that this is the right thing and that self.lines is a list and thats why it can't be prefixed with a b. | 2018-01-11T17:27:49.000443 | Niesha | pythondev_help_Niesha_2018-01-11T17:27:49.000443 | 1,515,691,669.000443 | 28,757 |
pythondev | help | ``` def sendResponse(self):
self.sendLine(b"HTTP/1.1 200 OK")
self.sendLine(b"")
responseBody = b'You said:\r\n\r' + b'\r\n'.join(self.lines)
self.transport.write(responseBody)
self.transport.loseConnection()``` | 2018-01-11T17:27:56.000229 | Niesha | pythondev_help_Niesha_2018-01-11T17:27:56.000229 | 1,515,691,676.000229 | 28,758 |
pythondev | help | <@Brande> <@Jeanie> but ya you guys were right i just was not placing them correct | 2018-01-11T17:28:20.000014 | Niesha | pythondev_help_Niesha_2018-01-11T17:28:20.000014 | 1,515,691,700.000014 | 28,759 |
pythondev | help | Hmm, I couldn't get it to work with `--ignore`. That said, I did find a way. You can create a `pytest.ini` and add `python_files=[!.]*_test.py` | 2018-01-11T19:20:13.000154 | Len | pythondev_help_Len_2018-01-11T19:20:13.000154 | 1,515,698,413.000154 | 28,760 |
pythondev | help | That will ignore all test files starting with a `.` | 2018-01-11T19:20:28.000325 | Len | pythondev_help_Len_2018-01-11T19:20:28.000325 | 1,515,698,428.000325 | 28,761 |
pythondev | help | Which is what I needed :smiley: | 2018-01-11T19:20:33.000214 | Len | pythondev_help_Len_2018-01-11T19:20:33.000214 | 1,515,698,433.000214 | 28,762 |
pythondev | help | is there a way to flush any contents that might be readable in a file descriptor? | 2018-01-11T22:33:30.000158 | Shante | pythondev_help_Shante_2018-01-11T22:33:30.000158 | 1,515,710,010.000158 | 28,763 |
pythondev | help | I don't care about capturing the output, I'm just grabbing a few bytes to see if anything is there and then I want to flush the rest to clear the buffer out so the next time I loop around I can check again if something is there | 2018-01-11T22:34:15.000158 | Shante | pythondev_help_Shante_2018-01-11T22:34:15.000158 | 1,515,710,055.000158 | 28,764 |
pythondev | help | Do you have to read those bytes or can you use <https://docs.python.org/2/library/os.path.html#os.path.isfile> | 2018-01-11T23:10:03.000251 | Dominica | pythondev_help_Dominica_2018-01-11T23:10:03.000251 | 1,515,712,203.000251 | 28,765 |
pythondev | help | For 3.6: <https://docs.python.org/3.6/library/os.path.html#os.path.isfile> | 2018-01-11T23:10:42.000169 | Dominica | pythondev_help_Dominica_2018-01-11T23:10:42.000169 | 1,515,712,242.000169 | 28,766 |
pythondev | help | So py3 doesn't use the method "has_key" <https://stackoverflow.com/questions/1323410/has-key-or-in?noredirect=1&lq=1> | 2018-01-12T01:07:10.000226 | Niesha | pythondev_help_Niesha_2018-01-12T01:07:10.000226 | 1,515,719,230.000226 | 28,767 |
pythondev | help | so i am using "in" | 2018-01-12T01:07:20.000176 | Niesha | pythondev_help_Niesha_2018-01-12T01:07:20.000176 | 1,515,719,240.000176 | 28,768 |
pythondev | help | fixed now: ```class MyRequestHandler(http.Request):
resources = {
'/': '<h1>Home</h1>Home Page',
'/about': '<h1>All about me',
}
def process(self):
self.setHeader('Content-Type', 'text/html')
if self.path in self.resources:
self.writ... | 2018-01-12T01:07:36.000116 | Niesha | pythondev_help_Niesha_2018-01-12T01:07:36.000116 | 1,515,719,256.000116 | 28,769 |
pythondev | help | My error taht I am getting now is: | 2018-01-12T01:07:52.000066 | Niesha | pythondev_help_Niesha_2018-01-12T01:07:52.000066 | 1,515,719,272.000066 | 28,770 |
pythondev | help | ```if self.resources in (self.path):
builtins.TypeError: a bytes-like object is required, not 'dict'``` | 2018-01-12T01:08:26.000238 | Niesha | pythondev_help_Niesha_2018-01-12T01:08:26.000238 | 1,515,719,306.000238 | 28,771 |
pythondev | help | I bet it should be `if self.path in self.resources` | 2018-01-12T01:08:55.000070 | Aleida | pythondev_help_Aleida_2018-01-12T01:08:55.000070 | 1,515,719,335.00007 | 28,772 |
pythondev | help | So is self.resources a dictionary and I should change it to bytes? | 2018-01-12T01:09:12.000088 | Niesha | pythondev_help_Niesha_2018-01-12T01:09:12.000088 | 1,515,719,352.000088 | 28,773 |
pythondev | help | <@Aleida> I will try that. | 2018-01-12T01:09:24.000076 | Niesha | pythondev_help_Niesha_2018-01-12T01:09:24.000076 | 1,515,719,364.000076 | 28,774 |
pythondev | help | Oh, and `self.path` is somehow bytes, not str | 2018-01-12T01:09:36.000158 | Aleida | pythondev_help_Aleida_2018-01-12T01:09:36.000158 | 1,515,719,376.000158 | 28,775 |
pythondev | help | Are you trying to implement your own http server from scratch? | 2018-01-12T01:10:04.000109 | Aleida | pythondev_help_Aleida_2018-01-12T01:10:04.000109 | 1,515,719,404.000109 | 28,776 |
pythondev | help | yes. but from scratch not really I am using the twisted o reily book. | 2018-01-12T01:10:30.000148 | Niesha | pythondev_help_Niesha_2018-01-12T01:10:30.000148 | 1,515,719,430.000148 | 28,777 |
pythondev | help | I'd rather suggest to read the source code of an existing implementation if you want to learn how HTTP works behind the scenes | 2018-01-12T01:11:24.000178 | Aleida | pythondev_help_Aleida_2018-01-12T01:11:24.000178 | 1,515,719,484.000178 | 28,778 |
pythondev | help | Writing your own HTTP server is... scary at least | 2018-01-12T01:11:36.000114 | Aleida | pythondev_help_Aleida_2018-01-12T01:11:36.000114 | 1,515,719,496.000114 | 28,779 |
pythondev | help | I'm trying ot learn the fundametnals of networking. | 2018-01-12T01:13:00.000034 | Niesha | pythondev_help_Niesha_2018-01-12T01:13:00.000034 | 1,515,719,580.000034 | 28,780 |
pythondev | help | Also <@Aleida> how did you get the intuition for switching around the self.path and self.resources | 2018-01-12T01:13:45.000125 | Niesha | pythondev_help_Niesha_2018-01-12T01:13:45.000125 | 1,515,719,625.000125 | 28,781 |
pythondev | help | Because the syntax for checking if a key is in a dictionary is `if key in dict`, not the other way around | 2018-01-12T01:14:32.000205 | Aleida | pythondev_help_Aleida_2018-01-12T01:14:32.000205 | 1,515,719,672.000205 | 28,782 |
pythondev | help | Okay ya that makes sense. thank you. | 2018-01-12T01:14:52.000241 | Niesha | pythondev_help_Niesha_2018-01-12T01:14:52.000241 | 1,515,719,692.000241 | 28,783 |
pythondev | help | and why is writing my own HTTP server scary <@Aleida>? | 2018-01-12T01:15:07.000130 | Niesha | pythondev_help_Niesha_2018-01-12T01:15:07.000130 | 1,515,719,707.00013 | 28,784 |
pythondev | help | Because HTTP is scary, with all its inconsistencies and weird edge cases | 2018-01-12T01:16:11.000190 | Aleida | pythondev_help_Aleida_2018-01-12T01:16:11.000190 | 1,515,719,771.00019 | 28,785 |
pythondev | help | It states to be a text-based protocol, but it uses a bytes-oriented wire (TCP) so you have to send and receive bytes, not say unicode | 2018-01-12T01:17:08.000132 | Aleida | pythondev_help_Aleida_2018-01-12T01:17:08.000132 | 1,515,719,828.000132 | 28,786 |
pythondev | help | That's why you always need to think about encodings | 2018-01-12T01:17:26.000084 | Aleida | pythondev_help_Aleida_2018-01-12T01:17:26.000084 | 1,515,719,846.000084 | 28,787 |
pythondev | help | ya ihave been learning a lot of that. lol is that why they call this book "TWISTED" | 2018-01-12T01:17:33.000026 | Niesha | pythondev_help_Niesha_2018-01-12T01:17:33.000026 | 1,515,719,853.000026 | 28,788 |
pythondev | help | Even your example won't work because keys of `self.resources` are strings (i.e. unicode), but `self.path` is bytes | 2018-01-12T01:18:02.000010 | Aleida | pythondev_help_Aleida_2018-01-12T01:18:02.000010 | 1,515,719,882.00001 | 28,789 |
pythondev | help | umm i mean it worked | 2018-01-12T01:18:27.000035 | Niesha | pythondev_help_Niesha_2018-01-12T01:18:27.000035 | 1,515,719,907.000035 | 28,790 |
pythondev | help | I can send you the full code if you would like to see. | 2018-01-12T01:18:36.000130 | Niesha | pythondev_help_Niesha_2018-01-12T01:18:36.000130 | 1,515,719,916.00013 | 28,791 |
pythondev | help | And you need to choose if you're going to `self.path.decode('utf-8')` before checking its presence in the dictionary, or you need to put bytes as keys in `self.resources` instead of strings | 2018-01-12T01:19:04.000135 | Aleida | pythondev_help_Aleida_2018-01-12T01:19:04.000135 | 1,515,719,944.000135 | 28,792 |
pythondev | help | it's ambitious. You're learning python, networking, and trying to build a web server at the same time. Normally people write tic-tac-toe or play w/ a switch. You're shooting for the :star:, wanting to recreate apache, that's all. :slightly_smiling_face: | 2018-01-12T01:20:31.000201 | Dominica | pythondev_help_Dominica_2018-01-12T01:20:31.000201 | 1,515,720,031.000201 | 28,793 |
pythondev | help | hey, more power to you <@Niesha>. And you know you can always ask people here for help. <@Aleida> is probably one of the best here. | 2018-01-12T01:21:13.000071 | Dominica | pythondev_help_Dominica_2018-01-12T01:21:13.000071 | 1,515,720,073.000071 | 28,794 |
pythondev | help | I'd say if you really want to learn networking, you should start from something simpler than a HTTP server.
Maybe even a custom protocol, just to feel how bytes are floating around | 2018-01-12T01:22:14.000101 | Aleida | pythondev_help_Aleida_2018-01-12T01:22:14.000101 | 1,515,720,134.000101 | 28,795 |
pythondev | help | An echo server is a good example of such custom protocol | 2018-01-12T01:22:31.000057 | Aleida | pythondev_help_Aleida_2018-01-12T01:22:31.000057 | 1,515,720,151.000057 | 28,796 |
pythondev | help | ```from twisted.internet import protocol, reactor
class Echo(protocol.Protocol):
def dataReceived(self, data):
self.transport.write(data)
class EchoFactory(protocol.Factory):
def buildProtocol(self, addr):
return Echo()
reactor.listenTCP(6942, EchoFactory())
reactor.run()
``` | 2018-01-12T01:23:40.000027 | Niesha | pythondev_help_Niesha_2018-01-12T01:23:40.000027 | 1,515,720,220.000027 | 28,797 |
pythondev | help | I was studying this echo server the other day. | 2018-01-12T01:23:48.000105 | Niesha | pythondev_help_Niesha_2018-01-12T01:23:48.000105 | 1,515,720,228.000105 | 28,798 |
pythondev | help | Thank you <@Dominica> <@Aleida> | 2018-01-12T01:24:29.000088 | Niesha | pythondev_help_Niesha_2018-01-12T01:24:29.000088 | 1,515,720,269.000088 | 28,799 |
pythondev | help | <@Dominica> I have an internship that starts in a week and i am not sure how intensive on teh networking side they are but I know they need me to know python and a the fundamentals of networking. I so I have to try my best and just figure out what i can. | 2018-01-12T01:26:31.000115 | Niesha | pythondev_help_Niesha_2018-01-12T01:26:31.000115 | 1,515,720,391.000115 | 28,800 |
pythondev | help | <@Niesha> once you have the echo server up an running, you can start to complicate things :slightly_smiling_face:
Instead of just echoing, make a parametrized echo server. Then make a calculator. Then make a remote procedure call server | 2018-01-12T01:27:45.000133 | Aleida | pythondev_help_Aleida_2018-01-12T01:27:45.000133 | 1,515,720,465.000133 | 28,801 |
pythondev | help | But all with just bytes | 2018-01-12T01:27:50.000095 | Aleida | pythondev_help_Aleida_2018-01-12T01:27:50.000095 | 1,515,720,470.000095 | 28,802 |
pythondev | help | Once you've familiarised yourself with bytes, only then you can start looking at more sophisticated protocols like HTTP | 2018-01-12T01:28:20.000247 | Aleida | pythondev_help_Aleida_2018-01-12T01:28:20.000247 | 1,515,720,500.000247 | 28,803 |
pythondev | help | <@Aleida> that sounds like a good learning exercise. | 2018-01-12T01:28:21.000146 | Niesha | pythondev_help_Niesha_2018-01-12T01:28:21.000146 | 1,515,720,501.000146 | 28,804 |
pythondev | help | LIke I said, you have a huge community here that you can lean on for help. No shortage of experts. If that's what you want to do, no one here will be an anchor.
There's just a lot going on under the hood for everything that you are tying together. To speed up the process, you might also want to start popping in during... | 2018-01-12T01:30:46.000086 | Dominica | pythondev_help_Dominica_2018-01-12T01:30:46.000086 | 1,515,720,646.000086 | 28,805 |
pythondev | help | but <@Aleida> when you but with all just bytes that makes me think c and non basic and makes me think maybe not the best for trying to get fundamentals of networking? Where do you think i should start with making a parametrized echo server. | 2018-01-12T01:33:01.000003 | Niesha | pythondev_help_Niesha_2018-01-12T01:33:01.000003 | 1,515,720,781.000003 | 28,806 |
pythondev | help | Heh, the most fundamental think about networking is that you always work with bytes, and these bytes can be sent and received partially :slightly_smiling_face: | 2018-01-12T01:34:23.000158 | Aleida | pythondev_help_Aleida_2018-01-12T01:34:23.000158 | 1,515,720,863.000158 | 28,807 |
pythondev | help | GL & GN guys | 2018-01-12T01:36:55.000241 | Dominica | pythondev_help_Dominica_2018-01-12T01:36:55.000241 | 1,515,721,015.000241 | 28,808 |
pythondev | help | <@Niesha> maybe you need a different way of learning networking? Do you understand what is an IP address? A port? A domain name?
How ip packets are routed? How two or more computers can talk to each other in a local network? | 2018-01-12T01:37:54.000020 | Aleida | pythondev_help_Aleida_2018-01-12T01:37:54.000020 | 1,515,721,074.00002 | 28,809 |
pythondev | help | Through programming a bit and readding through this book I think i have a good understanding of IP Adresses Ports domanin names. maybe not "how Ip packed are routed" | 2018-01-12T01:41:14.000221 | Niesha | pythondev_help_Niesha_2018-01-12T01:41:14.000221 | 1,515,721,274.000221 | 28,810 |
pythondev | help | and i did an excersie in this book creating chat servers which helped me understand how two or more computers talk to each other in a local network. | 2018-01-12T01:41:53.000030 | Niesha | pythondev_help_Niesha_2018-01-12T01:41:53.000030 | 1,515,721,313.00003 | 28,811 |
pythondev | help | <@Aleida> | 2018-01-12T01:42:07.000055 | Niesha | pythondev_help_Niesha_2018-01-12T01:42:07.000055 | 1,515,721,327.000055 | 28,812 |
pythondev | help | glad to hear that! :slightly_smiling_face: | 2018-01-12T02:25:55.000081 | Lakita | pythondev_help_Lakita_2018-01-12T02:25:55.000081 | 1,515,723,955.000081 | 28,813 |
pythondev | help | Hello! Does somebody know an answer to following question? <https://stackoverflow.com/questions/48211784/best-way-to-use-python-dotenv-with-pytest> | 2018-01-12T05:11:18.000494 | Cyndy | pythondev_help_Cyndy_2018-01-12T05:11:18.000494 | 1,515,733,878.000494 | 28,814 |
pythondev | help | Hello Team,I'm trying to send emails from Jenkins using the groovy script. My problem is that emails are going to some distribution lists while they're not going to other DLs. Here is a code snippet:
emailext (
subject: subject,
body: content,
to: '<mailto:a.b@x.com|a.b@x.com>, <mailto:c.d@x.com|c.d@x.... | 2018-01-12T05:30:39.000074 | Kathleen | pythondev_help_Kathleen_2018-01-12T05:30:39.000074 | 1,515,735,039.000074 | 28,815 |
pythondev | help | On Ubuntu 16.04, I am experiencing failures installing via `pip` without using `sudo -H`. Can anyone point me to somewhere that can help me figure out why? I see so much talk in the forums that sudo should never be used with pip that I am a little leary of using it. | 2018-01-12T09:42:18.000066 | Adan | pythondev_help_Adan_2018-01-12T09:42:18.000066 | 1,515,750,138.000066 | 28,816 |
pythondev | help | Hi :wave: . You should look into `virtualenvrionment` see <https://packaging.python.org/guides/installing-using-pip-and-virtualenv/> | 2018-01-12T09:43:58.000004 | Micki | pythondev_help_Micki_2018-01-12T09:43:58.000004 | 1,515,750,238.000004 | 28,817 |
pythondev | help | You’re installing remote packages as root, which is why it’s not an encouraged practice. As <@Micki> said, `virtualenv` is good to use as well, but if you do want to install a package globally and safely, `pip install --user <package>` is the best approach | 2018-01-12T09:44:50.000330 | Brande | pythondev_help_Brande_2018-01-12T09:44:50.000330 | 1,515,750,290.00033 | 28,818 |
pythondev | help | Thanks <@Micki>! I had seen virtualenv but hadn't used it much really. | 2018-01-12T09:44:51.000051 | Adan | pythondev_help_Adan_2018-01-12T09:44:51.000051 | 1,515,750,291.000051 | 28,819 |
pythondev | help | thanks <@Brande> | 2018-01-12T09:45:14.000021 | Adan | pythondev_help_Adan_2018-01-12T09:45:14.000021 | 1,515,750,314.000021 | 28,820 |
pythondev | help | <@Brande> is `--user` literally `--user` or should it be my username? | 2018-01-12T09:53:13.000626 | Adan | pythondev_help_Adan_2018-01-12T09:53:13.000626 | 1,515,750,793.000626 | 28,821 |
pythondev | help | sorry to be such a noob | 2018-01-12T09:53:23.000465 | Adan | pythondev_help_Adan_2018-01-12T09:53:23.000465 | 1,515,750,803.000465 | 28,822 |
pythondev | help | <@Adan> literally `--user` | 2018-01-12T09:54:23.000392 | Brande | pythondev_help_Brande_2018-01-12T09:54:23.000392 | 1,515,750,863.000392 | 28,823 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.