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 | nme obj not defined when i tried your code | 2017-11-26T02:30:56.000038 | Lavona | pythondev_help_Lavona_2017-11-26T02:30:56.000038 | 1,511,663,456.000038 | 101,203 |
pythondev | help | Can you see `obj` in _your_ code? | 2017-11-26T02:31:33.000034 | Collette | pythondev_help_Collette_2017-11-26T02:31:33.000034 | 1,511,663,493.000034 | 101,204 |
pythondev | help | That's what you should pretty-print | 2017-11-26T02:31:44.000025 | Collette | pythondev_help_Collette_2017-11-26T02:31:44.000025 | 1,511,663,504.000025 | 101,205 |
pythondev | help | This was my original attempt: <https://bpaste.net/show/e483f1225510> | 2017-11-26T02:32:14.000029 | Lavona | pythondev_help_Lavona_2017-11-26T02:32:14.000029 | 1,511,663,534.000029 | 101,206 |
pythondev | help | parsing it as a txt file. | 2017-11-26T02:32:22.000080 | Lavona | pythondev_help_Lavona_2017-11-26T02:32:22.000080 | 1,511,663,542.00008 | 101,207 |
pythondev | help | nothing comes up | 2017-11-26T02:34:27.000004 | Lavona | pythondev_help_Lavona_2017-11-26T02:34:27.000004 | 1,511,663,667.000004 | 101,208 |
pythondev | help | Because you never call `find_all_entries` function, and you never pprint `json_data` | 2017-11-26T02:37:57.000002 | Collette | pythondev_help_Collette_2017-11-26T02:37:57.000002 | 1,511,663,877.000002 | 101,209 |
pythondev | help | Have you walked through a tutorial? | 2017-11-26T02:38:11.000030 | Collette | pythondev_help_Collette_2017-11-26T02:38:11.000030 | 1,511,663,891.00003 | 101,210 |
pythondev | help | Okay, pprint.pprint(json_data) displays all the data | 2017-11-26T02:39:47.000027 | Lavona | pythondev_help_Lavona_2017-11-26T02:39:47.000027 | 1,511,663,987.000027 | 101,211 |
pythondev | help | under children is all the values | 2017-11-26T02:40:14.000064 | Lavona | pythondev_help_Lavona_2017-11-26T02:40:14.000064 | 1,511,664,014.000064 | 101,212 |
pythondev | help | attempting to change it to children as it looks like it shows up under Children | 2017-11-26T02:42:52.000037 | Lavona | pythondev_help_Lavona_2017-11-26T02:42:52.000037 | 1,511,664,172.000037 | 101,213 |
pythondev | help | python3 py3jsontest.py
Traceback (most recent call last):
File “py3jsontest.py”, line 18, in <module>
for entry in find_all_entries(data[‘d’]):
File “py3jsontest.py”, line 11, in find_all_entries
fileAssetId = obj[‘children’][‘fileAssetId’],
TypeError: list indices must be integers or slices, not str | 2017-11-26T02:42:54.000034 | Lavona | pythondev_help_Lavona_2017-11-26T02:42:54.000034 | 1,511,664,174.000034 | 101,214 |
pythondev | help | `obj['children']` is a list, not a dict | 2017-11-26T02:44:15.000028 | Collette | pythondev_help_Collette_2017-11-26T02:44:15.000028 | 1,511,664,255.000028 | 101,215 |
pythondev | help | I'm going to ask one more time, have you tried to learn python before writing this program? Especially how lists and dicts work | 2017-11-26T02:44:47.000016 | Collette | pythondev_help_Collette_2017-11-26T02:44:47.000016 | 1,511,664,287.000016 | 101,216 |
pythondev | help | I am following Udemy tutorials etc. I havent tried any tutuorials with JSON yet. | 2017-11-26T02:45:20.000011 | Lavona | pythondev_help_Lavona_2017-11-26T02:45:20.000011 | 1,511,664,320.000011 | 101,217 |
pythondev | help | The only other program ive written is a data analysis program, have some idea on dicts and lists but its still sinking in | 2017-11-26T02:47:25.000057 | Lavona | pythondev_help_Lavona_2017-11-26T02:47:25.000057 | 1,511,664,445.000057 | 101,218 |
pythondev | help | Whats the best way or would you be able to provide some example of how i could call the values from the JSOn file and apply them to a string like <http://key1.com/key2+?Key3> etc?? | 2017-11-26T02:49:20.000018 | Lavona | pythondev_help_Lavona_2017-11-26T02:49:20.000018 | 1,511,664,560.000018 | 101,219 |
pythondev | help | I commented all the keys out apaart from ID and all the ID’s printed | 2017-11-26T02:50:16.000036 | Lavona | pythondev_help_Lavona_2017-11-26T02:50:16.000036 | 1,511,664,616.000036 | 101,220 |
pythondev | help | so the other keys under children and content are the keys i cannot get (or dont know how to get) | 2017-11-26T02:50:56.000010 | Lavona | pythondev_help_Lavona_2017-11-26T02:50:56.000010 | 1,511,664,656.00001 | 101,221 |
pythondev | help | what's the best way of giving `set.difference()` a single element? | 2017-11-26T02:52:44.000034 | Winnie | pythondev_help_Winnie_2017-11-26T02:52:44.000034 | 1,511,664,764.000034 | 101,222 |
pythondev | help | got name working now | 2017-11-26T02:52:47.000017 | Lavona | pythondev_help_Lavona_2017-11-26T02:52:47.000017 | 1,511,664,767.000017 | 101,223 |
pythondev | help | <@Collette> how do i call the key as a list? | 2017-11-26T03:03:21.000042 | Lavona | pythondev_help_Lavona_2017-11-26T03:03:21.000042 | 1,511,665,401.000042 | 101,224 |
pythondev | help | the value is under [chlidren][content]and sometimes just [content] | 2017-11-26T03:04:16.000012 | Lavona | pythondev_help_Lavona_2017-11-26T03:04:16.000012 | 1,511,665,456.000012 | 101,225 |
pythondev | help | That's a mess. If I were you I'd try to fix this first | 2017-11-26T03:10:30.000022 | Collette | pythondev_help_Collette_2017-11-26T03:10:30.000022 | 1,511,665,830.000022 | 101,226 |
pythondev | help | Flatten the data somehow | 2017-11-26T03:10:36.000003 | Collette | pythondev_help_Collette_2017-11-26T03:10:36.000003 | 1,511,665,836.000003 | 101,227 |
pythondev | help | cant alter the data :disappointed: | 2017-11-26T03:10:55.000019 | Lavona | pythondev_help_Lavona_2017-11-26T03:10:55.000019 | 1,511,665,855.000019 | 101,228 |
pythondev | help | I only get this: list indices must be integers or slices, not str when i add [children] or [‘content’] | 2017-11-26T03:14:26.000033 | Lavona | pythondev_help_Lavona_2017-11-26T03:14:26.000033 | 1,511,666,066.000033 | 101,229 |
pythondev | help | hi all, how do i use HTTP requests to download a file that requires authentication? | 2017-11-26T08:37:52.000022 | Lavona | pythondev_help_Lavona_2017-11-26T08:37:52.000022 | 1,511,685,472.000022 | 101,230 |
pythondev | help | i have a list of all the URL’s | 2017-11-26T08:37:59.000079 | Lavona | pythondev_help_Lavona_2017-11-26T08:37:59.000079 | 1,511,685,479.000079 | 101,231 |
pythondev | help | `requests.get(url, auth=(login, password))` | 2017-11-26T09:23:35.000010 | Suellen | pythondev_help_Suellen_2017-11-26T09:23:35.000010 | 1,511,688,215.00001 | 101,232 |
pythondev | help | <@Seema> um.. No.. where? | 2017-11-26T11:48:36.000010 | Pasquale | pythondev_help_Pasquale_2017-11-26T11:48:36.000010 | 1,511,696,916.00001 | 101,233 |
pythondev | help | A function that gathers the inputs instead of returning them each line for example <http://interactivepython.org/runestone/static/thinkcspy/Functions/TheAccumulatorPattern.html> | 2017-11-26T12:32:45.000034 | Seema | pythondev_help_Seema_2017-11-26T12:32:45.000034 | 1,511,699,565.000034 | 101,234 |
pythondev | help | To fix your Scrapy output | 2017-11-26T12:33:09.000027 | Seema | pythondev_help_Seema_2017-11-26T12:33:09.000027 | 1,511,699,589.000027 | 101,235 |
pythondev | help | <@Lavona> it depends on what type of authentication is infront of it | 2017-11-26T12:38:39.000099 | Dominque | pythondev_help_Dominque_2017-11-26T12:38:39.000099 | 1,511,699,919.000099 | 101,236 |
pythondev | help | if it's basic auth then <@Suellen>’s suggestion will work, otherwise you'll may have to look into how to do Python Oauth | 2017-11-26T12:39:12.000016 | Dominque | pythondev_help_Dominque_2017-11-26T12:39:12.000016 | 1,511,699,952.000016 | 101,237 |
pythondev | help | no i don't | 2017-11-26T12:40:45.000116 | Pasquale | pythondev_help_Pasquale_2017-11-26T12:40:45.000116 | 1,511,700,045.000116 | 101,238 |
pythondev | help | Question | 2017-11-26T17:27:07.000053 | Staci | pythondev_help_Staci_2017-11-26T17:27:07.000053 | 1,511,717,227.000053 | 101,239 |
pythondev | help | I'm helping someone out with a homework problem, and their teacher/textbook has them naming class attributes with double underscores. What is the purpose of this?
for example we have a class Nation:
```
class Nation:
def __init__(self, name, continent, population):
self.__name = name
self.__contine... | 2017-11-26T17:30:06.000100 | Staci | pythondev_help_Staci_2017-11-26T17:30:06.000100 | 1,511,717,406.0001 | 101,240 |
pythondev | help | What does the double underscore do here? I know it does something because when I create an instance, I can't access the attributes with .__name | 2017-11-26T17:31:09.000033 | Staci | pythondev_help_Staci_2017-11-26T17:31:09.000033 | 1,511,717,469.000033 | 101,241 |
pythondev | help | I have to access with ._Nation__name | 2017-11-26T17:31:22.000106 | Staci | pythondev_help_Staci_2017-11-26T17:31:22.000106 | 1,511,717,482.000106 | 101,242 |
pythondev | help | What is the purpose of this? | 2017-11-26T17:31:28.000091 | Staci | pythondev_help_Staci_2017-11-26T17:31:28.000091 | 1,511,717,488.000091 | 101,243 |
pythondev | help | __double_leading_underscore: when naming a class attribute, invokes name mangling (inside class FooBar, __boo becomes _FooBar__boo; see below).
__double_leading_and_trailing_underscore__: "magic" objects or attributes that live in user-controlled namespaces. E.g. __init__, __import__ or __file__. Never invent such na... | 2017-11-26T17:33:26.000029 | Corrinne | pythondev_help_Corrinne_2017-11-26T17:33:26.000029 | 1,511,717,606.000029 | 101,244 |
pythondev | help | Not sure if this helps | 2017-11-26T17:34:28.000003 | Corrinne | pythondev_help_Corrinne_2017-11-26T17:34:28.000003 | 1,511,717,668.000003 | 101,245 |
pythondev | help | Naming an attribute in your class self._var1 indicates to the user of the class that the attribute should only be accessed by the class's internals (or perhaps those of a subclass) and that they need not directly access it and probably shouldn't modify it. You should use leading underscores in the same places that you ... | 2017-11-26T17:34:30.000006 | Corrinne | pythondev_help_Corrinne_2017-11-26T17:34:30.000006 | 1,511,717,670.000006 | 101,246 |
pythondev | help | I wondered the same thing a while ago. Quite a good answer here <https://stackoverflow.com/questions/1301346/what-is-the-meaning-of-a-single-and-a-double-underscore-before-an-object-name> | 2017-11-26T17:35:16.000059 | Corrinne | pythondev_help_Corrinne_2017-11-26T17:35:16.000059 | 1,511,717,716.000059 | 101,247 |
pythondev | help | Based on the assignment, and the textbook, it looks to me like the class is heavily influenced by Java/C# principles that aren't really relevant in python | 2017-11-26T17:36:05.000097 | Staci | pythondev_help_Staci_2017-11-26T17:36:05.000097 | 1,511,717,765.000097 | 101,248 |
pythondev | help | What is the purpose of "Name Mangling"? | 2017-11-26T17:36:36.000024 | Staci | pythondev_help_Staci_2017-11-26T17:36:36.000024 | 1,511,717,796.000024 | 101,249 |
pythondev | help | Ah, nevermind. I think I see it here in pep8 | 2017-11-26T17:39:23.000008 | Staci | pythondev_help_Staci_2017-11-26T17:39:23.000008 | 1,511,717,963.000008 | 101,250 |
pythondev | help | To avoid name clashes with subclasses, use two leading underscores to invoke Python's name mangling rules.
Python mangles these names with the class name: if class Foo has an attribute named __a, it cannot be accessed by Foo.__a. (An insistent user could still gain access by calling Foo._Foo__a.) Generally, double lea... | 2017-11-26T17:39:24.000058 | Staci | pythondev_help_Staci_2017-11-26T17:39:24.000058 | 1,511,717,964.000058 | 101,251 |
pythondev | help | avoiding name clashes with subclasses | 2017-11-26T17:39:37.000106 | Staci | pythondev_help_Staci_2017-11-26T17:39:37.000106 | 1,511,717,977.000106 | 101,252 |
pythondev | help | Still learning myself. I think it's a way of protecting certain class attributes | 2017-11-26T17:39:47.000047 | Corrinne | pythondev_help_Corrinne_2017-11-26T17:39:47.000047 | 1,511,717,987.000047 | 101,253 |
pythondev | help | Yea, I've heard of using a single _ to note that it should only be used internally | 2017-11-26T17:40:13.000031 | Staci | pythondev_help_Staci_2017-11-26T17:40:13.000031 | 1,511,718,013.000031 | 101,254 |
pythondev | help | Kind of silly in the context of this assignemnt, imo | 2017-11-26T17:40:22.000070 | Staci | pythondev_help_Staci_2017-11-26T17:40:22.000070 | 1,511,718,022.00007 | 101,255 |
pythondev | help | <@Winnie> are you sure you don't want `set.remove()` instead? | 2017-11-26T17:55:21.000009 | Cynthia | pythondev_help_Cynthia_2017-11-26T17:55:21.000009 | 1,511,718,921.000009 | 101,256 |
pythondev | help | I want to make new set | 2017-11-26T18:01:30.000042 | Winnie | pythondev_help_Winnie_2017-11-26T18:01:30.000042 | 1,511,719,290.000042 | 101,257 |
pythondev | help | Anyone have suggestions on an IDE? Comments on setting up Xcode for Python? Been using VIM and iTerm2 but looking for something a bit more robust | 2017-11-26T20:25:43.000081 | Sibyl | pythondev_help_Sibyl_2017-11-26T20:25:43.000081 | 1,511,727,943.000081 | 101,258 |
pythondev | help | PyCharm comminuty edition is nice | 2017-11-26T20:26:31.000010 | Corrinne | pythondev_help_Corrinne_2017-11-26T20:26:31.000010 | 1,511,727,991.00001 | 101,259 |
pythondev | help | Does someone use QT here and or pyside? | 2017-11-26T21:33:59.000002 | Zelma | pythondev_help_Zelma_2017-11-26T21:33:59.000002 | 1,511,732,039.000002 | 101,260 |
pythondev | help | VS Code | 2017-11-27T01:44:00.000017 | Wilton | pythondev_help_Wilton_2017-11-27T01:44:00.000017 | 1,511,747,040.000017 | 101,261 |
pythondev | help | What's a good caching helper library in python (with redis adaptor support)? | 2017-11-27T01:47:57.000075 | Wilton | pythondev_help_Wilton_2017-11-27T01:47:57.000075 | 1,511,747,277.000075 | 101,262 |
pythondev | help | `i['title'] = response.xpath('//*[@class="clp-lead__title"]/text()').extract()` | 2017-11-27T02:58:34.000002 | Jazmine | pythondev_help_Jazmine_2017-11-27T02:58:34.000002 | 1,511,751,514.000002 | 101,263 |
pythondev | help | Is this correct? | 2017-11-27T02:58:37.000236 | Jazmine | pythondev_help_Jazmine_2017-11-27T02:58:37.000236 | 1,511,751,517.000236 | 101,264 |
pythondev | help | Hello everyone. When asking questions please keep in mind <https://stackoverflow.com/help/how-to-ask>. :slightly_smiling_face: | 2017-11-27T03:44:23.000202 | Ciera | pythondev_help_Ciera_2017-11-27T03:44:23.000202 | 1,511,754,263.000202 | 101,265 |
pythondev | help | Hey guys i have a management command (django), that is editing a csv file but i know for a fact i should be getting back 4-5 results to be printed in this file but im only getting the last one. I'm struggling with saving all the rows, its like it over writes the file when a new object is suppose to be written
```
... | 2017-11-27T04:02:00.000315 | Robbin | pythondev_help_Robbin_2017-11-27T04:02:00.000315 | 1,511,755,320.000315 | 101,266 |
pythondev | help | where do you loop on the rows ? | 2017-11-27T04:03:33.000005 | Ciera | pythondev_help_Ciera_2017-11-27T04:03:33.000005 | 1,511,755,413.000005 | 101,267 |
pythondev | help | I have it inside a for loop, but im getting confused on how this will work :confused: | 2017-11-27T04:05:04.000081 | Robbin | pythondev_help_Robbin_2017-11-27T04:05:04.000081 | 1,511,755,504.000081 | 101,268 |
pythondev | help | basically you can't append to a file | 2017-11-27T04:05:17.000332 | Ciera | pythondev_help_Ciera_2017-11-27T04:05:17.000332 | 1,511,755,517.000332 | 101,269 |
pythondev | help | so each time you open you delete everything inside. | 2017-11-27T04:05:37.000218 | Ciera | pythondev_help_Ciera_2017-11-27T04:05:37.000218 | 1,511,755,537.000218 | 101,270 |
pythondev | help | what you could do is open it before looping on the rows and write each row in it | 2017-11-27T04:06:02.000134 | Ciera | pythondev_help_Ciera_2017-11-27T04:06:02.000134 | 1,511,755,562.000134 | 101,271 |
pythondev | help | ```
with open(...) as f:
writer = csv.writer(f)
for row in rows:
writer.writerow(...)
``` | 2017-11-27T04:07:05.000155 | Ciera | pythondev_help_Ciera_2017-11-27T04:07:05.000155 | 1,511,755,625.000155 | 101,272 |
pythondev | help | See <https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files> | 2017-11-27T04:07:48.000446 | Ciera | pythondev_help_Ciera_2017-11-27T04:07:48.000446 | 1,511,755,668.000446 | 101,273 |
pythondev | help | there is also the append mode if needed | 2017-11-27T04:08:12.000192 | Ciera | pythondev_help_Ciera_2017-11-27T04:08:12.000192 | 1,511,755,692.000192 | 101,274 |
pythondev | help | ah okay, sweet ill have a look thank you :slightly_smiling_face: | 2017-11-27T04:08:24.000397 | Robbin | pythondev_help_Robbin_2017-11-27T04:08:24.000397 | 1,511,755,704.000397 | 101,275 |
pythondev | help | I have a problem similar to this. I want to scrape Udemy coupon links from site using `CrawlSpider`, but don't want to follow links on the `<http://udemy.com|udemy.com>` domain
If somebody worte an answer for this, it'd be great
<https://stackoverflow.com/questions/37857554/scrapy-do-not-crawl-links-on-other-domains-pa... | 2017-11-27T04:44:41.000056 | Jazmine | pythondev_help_Jazmine_2017-11-27T04:44:41.000056 | 1,511,757,881.000056 | 101,276 |
pythondev | help | The given answer is not clear | 2017-11-27T04:45:33.000346 | Jazmine | pythondev_help_Jazmine_2017-11-27T04:45:33.000346 | 1,511,757,933.000346 | 101,277 |
pythondev | help | In a rule how to I deny and allow further crawling? For example parse `<http://udemy.com|udemy.com>` links, but not follow links further in it | 2017-11-27T04:47:27.000053 | Jazmine | pythondev_help_Jazmine_2017-11-27T04:47:27.000053 | 1,511,758,047.000053 | 101,278 |
pythondev | help | `follow=True` doesn't seem to work that way | 2017-11-27T04:47:48.000145 | Jazmine | pythondev_help_Jazmine_2017-11-27T04:47:48.000145 | 1,511,758,068.000145 | 101,279 |
pythondev | help | Stopped using crawl spider | 2017-11-27T05:33:15.000037 | Jazmine | pythondev_help_Jazmine_2017-11-27T05:33:15.000037 | 1,511,760,795.000037 | 101,280 |
pythondev | help | and using custom parse | 2017-11-27T05:33:21.000026 | Jazmine | pythondev_help_Jazmine_2017-11-27T05:33:21.000026 | 1,511,760,801.000026 | 101,281 |
pythondev | help | ```
if "?couponcode" in url.lower():
print("?couponcode found")
yield scrapy.Request(url, callback=self.parse_udemy)
``` | 2017-11-27T05:33:41.000084 | Jazmine | pythondev_help_Jazmine_2017-11-27T05:33:41.000084 | 1,511,760,821.000084 | 101,282 |
pythondev | help | `?couponcode found` is being printed, but parse_udemy is never called | 2017-11-27T05:35:05.000471 | Jazmine | pythondev_help_Jazmine_2017-11-27T05:35:05.000471 | 1,511,760,905.000471 | 101,283 |
pythondev | help | hey | 2017-11-27T08:02:42.000550 | Zelma | pythondev_help_Zelma_2017-11-27T08:02:42.000550 | 1,511,769,762.00055 | 101,284 |
pythondev | help | Can someone explain to me the pip3 vs pip thing? | 2017-11-27T08:02:57.000004 | Zelma | pythondev_help_Zelma_2017-11-27T08:02:57.000004 | 1,511,769,777.000004 | 101,285 |
pythondev | help | pip seems to be at version 9.0.1 for me | 2017-11-27T08:03:06.000397 | Zelma | pythondev_help_Zelma_2017-11-27T08:03:06.000397 | 1,511,769,786.000397 | 101,286 |
pythondev | help | and i use the venv which uses python 3.6.2 | 2017-11-27T08:03:14.000377 | Zelma | pythondev_help_Zelma_2017-11-27T08:03:14.000377 | 1,511,769,794.000377 | 101,287 |
pythondev | help | if you are in a python3 virtualenv `pip` and `pip3` should be the same | 2017-11-27T08:04:26.000101 | Ciera | pythondev_help_Ciera_2017-11-27T08:04:26.000101 | 1,511,769,866.000101 | 101,288 |
pythondev | help | Is there a way of running a management command that can dodge errors like 'debug_log_name is not defined' | 2017-11-27T08:31:22.000111 | Robbin | pythondev_help_Robbin_2017-11-27T08:31:22.000111 | 1,511,771,482.000111 | 101,289 |
pythondev | help | write your own exception handlers :smile: | 2017-11-27T08:32:48.000252 | Meg | pythondev_help_Meg_2017-11-27T08:32:48.000252 | 1,511,771,568.000252 | 101,290 |
pythondev | help | So i'm getting an error when i run my management command. It's upset about missing log files, but they are their.
I think my staging server is using my Dev settings as it is complaining it cannot find '/logs/django_debug.log" But that is only set in dev/settings. it should be looking for ''/logs/twm_django_debug.log'... | 2017-11-27T09:03:20.000434 | Robbin | pythondev_help_Robbin_2017-11-27T09:03:20.000434 | 1,511,773,400.000434 | 101,291 |
pythondev | help | what you probably want to do is use the `--settings` flag and specify the module path to the settings | 2017-11-27T09:05:16.000058 | Meg | pythondev_help_Meg_2017-11-27T09:05:16.000058 | 1,511,773,516.000058 | 101,292 |
pythondev | help | eg `./manage.py runserver --settings=project.settings.development 0.0.0.0:8080` | 2017-11-27T09:05:55.000258 | Meg | pythondev_help_Meg_2017-11-27T09:05:55.000258 | 1,511,773,555.000258 | 101,293 |
pythondev | help | ah okay! | 2017-11-27T09:06:38.000379 | Robbin | pythondev_help_Robbin_2017-11-27T09:06:38.000379 | 1,511,773,598.000379 | 101,294 |
pythondev | help | <https://docs.djangoproject.com/en/1.11/ref/django-admin/#cmdoption-settings> | 2017-11-27T09:07:05.000093 | Meg | pythondev_help_Meg_2017-11-27T09:07:05.000093 | 1,511,773,625.000093 | 101,295 |
pythondev | help | that applys to `manage.py` as well | 2017-11-27T09:07:31.000199 | Meg | pythondev_help_Meg_2017-11-27T09:07:31.000199 | 1,511,773,651.000199 | 101,296 |
pythondev | help | Its a live server, i don't really know what i'm doing. This guy who made all this is not responding. :confused: | 2017-11-27T09:09:05.000007 | Robbin | pythondev_help_Robbin_2017-11-27T09:09:05.000007 | 1,511,773,745.000007 | 101,297 |
pythondev | help | Hey, I'm a bit confused on why the variable caught from getch() isn't triggering right here? (on win10, using program inside the command line) | 2017-11-27T12:17:30.000421 | Sheridan | pythondev_help_Sheridan_2017-11-27T12:17:30.000421 | 1,511,785,050.000421 | 101,298 |
pythondev | help | ```import msvcrt
print('Enter y to call thing')
char = msvcrt.getch()
if char == 'y':
print('success')
else:
print('argh')```
Does the y key not translate directly to the char y? | 2017-11-27T12:17:52.000223 | Sheridan | pythondev_help_Sheridan_2017-11-27T12:17:52.000223 | 1,511,785,072.000223 | 101,299 |
pythondev | help | it should | 2017-11-27T12:18:22.000853 | Suellen | pythondev_help_Suellen_2017-11-27T12:18:22.000853 | 1,511,785,102.000853 | 101,300 |
pythondev | help | :thinking_face: | 2017-11-27T12:18:42.000069 | Suellen | pythondev_help_Suellen_2017-11-27T12:18:42.000069 | 1,511,785,122.000069 | 101,301 |
pythondev | help | Docs say it returns a byte string, i.e. bytes | 2017-11-27T12:19:45.000152 | Suellen | pythondev_help_Suellen_2017-11-27T12:19:45.000152 | 1,511,785,185.000152 | 101,302 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.