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 | Team,I have installed django in virtual env and created a project.After creating a project ,i am running the manage.py to run the server,but when i run it throws me error | 2018-02-24T14:57:54.000039 | Kathleen | pythondev_help_Kathleen_2018-02-24T14:57:54.000039 | 1,519,484,274.000039 | 36,024 |
pythondev | help | You're running it without your virtualenv being active, most likely | 2018-02-24T14:59:24.000091 | Garrett | pythondev_help_Garrett_2018-02-24T14:59:24.000091 | 1,519,484,364.000091 | 36,025 |
pythondev | help | no its activated | 2018-02-24T14:59:40.000095 | Kathleen | pythondev_help_Kathleen_2018-02-24T14:59:40.000095 | 1,519,484,380.000095 | 36,026 |
pythondev | help | i am inside the virtual env | 2018-02-24T14:59:51.000004 | Kathleen | pythondev_help_Kathleen_2018-02-24T14:59:51.000004 | 1,519,484,391.000004 | 36,027 |
pythondev | help | Do you see the virtualenv's name next to your prompt? | 2018-02-24T15:01:08.000095 | Garrett | pythondev_help_Garrett_2018-02-24T15:01:08.000095 | 1,519,484,468.000095 | 36,028 |
pythondev | help | yup | 2018-02-24T15:01:14.000063 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:01:14.000063 | 1,519,484,474.000063 | 36,029 |
pythondev | help | Something like `(my_venv) $` | 2018-02-24T15:01:16.000038 | Garrett | pythondev_help_Garrett_2018-02-24T15:01:16.000038 | 1,519,484,476.000038 | 36,030 |
pythondev | help | yup its there <@Garrett> | 2018-02-24T15:01:42.000072 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:01:42.000072 | 1,519,484,502.000072 | 36,031 |
pythondev | help | and `pip freeze` shows what? | 2018-02-24T15:02:02.000021 | Garrett | pythondev_help_Garrett_2018-02-24T15:02:02.000021 | 1,519,484,522.000021 | 36,032 |
pythondev | help | ya that list is not having django | 2018-02-24T15:02:50.000044 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:02:50.000044 | 1,519,484,570.000044 | 36,033 |
pythondev | help | but installed went successful | 2018-02-24T15:03:00.000003 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:03:00.000003 | 1,519,484,580.000003 | 36,034 |
pythondev | help | Then Django isn't installed in the virtualenv | 2018-02-24T15:03:04.000093 | Garrett | pythondev_help_Garrett_2018-02-24T15:03:04.000093 | 1,519,484,584.000093 | 36,035 |
pythondev | help | but i installed it pip install django==1.11 inside the virtual env | 2018-02-24T15:03:40.000101 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:03:40.000101 | 1,519,484,620.000101 | 36,036 |
pythondev | help | ¯\_(ツ)_/¯ | 2018-02-24T15:03:50.000001 | Garrett | pythondev_help_Garrett_2018-02-24T15:03:50.000001 | 1,519,484,630.000001 | 36,037 |
pythondev | help | if it's not listed by `pip freeze`, the virtualenv doesn't have it | 2018-02-24T15:03:59.000058 | Garrett | pythondev_help_Garrett_2018-02-24T15:03:59.000058 | 1,519,484,639.000058 | 36,038 |
pythondev | help | try installing it again | 2018-02-24T15:04:01.000152 | Garrett | pythondev_help_Garrett_2018-02-24T15:04:01.000152 | 1,519,484,641.000152 | 36,039 |
pythondev | help | ok pip freeze list has it | 2018-02-24T15:05:14.000012 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:05:14.000012 | 1,519,484,714.000012 | 36,040 |
pythondev | help | dill==0.2.5
Django==1.11
docutils==0.13.1 | 2018-02-24T15:05:15.000006 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:05:15.000006 | 1,519,484,715.000006 | 36,041 |
pythondev | help | but its still throwing me error when running that manage.py | 2018-02-24T15:05:28.000046 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:05:28.000046 | 1,519,484,728.000046 | 36,042 |
pythondev | help | In interactive mode inside the virtual env also throws me error :disappointed: | 2018-02-24T15:07:39.000037 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:07:39.000037 | 1,519,484,859.000037 | 36,043 |
pythondev | help | Delete the virtualenv and start over? | 2018-02-24T15:12:05.000079 | Garrett | pythondev_help_Garrett_2018-02-24T15:12:05.000079 | 1,519,485,125.000079 | 36,044 |
pythondev | help | ok let me give it a shot once again | 2018-02-24T15:12:23.000023 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:12:23.000023 | 1,519,485,143.000023 | 36,045 |
pythondev | help | <@Garrett> that worked | 2018-02-24T15:25:18.000077 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:25:18.000077 | 1,519,485,918.000077 | 36,046 |
pythondev | help | thanks kenneth <@Garrett> | 2018-02-24T15:26:05.000106 | Kathleen | pythondev_help_Kathleen_2018-02-24T15:26:05.000106 | 1,519,485,965.000106 | 36,047 |
pythondev | help | hey guys - im building some scripts for a class rn. for numeric fields in classes - would it be better to set them to None or 0 when first initializing them? | 2018-02-24T15:30:09.000058 | Aaron | pythondev_help_Aaron_2018-02-24T15:30:09.000058 | 1,519,486,209.000058 | 36,048 |
pythondev | help | well, should have no value or the value 0? | 2018-02-24T15:33:30.000020 | Garrett | pythondev_help_Garrett_2018-02-24T15:33:30.000020 | 1,519,486,410.00002 | 36,049 |
pythondev | help | at first they should have no value | 2018-02-24T15:33:45.000097 | Aaron | pythondev_help_Aaron_2018-02-24T15:33:45.000097 | 1,519,486,425.000097 | 36,050 |
pythondev | help | Then `None` | 2018-02-24T15:34:02.000078 | Garrett | pythondev_help_Garrett_2018-02-24T15:34:02.000078 | 1,519,486,442.000078 | 36,051 |
pythondev | help | of course | 2018-02-24T15:34:07.000079 | Aaron | pythondev_help_Aaron_2018-02-24T15:34:07.000079 | 1,519,486,447.000079 | 36,052 |
pythondev | help | thanks <@Garrett>! | 2018-02-24T15:34:20.000083 | Aaron | pythondev_help_Aaron_2018-02-24T15:34:20.000083 | 1,519,486,460.000083 | 36,053 |
pythondev | help | my travisci tests are failing for `python3.7dev` but no other versions and I don't know how to interpret the error logs. Could anyone help me out? | 2018-02-24T16:23:25.000030 | Jaimie | pythondev_help_Jaimie_2018-02-24T16:23:25.000030 | 1,519,489,405.00003 | 36,054 |
pythondev | help | ```Command "/home/travis/virtualenv/python3.7-dev/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0x_7aenb/PyYAML/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-mqq7u_1a-record/in... | 2018-02-24T16:25:38.000012 | Jaimie | pythondev_help_Jaimie_2018-02-24T16:25:38.000012 | 1,519,489,538.000012 | 36,055 |
pythondev | help | <https://travis-ci.org/ssbothwell/greedypacker/jobs/345747231> | 2018-02-24T16:27:19.000011 | Jaimie | pythondev_help_Jaimie_2018-02-24T16:27:19.000011 | 1,519,489,639.000011 | 36,056 |
pythondev | help | <@Jaimie> your requirements are not installing on python 3.7dev | 2018-02-24T16:44:56.000075 | Micki | pythondev_help_Micki_2018-02-24T16:44:56.000075 | 1,519,490,696.000075 | 36,057 |
pythondev | help | it's usually good practice to put the future version test under `allow_failures` so they won't mark your builds as failed | 2018-02-24T16:45:45.000103 | Micki | pythondev_help_Micki_2018-02-24T16:45:45.000103 | 1,519,490,745.000103 | 36,058 |
pythondev | help | oh thanks, good to know | 2018-02-24T16:54:55.000005 | Jaimie | pythondev_help_Jaimie_2018-02-24T16:54:55.000005 | 1,519,491,295.000005 | 36,059 |
pythondev | help | is this the right syntax? | 2018-02-24T16:59:56.000018 | Jaimie | pythondev_help_Jaimie_2018-02-24T16:59:56.000018 | 1,519,491,596.000018 | 36,060 |
pythondev | help | ```language: python
python:
- "3.5"
- "3.6"
allow_failures:
- "3.6-dev"
- "3.7-dev"
script:
- coverage run -m unittest test
after_success:
- coveralls
``` | 2018-02-24T17:00:02.000100 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:00:02.000100 | 1,519,491,602.0001 | 36,061 |
pythondev | help | see <https://github.com/pyslackers/slack-sansio/blob/master/.travis.yml> | 2018-02-24T17:01:24.000026 | Micki | pythondev_help_Micki_2018-02-24T17:01:24.000026 | 1,519,491,684.000026 | 36,062 |
pythondev | help | oh thanks | 2018-02-24T17:02:36.000065 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:02:36.000065 | 1,519,491,756.000065 | 36,063 |
pythondev | help | hmm, i just noticed that `Pip` is showing an old version of my package as the latest, but will install the actual latest. | 2018-02-24T17:07:23.000004 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:07:23.000004 | 1,519,492,043.000004 | 36,064 |
pythondev | help | ```solomon@prefect greedypacker $ pip search greedypacker
greedypacker (0.3.3) - A two dimensional binpacking library
INSTALLED: 0.4
LATEST: 0.3.3``` | 2018-02-24T17:07:37.000015 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:07:37.000015 | 1,519,492,057.000015 | 36,065 |
pythondev | help | i uploaded `0.4` about 30minutes ago | 2018-02-24T17:07:48.000147 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:07:48.000147 | 1,519,492,068.000147 | 36,066 |
pythondev | help | mine find 0.4 | 2018-02-24T17:09:06.000101 | Micki | pythondev_help_Micki_2018-02-24T17:09:06.000101 | 1,519,492,146.000101 | 36,067 |
pythondev | help | it might be your local cache | 2018-02-24T17:09:22.000043 | Micki | pythondev_help_Micki_2018-02-24T17:09:22.000043 | 1,519,492,162.000043 | 36,068 |
pythondev | help | ahh thank you | 2018-02-24T17:10:00.000067 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:10:00.000067 | 1,519,492,200.000067 | 36,069 |
pythondev | help | oh mine is showing `0.4` now. i guess i was being impatient | 2018-02-24T17:10:21.000101 | Jaimie | pythondev_help_Jaimie_2018-02-24T17:10:21.000101 | 1,519,492,221.000101 | 36,070 |
pythondev | help | Someone could help me crawl a website with ajax paginaton? :sweat_smile: | 2018-02-24T18:38:45.000070 | Nilda | pythondev_help_Nilda_2018-02-24T18:38:45.000070 | 1,519,497,525.00007 | 36,071 |
pythondev | help | if someone may know, i am getting a KeyError when a json key is not present, I am looking to except this error and proceed to the end of the files. I am new to this, unsure how to include this exception within my for loop | 2018-02-24T22:09:24.000026 | Cornell | pythondev_help_Cornell_2018-02-24T22:09:24.000026 | 1,519,510,164.000026 | 36,072 |
pythondev | help | <@Cornell>, you could wrap your parsing in a `try... except` or you could use `my_object.get('key', <some default value>)` which won't blow up | 2018-02-24T23:26:29.000065 | Randi | pythondev_help_Randi_2018-02-24T23:26:29.000065 | 1,519,514,789.000065 | 36,073 |
pythondev | help | <@Randi>I ended up going with a try... except. I am getting my expected outputs now, while ignoring the KeyErrors. Thank you for helping! | 2018-02-24T23:41:08.000040 | Cornell | pythondev_help_Cornell_2018-02-24T23:41:08.000040 | 1,519,515,668.00004 | 36,074 |
pythondev | help | <@Cornell> anytime | 2018-02-24T23:41:19.000064 | Randi | pythondev_help_Randi_2018-02-24T23:41:19.000064 | 1,519,515,679.000064 | 36,075 |
pythondev | help | how to use `random.seed()` to get always unique numbers when I call `random.choice`? | 2018-02-25T01:33:56.000002 | Krista | pythondev_help_Krista_2018-02-25T01:33:56.000002 | 1,519,522,436.000002 | 36,076 |
pythondev | help | Hey guys long time no see | 2018-02-25T03:18:11.000023 | Salena | pythondev_help_Salena_2018-02-25T03:18:11.000023 | 1,519,528,691.000023 | 36,077 |
pythondev | help | Does anybody have an idea why installing from a `git` source in `requirements.txt` does not install that source’s dependencies specified in its own `requirements.txt` ? | 2018-02-25T03:18:38.000032 | Salena | pythondev_help_Salena_2018-02-25T03:18:38.000032 | 1,519,528,718.000032 | 36,078 |
pythondev | help | I want to create instance only if values provided are valid, is this right way to it?
```
class Vehicle(object):
def __init__(self, license_no, color):
self._license = ""
self._color = ""
self.license = license_no
self.color = color
def __repr__(self):
return "Vehicle(... | 2018-02-25T07:16:12.000012 | Joaquin | pythondev_help_Joaquin_2018-02-25T07:16:12.000012 | 1,519,542,972.000012 | 36,079 |
pythondev | help | <@Joaquin> I'd simply put validation checks in `__init__` and assign validated values to attributes with leading `_`, i.e. `_license` and `_color` | 2018-02-25T10:50:08.000105 | Aleida | pythondev_help_Aleida_2018-02-25T10:50:08.000105 | 1,519,555,808.000105 | 36,080 |
pythondev | help | Attributes starting with _ are "private" by convention in python, if anyone will change them directly in runtime it's their problem, not yours | 2018-02-25T10:50:57.000041 | Aleida | pythondev_help_Aleida_2018-02-25T10:50:57.000041 | 1,519,555,857.000041 | 36,081 |
pythondev | help | <@Aleida> When should property getter and setter be used ? | 2018-02-25T11:05:41.000132 | Joaquin | pythondev_help_Joaquin_2018-02-25T11:05:41.000132 | 1,519,556,741.000132 | 36,082 |
pythondev | help | The only valid use-case I see is when you already have a legacy codebase with lots of code paths that do `someobj.someproperty` (access someproperty of someobj) and requirements have changed so `someproperty` is not a complex beast and must compute something when accessed | 2018-02-25T11:11:29.000060 | Aleida | pythondev_help_Aleida_2018-02-25T11:11:29.000060 | 1,519,557,089.00006 | 36,083 |
pythondev | help | In that case you can turn that attribute into a `@property` without changing everything else | 2018-02-25T11:12:13.000008 | Aleida | pythondev_help_Aleida_2018-02-25T11:12:13.000008 | 1,519,557,133.000008 | 36,084 |
pythondev | help | Another use-case is when you have a lazy attribute - an attribute that is being evaluated when first accessed, not when a instance is being instantiated | 2018-02-25T11:13:16.000112 | Aleida | pythondev_help_Aleida_2018-02-25T11:13:16.000112 | 1,519,557,196.000112 | 36,085 |
pythondev | help | (although in that particular case you might want to use `cached_property` instead) | 2018-02-25T11:13:46.000079 | Aleida | pythondev_help_Aleida_2018-02-25T11:13:46.000079 | 1,519,557,226.000079 | 36,086 |
pythondev | help | I am trying to create a Class named `Command` whose functions are command name, and in order for a command to execute, I should be able to run the function.
For example: User input is `create_parking_lot 10`.
I want to parse this input and convert `create_parking_lot` to a command, and 10 is passed in to it.
```
class... | 2018-02-25T14:40:18.000114 | Joaquin | pythondev_help_Joaquin_2018-02-25T14:40:18.000114 | 1,519,569,618.000114 | 36,087 |
pythondev | help | I am not able to extend it, can someone please help me with this. | 2018-02-25T14:40:54.000097 | Joaquin | pythondev_help_Joaquin_2018-02-25T14:40:54.000097 | 1,519,569,654.000097 | 36,088 |
pythondev | help | stupid question: is there a way to overload a function in Python but only under certain conditions? | 2018-02-25T18:44:25.000141 | Tisa | pythondev_help_Tisa_2018-02-25T18:44:25.000141 | 1,519,584,265.000141 | 36,089 |
pythondev | help | I'm trying to write a custom class that basically inherits everything from tuple, except for __repr__ in the case of a single element. | 2018-02-25T18:44:53.000028 | Tisa | pythondev_help_Tisa_2018-02-25T18:44:53.000028 | 1,519,584,293.000028 | 36,090 |
pythondev | help | is there a way to overload __repr__ but only for a single element, keeping the original behavior in all other cases? would I just write __repr__ but have it only work in case of a single element and somehow "default" to the tuple repr? | 2018-02-25T18:45:55.000118 | Tisa | pythondev_help_Tisa_2018-02-25T18:45:55.000118 | 1,519,584,355.000118 | 36,091 |
pythondev | help | <@Tisa> `super` is used to call the parent class func | 2018-02-25T19:03:19.000003 | Huong | pythondev_help_Huong_2018-02-25T19:03:19.000003 | 1,519,585,399.000003 | 36,092 |
pythondev | help | So you can use your own logic and call that conditionally | 2018-02-25T19:03:31.000037 | Huong | pythondev_help_Huong_2018-02-25T19:03:31.000037 | 1,519,585,411.000037 | 36,093 |
pythondev | help | that's what I was thinking of - just didn't know where to look for that info. Thanks! | 2018-02-25T19:03:47.000168 | Tisa | pythondev_help_Tisa_2018-02-25T19:03:47.000168 | 1,519,585,427.000168 | 36,094 |
pythondev | help | Any recommendations on how I can start learning effectively? I was system admin previously Windows, Linux, VMware, etc... | 2018-02-25T19:28:20.000137 | Kanisha | pythondev_help_Kanisha_2018-02-25T19:28:20.000137 | 1,519,586,900.000137 | 36,095 |
pythondev | help | try PyCharm Edu, it has some excellent exercises to start with. I'd also look at CodeAcademy's Python exercises. | 2018-02-25T19:34:36.000047 | Tisa | pythondev_help_Tisa_2018-02-25T19:34:36.000047 | 1,519,587,276.000047 | 36,096 |
pythondev | help | Thanks for the hint. Wasn't aware of the EduTool for Python. | 2018-02-25T20:39:37.000073 | Lisbeth | pythondev_help_Lisbeth_2018-02-25T20:39:37.000073 | 1,519,591,177.000073 | 36,097 |
pythondev | help | Hey everyone. I’m reading about virtualenvs. specifically venv and pipenv. Is there anything else I need to create projects? | 2018-02-26T05:30:50.000429 | Suzette | pythondev_help_Suzette_2018-02-26T05:30:50.000429 | 1,519,623,050.000429 | 36,098 |
pythondev | help | <@Suzette> I wouldn't suggest to use pipenv if you don't know how venv/virtualenv work and which problems pipenv solves exactly. You might be confused. | 2018-02-26T05:39:53.000468 | Aleida | pythondev_help_Aleida_2018-02-26T05:39:53.000468 | 1,519,623,593.000468 | 36,099 |
pythondev | help | `python3 -m venv ./venv && . ./venv/bin/activate` should be enough for you for a long time | 2018-02-26T05:40:22.000185 | Aleida | pythondev_help_Aleida_2018-02-26T05:40:22.000185 | 1,519,623,622.000185 | 36,100 |
pythondev | help | as I understand, `venv` is like a virtualbox and `pipenv` is like `npm + venv` | 2018-02-26T05:41:46.000011 | Suzette | pythondev_help_Suzette_2018-02-26T05:41:46.000011 | 1,519,623,706.000011 | 36,101 |
pythondev | help | No, not really. `venv` is like `node_modules` (so you can decide where you store dependencies by yourself, the system does not force you to use any particular place) and `pip` is like `npm` (in a sense of installing/removing dependencies) | 2018-02-26T05:44:10.000138 | Aleida | pythondev_help_Aleida_2018-02-26T05:44:10.000138 | 1,519,623,850.000138 | 36,102 |
pythondev | help | `pipenv` adds lock files on top of that and centralizes `venv` management into `~/.local` | 2018-02-26T05:45:16.000080 | Aleida | pythondev_help_Aleida_2018-02-26T05:45:16.000080 | 1,519,623,916.00008 | 36,103 |
pythondev | help | Hey guys i want to ask about deploying a project that I started on top of a open source project. At the moment the project is ahead of my version so I cannot use it anymore. They changed a bunch of method names "-" to "_" and lots of JS and CSS stuff. So I want to deploy my version straight to the VPS. What I want to ... | 2018-02-26T06:19:19.000436 | Luanne | pythondev_help_Luanne_2018-02-26T06:19:19.000436 | 1,519,625,959.000436 | 36,104 |
pythondev | help | hey all I am having difficulty install `pyodbc` in my virtual environment; I get the build error;
```
Collecting pyodbc
Using cached pyodbc-4.0.22.tar.gz
Building wheels for collected packages: pyodbc
Running setup.py bdist_wheel for pyodbc ... error
Complete output from command /home/mayur/web_stuff/pf_dashboar... | 2018-02-26T06:26:08.000331 | Milo | pythondev_help_Milo_2018-02-26T06:26:08.000331 | 1,519,626,368.000331 | 36,105 |
pythondev | help | do I need to use python3.5? As I haven't had to do this before | 2018-02-26T06:26:47.000037 | Milo | pythondev_help_Milo_2018-02-26T06:26:47.000037 | 1,519,626,407.000037 | 36,106 |
pythondev | help | <@Milo> you need to install development headers for python. How did you install python3 on your system? | 2018-02-26T06:29:55.000166 | Aleida | pythondev_help_Aleida_2018-02-26T06:29:55.000166 | 1,519,626,595.000166 | 36,107 |
pythondev | help | I am using the ubuntu python3 | 2018-02-26T06:32:19.000411 | Milo | pythondev_help_Milo_2018-02-26T06:32:19.000411 | 1,519,626,739.000411 | 36,108 |
pythondev | help | what development headers? | 2018-02-26T06:32:31.000408 | Milo | pythondev_help_Milo_2018-02-26T06:32:31.000408 | 1,519,626,751.000408 | 36,109 |
pythondev | help | Ubuntu 16.10? | 2018-02-26T06:34:02.000071 | Aleida | pythondev_help_Aleida_2018-02-26T06:34:02.000071 | 1,519,626,842.000071 | 36,110 |
pythondev | help | 16.04 | 2018-02-26T06:35:35.000175 | Milo | pythondev_help_Milo_2018-02-26T06:35:35.000175 | 1,519,626,935.000175 | 36,111 |
pythondev | help | `sudo apt install python3-dev` should do the trick | 2018-02-26T06:38:14.000380 | Aleida | pythondev_help_Aleida_2018-02-26T06:38:14.000380 | 1,519,627,094.00038 | 36,112 |
pythondev | help | <@Aleida> :taco: | 2018-02-26T06:42:56.000210 | Milo | pythondev_help_Milo_2018-02-26T06:42:56.000210 | 1,519,627,376.00021 | 36,113 |
pythondev | help | thanks <@Aleida> :slightly_smiling_face: had a look at `.local` folder and it all makes sense now | 2018-02-26T07:12:58.000323 | Suzette | pythondev_help_Suzette_2018-02-26T07:12:58.000323 | 1,519,629,178.000323 | 36,114 |
pythondev | help | now I understand how python packages work :smile: I set up my IDE to use python from the environment set up in that `.local` folder | 2018-02-26T07:14:17.000149 | Suzette | pythondev_help_Suzette_2018-02-26T07:14:17.000149 | 1,519,629,257.000149 | 36,115 |
pythondev | help | and it resolved all the packages perfectly. Now one issue I’m running into is that I want to run one of the scripts with cron job. So I have this in my crontab:
```
* * * * * /usr/local/bin/pipenv run python /Users/X/Code/python/virtual-experiments/one/start.py >> /Users/X/Code/python/virtual-experiments/one/log.... | 2018-02-26T07:18:07.000349 | Suzette | pythondev_help_Suzette_2018-02-26T07:18:07.000349 | 1,519,629,487.000349 | 36,116 |
pythondev | help | Hello guys! I am deploying a python flask application using docker. I have successfully been able to run the application on port 5000. However i am trying to reverse proxy nginx to gunicorn(the application server) but when i hit my domain, the server returns the raw html files but is unable to load the assets. Anyone e... | 2018-02-26T08:17:16.000094 | Brittaney | pythondev_help_Brittaney_2018-02-26T08:17:16.000094 | 1,519,633,036.000094 | 36,117 |
pythondev | help | I am using wtforms_components selectfield with optgroups and option values. However the values for the the options are being set at run time reading from a table. But some form entries have an id value for them set I am trying to set a default value like so;
```
for x in rows:
setattr(
BusinessOps,... | 2018-02-26T08:24:02.000080 | Milo | pythondev_help_Milo_2018-02-26T08:24:02.000080 | 1,519,633,442.00008 | 36,118 |
pythondev | help | <@Brittaney> usually the asset should be served by nginx. So it depends how you configured it | 2018-02-26T08:25:07.000447 | Micki | pythondev_help_Micki_2018-02-26T08:25:07.000447 | 1,519,633,507.000447 | 36,119 |
pythondev | help | <@Micki> do i need to point it to the template folder in my project? Currently it is not pointed there | 2018-02-26T08:26:20.000021 | Brittaney | pythondev_help_Brittaney_2018-02-26T08:26:20.000021 | 1,519,633,580.000021 | 36,120 |
pythondev | help | <@Micki> secondly since my flask app is running in a docker container. I’m wondering how i would be able to point it to the template folder | 2018-02-26T08:28:36.000201 | Brittaney | pythondev_help_Brittaney_2018-02-26T08:28:36.000201 | 1,519,633,716.000201 | 36,121 |
pythondev | help | You can do it in the alias block in the nginx conf file | 2018-02-26T08:38:47.000122 | Luanne | pythondev_help_Luanne_2018-02-26T08:38:47.000122 | 1,519,634,327.000122 | 36,122 |
pythondev | help | Any ideas about this one? | 2018-02-26T08:42:29.000228 | Milo | pythondev_help_Milo_2018-02-26T08:42:29.000228 | 1,519,634,549.000228 | 36,123 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.