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 | `sqlalchemy.exc.ArgumentError: Mapper Mapper|AuthorizedClients|authorized_clients could not assemble any primary key columns for mapped table 'authorized_clients'` (edited) | 2017-10-06T18:47:44.000172 | Myong | pythondev_help_Myong_2017-10-06T18:47:44.000172 | 1,507,315,664.000172 | 96,303 |
pythondev | help | Question...
```
def main():
lowest_num_in_list(a_list)
a_list = [1000, -5, -4, -2, 1, 10, 20, 999]
def lowest_num_in_list(a_list):
sort_list_a = a_list.sort()
print("This is in the method")
print(sort_list_a)
print(a_list)
return
print("This is outside the method")
print(a_list)
main()``` | 2017-10-06T21:19:47.000082 | Seema | pythondev_help_Seema_2017-10-06T21:19:47.000082 | 1,507,324,787.000082 | 96,304 |
pythondev | help | How is that sort_list_a exists as None and yet still a_list gets sorted? Tangentally, do all variables in a method get "consumed"? | 2017-10-06T21:20:31.000044 | Seema | pythondev_help_Seema_2017-10-06T21:20:31.000044 | 1,507,324,831.000044 | 96,305 |
pythondev | help | I understand that the assignment in line 9 is actually unnecessary. Now that I've tripped over this, I'm trying to figure out what this is. | 2017-10-06T21:24:27.000081 | Seema | pythondev_help_Seema_2017-10-06T21:24:27.000081 | 1,507,325,067.000081 | 96,306 |
pythondev | help | (I also realize it's Friday night at 6:25 PST :wink: ) | 2017-10-06T21:26:11.000073 | Seema | pythondev_help_Seema_2017-10-06T21:26:11.000073 | 1,507,325,171.000073 | 96,307 |
pythondev | help | I'll askin in learning_python | 2017-10-06T21:30:46.000003 | Seema | pythondev_help_Seema_2017-10-06T21:30:46.000003 | 1,507,325,446.000003 | 96,308 |
pythondev | help | Anyone have experience with numpy | 2017-10-06T21:52:12.000012 | Sharika | pythondev_help_Sharika_2017-10-06T21:52:12.000012 | 1,507,326,732.000012 | 96,309 |
pythondev | help | <https://stackoverflow.com/questions/46615814/removing-element-from-ndarray-of-ndarrys> | 2017-10-06T21:52:14.000026 | Sharika | pythondev_help_Sharika_2017-10-06T21:52:14.000026 | 1,507,326,734.000026 | 96,310 |
pythondev | help | <@Seema>
A couple of things here
The .sort method is in place, and returns none
Python functions work by reference, so when you pass a list Into a function, anything you do to the list will become a side effect
You could use the min function instead
Or, you could call `list(sorted(l))` and work on that instead (which is a not-in-place sort | 2017-10-06T21:52:16.000022 | Winnie | pythondev_help_Winnie_2017-10-06T21:52:16.000022 | 1,507,326,736.000022 | 96,311 |
pythondev | help | having trouble deleting and element from a ndarray | 2017-10-06T21:52:26.000045 | Sharika | pythondev_help_Sharika_2017-10-06T21:52:26.000045 | 1,507,326,746.000045 | 96,312 |
pythondev | help | hi does anyone here have any experience setting up letsencrypt + nginx + gunicorn? | 2017-10-06T22:39:47.000054 | Terrilyn | pythondev_help_Terrilyn_2017-10-06T22:39:47.000054 | 1,507,329,587.000054 | 96,313 |
pythondev | help | need help with it and i'm willing to hire | 2017-10-06T22:40:05.000007 | Terrilyn | pythondev_help_Terrilyn_2017-10-06T22:40:05.000007 | 1,507,329,605.000007 | 96,314 |
pythondev | help | (specifically the nginx configuration fileS) | 2017-10-06T22:40:15.000075 | Terrilyn | pythondev_help_Terrilyn_2017-10-06T22:40:15.000075 | 1,507,329,615.000075 | 96,315 |
pythondev | help | <@Jarred> should probably ask in a more related channel | 2017-10-06T22:48:06.000016 | Winnie | pythondev_help_Winnie_2017-10-06T22:48:06.000016 | 1,507,330,086.000016 | 96,316 |
pythondev | help | what channel would that be | 2017-10-06T22:51:07.000038 | Terrilyn | pythondev_help_Terrilyn_2017-10-06T22:51:07.000038 | 1,507,330,267.000038 | 96,317 |
pythondev | help | i need help lol | 2017-10-06T22:51:22.000030 | Terrilyn | pythondev_help_Terrilyn_2017-10-06T22:51:22.000030 | 1,507,330,282.00003 | 96,318 |
pythondev | help | <#C22DMH61M|devops> or <#C07EYDP25|webdev> maybe? | 2017-10-06T22:52:36.000014 | Winnie | pythondev_help_Winnie_2017-10-06T22:52:36.000014 | 1,507,330,356.000014 | 96,319 |
pythondev | help | <@Winnie> thanks, after learning the hard way, I finally stumbled on <https://stackoverflow.com/questions/2612802/how-to-clone-or-copy-a-list> AFTER the fact. Enjoy the weekend. | 2017-10-06T23:24:17.000047 | Seema | pythondev_help_Seema_2017-10-06T23:24:17.000047 | 1,507,332,257.000047 | 96,320 |
pythondev | help | Say I have an image url. I want to essentially show an image as the background of a webpage and change that image based on certain conditions in real-time. Is this possible without downloading the image or would I have to download it then change it | 2017-10-06T23:42:11.000079 | Myong | pythondev_help_Myong_2017-10-06T23:42:11.000079 | 1,507,333,331.000079 | 96,321 |
pythondev | help | I guess it's a sort of stream, but I don't always know the image url ahead of time and it will most of the time be provided after a page has loaded | 2017-10-06T23:48:30.000054 | Myong | pythondev_help_Myong_2017-10-06T23:48:30.000054 | 1,507,333,710.000054 | 96,322 |
pythondev | help | Cause I basically load a page, await data to arrive and update the template based on the response to a webhooks I have setup | 2017-10-06T23:52:16.000049 | Myong | pythondev_help_Myong_2017-10-06T23:52:16.000049 | 1,507,333,936.000049 | 96,323 |
pythondev | help | <@Myong> you might have more luck asking in <#C07EYDP25|webdev> | 2017-10-07T00:19:37.000018 | Winnie | pythondev_help_Winnie_2017-10-07T00:19:37.000018 | 1,507,335,577.000018 | 96,324 |
pythondev | help | <@Terrilyn> dm me if you need help with that still | 2017-10-07T00:58:42.000008 | Orpha | pythondev_help_Orpha_2017-10-07T00:58:42.000008 | 1,507,337,922.000008 | 96,325 |
pythondev | help | I don't understand why I'm getting this error
```
File "/home/user/Documents/fbchat/fbchat/client.py", line 817, in fetchThreadList
join_link = k['joinable_mode']['link']
File "/home/user/Documents/fbchat/fbchat/models.py", line 130, in __init__
super(Room, self).__init__(ThreadType.ROOM, uid, **kwargs)
TypeError: __init__() got multiple values for argument 'participants'
```
called: <https://github.com/ekohilas/fbchat/blob/rooms/fbchat/client.py#L808>
init of class: <https://github.com/ekohilas/fbchat/blob/rooms/fbchat/models.py#L128> | 2017-10-07T03:13:04.000094 | Winnie | pythondev_help_Winnie_2017-10-07T03:13:04.000094 | 1,507,345,984.000094 | 96,326 |
pythondev | help | To answer your original question, use `sorted(a_list)` instead of `a_list.sort()`. The first returns a new list and the latter mutates the original (hence returns None). | 2017-10-07T06:15:30.000054 | Janiece | pythondev_help_Janiece_2017-10-07T06:15:30.000054 | 1,507,356,930.000054 | 96,327 |
pythondev | help | If you are setting the background image with css then just add `background: url(image-url)` to the inline style of the element representing the background | 2017-10-07T06:20:59.000032 | Janiece | pythondev_help_Janiece_2017-10-07T06:20:59.000032 | 1,507,357,259.000032 | 96,328 |
pythondev | help | its because in the below `ThreadType.ROOM` is passed as the `uid` to the Group superclass, and then uid is passed as the participants value. You then also pass the participants in the kwargs dict.
```
super(Room, self).__init__(ThreadType.ROOM, uid, **kwargs)
``` | 2017-10-07T06:38:52.000009 | Janiece | pythondev_help_Janiece_2017-10-07T06:38:52.000009 | 1,507,358,332.000009 | 96,329 |
pythondev | help | how do I fix it? | 2017-10-07T08:19:24.000020 | Winnie | pythondev_help_Winnie_2017-10-07T08:19:24.000020 | 1,507,364,364.00002 | 96,330 |
pythondev | help | change the parameter order | 2017-10-07T08:30:56.000072 | Meg | pythondev_help_Meg_2017-10-07T08:30:56.000072 | 1,507,365,056.000072 | 96,331 |
pythondev | help | or have `ThreadType` be in kwargs and pull that in `Group` | 2017-10-07T08:31:41.000006 | Meg | pythondev_help_Meg_2017-10-07T08:31:41.000006 | 1,507,365,101.000006 | 96,332 |
pythondev | help | basically, what <@Janiece> is saying is you’re passing in different parameters in the super call than the init expects | 2017-10-07T08:32:10.000126 | Meg | pythondev_help_Meg_2017-10-07T08:32:10.000126 | 1,507,365,130.000126 | 96,333 |
pythondev | help | Does anyone have a simple python function that accepts a github project name as input argument and return return a list of dictionaries e.g. x = [{"Commits": 10000}, {"Stars": 500}]? | 2017-10-07T10:26:14.000016 | Honey | pythondev_help_Honey_2017-10-07T10:26:14.000016 | 1,507,371,974.000016 | 96,334 |
pythondev | help | it should be easy using one of the github api wrappers for Python | 2017-10-07T10:28:20.000003 | Mirian | pythondev_help_Mirian_2017-10-07T10:28:20.000003 | 1,507,372,100.000003 | 96,335 |
pythondev | help | e.g. there is PyGithub package | 2017-10-07T10:28:48.000021 | Mirian | pythondev_help_Mirian_2017-10-07T10:28:48.000021 | 1,507,372,128.000021 | 96,336 |
pythondev | help | it has method for retrieving all repo related infos <http://pygithub.readthedocs.io/en/latest/github.html#github.MainClass.Github.get_repo> | 2017-10-07T10:30:01.000072 | Mirian | pythondev_help_Mirian_2017-10-07T10:30:01.000072 | 1,507,372,201.000072 | 96,337 |
pythondev | help | I'd start this way | 2017-10-07T10:30:10.000124 | Mirian | pythondev_help_Mirian_2017-10-07T10:30:10.000124 | 1,507,372,210.000124 | 96,338 |
pythondev | help | thanks <@Mirian>! | 2017-10-07T10:30:44.000023 | Honey | pythondev_help_Honey_2017-10-07T10:30:44.000023 | 1,507,372,244.000023 | 96,339 |
pythondev | help | how do I add PyGitHub package in my project? is it just the same way as importing Flask? | 2017-10-07T10:31:08.000006 | Honey | pythondev_help_Honey_2017-10-07T10:31:08.000006 | 1,507,372,268.000006 | 96,340 |
pythondev | help | yes, but you have to install it first (like Flask), so `pip install PyGithub` should work | 2017-10-07T10:31:53.000011 | Mirian | pythondev_help_Mirian_2017-10-07T10:31:53.000011 | 1,507,372,313.000011 | 96,341 |
pythondev | help | Is it not easier to just create my own function? Why do I need to use a library like this? | 2017-10-07T10:32:41.000063 | Honey | pythondev_help_Honey_2017-10-07T10:32:41.000063 | 1,507,372,361.000063 | 96,342 |
pythondev | help | ok, you have two solutions:
- use official github API
- scrape html to retrieve the information you need | 2017-10-07T10:34:10.000111 | Mirian | pythondev_help_Mirian_2017-10-07T10:34:10.000111 | 1,507,372,450.000111 | 96,343 |
pythondev | help | I think the first one is easier | 2017-10-07T10:34:24.000087 | Mirian | pythondev_help_Mirian_2017-10-07T10:34:24.000087 | 1,507,372,464.000087 | 96,344 |
pythondev | help | so you could just make direct http request or just use python wrapper that I mentioned | 2017-10-07T10:34:55.000024 | Mirian | pythondev_help_Mirian_2017-10-07T10:34:55.000024 | 1,507,372,495.000024 | 96,345 |
pythondev | help | i like the wrapper I think but it seems like its asking for github username and password ```from github import Github
g = Github("user", "password")``` | 2017-10-07T10:36:01.000089 | Honey | pythondev_help_Honey_2017-10-07T10:36:01.000089 | 1,507,372,561.000089 | 96,346 |
pythondev | help | so definitely you don't need to install anything if you're comfortable with making direct http requests etc. | 2017-10-07T10:36:12.000077 | Mirian | pythondev_help_Mirian_2017-10-07T10:36:12.000077 | 1,507,372,572.000077 | 96,347 |
pythondev | help | Is that necessary? I dont want to commit my github username and password in public repo | 2017-10-07T10:36:53.000083 | Honey | pythondev_help_Honey_2017-10-07T10:36:53.000083 | 1,507,372,613.000083 | 96,348 |
pythondev | help | you could use API token I guess (but it should stay secret too) | 2017-10-07T10:37:42.000060 | Mirian | pythondev_help_Mirian_2017-10-07T10:37:42.000060 | 1,507,372,662.00006 | 96,349 |
pythondev | help | the solution to that is reading from file or environment variables | 2017-10-07T10:38:04.000006 | Mirian | pythondev_help_Mirian_2017-10-07T10:38:04.000006 | 1,507,372,684.000006 | 96,350 |
pythondev | help | you could have some json (or other extension) that it's not committed to the repository | 2017-10-07T10:38:37.000066 | Mirian | pythondev_help_Mirian_2017-10-07T10:38:37.000066 | 1,507,372,717.000066 | 96,351 |
pythondev | help | so if anyone wants to use your app, he should provide the config with his own credentials | 2017-10-07T10:39:20.000036 | Mirian | pythondev_help_Mirian_2017-10-07T10:39:20.000036 | 1,507,372,760.000036 | 96,352 |
pythondev | help | Okay I think I got you, I can passing environment vars. does this library let me download data from other repositories and not just my own repository? | 2017-10-07T10:39:21.000101 | Honey | pythondev_help_Honey_2017-10-07T10:39:21.000101 | 1,507,372,761.000101 | 96,353 |
pythondev | help | I would be surprised if it wouldn't, but of course those repositories must be public | 2017-10-07T10:40:07.000056 | Mirian | pythondev_help_Mirian_2017-10-07T10:40:07.000056 | 1,507,372,807.000056 | 96,354 |
pythondev | help | thanks I tried to install the package but it threw and error ```Collecting PyGithub
Using cached PyGithub-1.35.tar.gz
Collecting pyjwt (from PyGithub)
Using cached PyJWT-1.5.3-py2.py3-none-any.whl
Installing collected packages: pyjwt, PyGithub
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 784, in install
**kwargs
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 316, in clobber
ensure_dir(destdir)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/jwt``` | 2017-10-07T10:48:40.000071 | Honey | pythondev_help_Honey_2017-10-07T10:48:40.000071 | 1,507,373,320.000071 | 96,355 |
pythondev | help | can anyone please help me setting up dynamic graph plot ? | 2017-10-07T10:49:01.000075 | Shirl | pythondev_help_Shirl_2017-10-07T10:49:01.000075 | 1,507,373,341.000075 | 96,356 |
pythondev | help | are you installing it in the virtualenv or globally? | 2017-10-07T10:49:41.000012 | Mirian | pythondev_help_Mirian_2017-10-07T10:49:41.000012 | 1,507,373,381.000012 | 96,357 |
pythondev | help | i just cd in to my bin folder | 2017-10-07T10:50:18.000025 | Honey | pythondev_help_Honey_2017-10-07T10:50:18.000025 | 1,507,373,418.000025 | 96,358 |
pythondev | help | i am not sure what is a virtualenv, is that easy to use? | 2017-10-07T10:50:36.000019 | Honey | pythondev_help_Honey_2017-10-07T10:50:36.000019 | 1,507,373,436.000019 | 96,359 |
pythondev | help | okay looks like it works without pip install | 2017-10-07T10:51:14.000050 | Honey | pythondev_help_Honey_2017-10-07T10:51:14.000050 | 1,507,373,474.00005 | 96,360 |
pythondev | help | i just added it in using pycharm | 2017-10-07T10:51:25.000120 | Honey | pythondev_help_Honey_2017-10-07T10:51:25.000120 | 1,507,373,485.00012 | 96,361 |
pythondev | help | virtualenv is the tool isolate you project dependencies, let's say that you have two projects and they both are using different version of Flask - there might be some conflicts and incompatibilities between versions and you would have to reinstall Flask every time you switch the project | 2017-10-07T10:54:52.000025 | Mirian | pythondev_help_Mirian_2017-10-07T10:54:52.000025 | 1,507,373,692.000025 | 96,362 |
pythondev | help | thanks to the virtualenv, you can avoid such conflicts in the dependencies :slightly_smiling_face: | 2017-10-07T10:55:19.000043 | Mirian | pythondev_help_Mirian_2017-10-07T10:55:19.000043 | 1,507,373,719.000043 | 96,363 |
pythondev | help | <@Meg> <@Janiece> is there a way to fix this without touching any of the other classes? | 2017-10-07T11:38:25.000051 | Winnie | pythondev_help_Winnie_2017-10-07T11:38:25.000051 | 1,507,376,305.000051 | 96,364 |
pythondev | help | or am I not understanding you correctly? | 2017-10-07T11:42:12.000095 | Winnie | pythondev_help_Winnie_2017-10-07T11:42:12.000095 | 1,507,376,532.000095 | 96,365 |
pythondev | help | I've done this, which works, but I don't know if it's the best way
```
super(Room, self).__init__(uid, **kwargs)
self.type = ThreadType.ROOM
``` | 2017-10-07T12:04:33.000080 | Winnie | pythondev_help_Winnie_2017-10-07T12:04:33.000080 | 1,507,377,873.00008 | 96,366 |
pythondev | help | Trying to store some values inside .txt file with np.savetxt, i kinda need values to be stored side by side like x, y inside txt document. The output i’m getting is line by line..
here is the source code:
```
value_1 = 3.26
value_2 = 243
value_sum = (value_1, value_2)
np.savetxt('dataset.txt', np.array(value_sum), fmt='%.2f')
``` | 2017-10-07T12:05:37.000103 | Shirl | pythondev_help_Shirl_2017-10-07T12:05:37.000103 | 1,507,377,937.000103 | 96,367 |
pythondev | help | dataset.txt output is:
```
3.26
243
``` | 2017-10-07T12:06:55.000023 | Shirl | pythondev_help_Shirl_2017-10-07T12:06:55.000023 | 1,507,378,015.000023 | 96,368 |
pythondev | help | i need it to be:
```
3.26, 243
``` | 2017-10-07T12:07:25.000105 | Shirl | pythondev_help_Shirl_2017-10-07T12:07:25.000105 | 1,507,378,045.000105 | 96,369 |
pythondev | help | you might be able to change what the newline seperator is by passing in an argument <https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.savetxt.html> | 2017-10-07T12:09:33.000032 | Winnie | pythondev_help_Winnie_2017-10-07T12:09:33.000032 | 1,507,378,173.000032 | 96,370 |
pythondev | help | the is no option to remove newline, only to employ it | 2017-10-07T12:13:16.000024 | Shirl | pythondev_help_Shirl_2017-10-07T12:13:16.000024 | 1,507,378,396.000024 | 96,371 |
pythondev | help | you could just employ a blank newline :wink: | 2017-10-07T12:28:48.000116 | Winnie | pythondev_help_Winnie_2017-10-07T12:28:48.000116 | 1,507,379,328.000116 | 96,372 |
pythondev | help | <@Janiece> Thanks. I ended up using copy and then sort but I'll use sorted() now. :slightly_smiling_face: | 2017-10-07T13:11:14.000169 | Seema | pythondev_help_Seema_2017-10-07T13:11:14.000169 | 1,507,381,874.000169 | 96,373 |
pythondev | help | hi, does anybody knows if there an option in *logging* to show DEBUG level messages only if an ERROR level message happened? something like the `FingersCrossedHandler` in *logbook* | 2017-10-07T15:21:44.000041 | Yolando | pythondev_help_Yolando_2017-10-07T15:21:44.000041 | 1,507,389,704.000041 | 96,374 |
pythondev | help | <https://stackoverflow.com/questions/7809698/can-you-make-multiple-if-conditions-in-python> | 2017-10-07T17:22:18.000043 | Meg | pythondev_help_Meg_2017-10-07T17:22:18.000043 | 1,507,396,938.000043 | 96,375 |
pythondev | help | In short, use `and` to chain together conditions that need to match | 2017-10-07T17:23:44.000042 | Meg | pythondev_help_Meg_2017-10-07T17:23:44.000042 | 1,507,397,024.000042 | 96,376 |
pythondev | help | trying to find the syntax for getting "measurments" and "fields" from a database using pyspark . | 2017-10-07T18:10:22.000011 | Liane | pythondev_help_Liane_2017-10-07T18:10:22.000011 | 1,507,399,822.000011 | 96,377 |
pythondev | help | Working with my API using postman and sending a POST to my flask server. For some reason when the request arrives it is empty even though I have made sure I am sending data. Anyone know what this issue may be? | 2017-10-07T18:17:18.000039 | Myong | pythondev_help_Myong_2017-10-07T18:17:18.000039 | 1,507,400,238.000039 | 96,378 |
pythondev | help | Fixed it. Was sending form data, not raw json | 2017-10-07T18:21:02.000036 | Myong | pythondev_help_Myong_2017-10-07T18:21:02.000036 | 1,507,400,462.000036 | 96,379 |
pythondev | help | In the above code, running the following leads to the error: `AttributeError: 'Playlist' object has no attribute 'entries'` | 2017-10-07T18:30:14.000047 | Myong | pythondev_help_Myong_2017-10-07T18:30:14.000047 | 1,507,401,014.000047 | 96,380 |
pythondev | help | It seems all values within the object are just non existent when initialized | 2017-10-07T18:40:39.000016 | Myong | pythondev_help_Myong_2017-10-07T18:40:39.000016 | 1,507,401,639.000016 | 96,381 |
pythondev | help | Even after changing the parameters | 2017-10-07T18:40:48.000030 | Myong | pythondev_help_Myong_2017-10-07T18:40:48.000030 | 1,507,401,648.00003 | 96,382 |
pythondev | help | Holy cow that's annoying | 2017-10-07T18:44:40.000015 | Myong | pythondev_help_Myong_2017-10-07T18:44:40.000015 | 1,507,401,880.000015 | 96,383 |
pythondev | help | how are you sending the data? | 2017-10-07T18:44:40.000042 | Meg | pythondev_help_Meg_2017-10-07T18:44:40.000042 | 1,507,401,880.000042 | 96,384 |
pythondev | help | I got it | 2017-10-07T18:44:41.000046 | Myong | pythondev_help_Myong_2017-10-07T18:44:41.000046 | 1,507,401,881.000046 | 96,385 |
pythondev | help | form fields or via json? | 2017-10-07T18:44:53.000027 | Meg | pythondev_help_Meg_2017-10-07T18:44:53.000027 | 1,507,401,893.000027 | 96,386 |
pythondev | help | I put 3x ___ in `def __init__` | 2017-10-07T18:44:59.000050 | Myong | pythondev_help_Myong_2017-10-07T18:44:59.000050 | 1,507,401,899.00005 | 96,387 |
pythondev | help | im going crazy | 2017-10-07T18:45:04.000034 | Myong | pythondev_help_Myong_2017-10-07T18:45:04.000034 | 1,507,401,904.000034 | 96,388 |
pythondev | help | oof, ok | 2017-10-07T18:45:38.000010 | Meg | pythondev_help_Meg_2017-10-07T18:45:38.000010 | 1,507,401,938.00001 | 96,389 |
pythondev | help | that’ll do it | 2017-10-07T18:45:41.000008 | Meg | pythondev_help_Meg_2017-10-07T18:45:41.000008 | 1,507,401,941.000008 | 96,390 |
pythondev | help | ha | 2017-10-07T18:45:41.000062 | Meg | pythondev_help_Meg_2017-10-07T18:45:41.000062 | 1,507,401,941.000062 | 96,391 |
pythondev | help | That has to be the worst possible error I've come across with no actual way to tell where the error is visually | 2017-10-07T18:46:29.000017 | Myong | pythondev_help_Myong_2017-10-07T18:46:29.000017 | 1,507,401,989.000017 | 96,392 |
pythondev | help | YES I GOT IT WORKING WOO | 2017-10-07T18:47:20.000027 | Myong | pythondev_help_Myong_2017-10-07T18:47:20.000027 | 1,507,402,040.000027 | 96,393 |
pythondev | help | hmm, no issues in the ide? | 2017-10-07T18:48:00.000066 | Meg | pythondev_help_Meg_2017-10-07T18:48:00.000066 | 1,507,402,080.000066 | 96,394 |
pythondev | help | should be dead simple for syntax checking | 2017-10-07T18:48:13.000037 | Meg | pythondev_help_Meg_2017-10-07T18:48:13.000037 | 1,507,402,093.000037 | 96,395 |
pythondev | help | Yeah it didn't give me anything | 2017-10-07T18:50:38.000082 | Myong | pythondev_help_Myong_2017-10-07T18:50:38.000082 | 1,507,402,238.000082 | 96,396 |
pythondev | help | this is what is looked like | 2017-10-07T18:50:49.000013 | Myong | pythondev_help_Myong_2017-10-07T18:50:49.000013 | 1,507,402,249.000013 | 96,397 |
pythondev | help | I guess you can sort of tell | 2017-10-07T18:50:58.000041 | Myong | pythondev_help_Myong_2017-10-07T18:50:58.000041 | 1,507,402,258.000041 | 96,398 |
pythondev | help | cause the color for `__init__` when it's correct is pink when correct and then it's black when it's not. But I wasn't really focused on that. | 2017-10-07T18:51:21.000034 | Myong | pythondev_help_Myong_2017-10-07T18:51:21.000034 | 1,507,402,281.000034 | 96,399 |
pythondev | help | ah ok | 2017-10-07T18:55:55.000006 | Meg | pythondev_help_Meg_2017-10-07T18:55:55.000006 | 1,507,402,555.000006 | 96,400 |
pythondev | help | Does anyone know how to make webpack to spit out a bootstrap.css file? | 2017-10-08T03:44:25.000055 | Kayce | pythondev_help_Kayce_2017-10-08T03:44:25.000055 | 1,507,434,265.000055 | 96,401 |
pythondev | help | I have a tuple response from pymysql cursor
how do i append all the results as a dict ?
``` for row in results:
date = row[1]
value = row[3]
return Response([{"date": date,
"value": value}], status=200)```
this currently returns one object
```[
{
"date": "2017-09-27",
"value": 92541
}
]```
I want to create a json like :
```[
{
"date": "2017-09-04",
"value": "33905.85"
},
{
"date": "2017-09-05",
"value": "35537.10"
},
{
"date": "2017-09-06",
"value": "35041.31"
}
]```
I know this is a very hacky and a dirty solution but I just want to get things working right now. | 2017-10-08T06:59:11.000025 | Desire | pythondev_help_Desire_2017-10-08T06:59:11.000025 | 1,507,445,951.000025 | 96,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.