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 | Start by trying to solve some real world problems. Automate some tasks on your computer. As for how long it takes - that is very much dependent on the individual. Since you have no programming experience it will take longer than someone who knows other languages. A good way to get practical experience is to help answer questions on Stack Overflow or <http://Codementor.io|Codementor.io>. That experience will make you dig deep and provide some pre-job experience. | 2019-04-16T18:40:25.054100 | Pasquale | pythondev_help_Pasquale_2019-04-16T18:40:25.054100 | 1,555,440,025.0541 | 19,021 |
pythondev | help | You might also consider a coding bootcamp, if you think you would learn better in a structured, focused environment. | 2019-04-16T18:41:10.054600 | Sasha | pythondev_help_Sasha_2019-04-16T18:41:10.054600 | 1,555,440,070.0546 | 19,022 |
pythondev | help | ```search_key = 'a'
d ={(a,b,c):(100,200,300),
(z,x,y):(1000,2000,3000)}
if search_key in d.keys():
print(d.keys(),d.values())``` | 2019-04-16T19:54:38.056500 | Bart | pythondev_help_Bart_2019-04-16T19:54:38.056500 | 1,555,444,478.0565 | 19,023 |
pythondev | help | why does this not work? | 2019-04-16T19:54:46.056800 | Bart | pythondev_help_Bart_2019-04-16T19:54:46.056800 | 1,555,444,486.0568 | 19,024 |
pythondev | help | `keys` returns a list of the keys and `in` checks if the value matches any of them. Since your keys are tuples, there's no second level checking | 2019-04-16T20:01:34.059300 | Hiroko | pythondev_help_Hiroko_2019-04-16T20:01:34.059300 | 1,555,444,894.0593 | 19,025 |
pythondev | help | That is, `(a, b, c): (100, 200, 300)` is not a shorthand for `a: 100, b: 200, c: 300` if that's what you were hoping. | 2019-04-16T20:04:32.060200 | Sasha | pythondev_help_Sasha_2019-04-16T20:04:32.060200 | 1,555,445,072.0602 | 19,026 |
pythondev | help | aah no | 2019-04-16T20:55:16.065100 | Bart | pythondev_help_Bart_2019-04-16T20:55:16.065100 | 1,555,448,116.0651 | 19,027 |
pythondev | help | sorry i think i figured this out | 2019-04-16T20:55:24.065500 | Bart | pythondev_help_Bart_2019-04-16T20:55:24.065500 | 1,555,448,124.0655 | 19,028 |
pythondev | help | ```>>> d = {('a','b','c'):(100,200,300),
... ('z','x','y'):(1000,2000,3000)}
>>> print(d.keys())
dict_keys([('a', 'b', 'c'), ('z', 'x', 'y')])``` | 2019-04-16T20:55:42.065700 | Bart | pythondev_help_Bart_2019-04-16T20:55:42.065700 | 1,555,448,142.0657 | 19,029 |
pythondev | help | ```>>> for k,v in d.items():
... if search_key in k:
... print("s")
...
s``` | 2019-04-16T20:56:02.066000 | Bart | pythondev_help_Bart_2019-04-16T20:56:02.066000 | 1,555,448,162.066 | 19,030 |
pythondev | help | <@Isabel> It depends on a number of things which makes it really hard to pin down a number of years. I taught myself python when i was already working as a database administrator. I used python on the job off and on for ~3 years and then moved to a developer role. This hints at what <@Pasquale> was saying about solving real world problems. This can be difficult for someone who may not have real world business problems to get the “trigger time”. These problems are also unique to particular areas like web development, networking, databases, analytics, data science, etc. This is when the beauty of open-source comes into play. If I had to start all over and go from “zero to hero” this would be my plan of attack.
1. Understand that software development is a craft like any other. The old saying goes, “It’s the journey not the destination”. It builds from basic concepts to more advanced ones and requires time and dedication.
2. Become really good at the basics. Lists, dictionaries, sets, tuples, if/then, for/while loops .etc. Figure out different ways to use these. They will be the things that drag you down later on if you don’t have a good understanding of them.
3. Find a community like this one to ask questions and talk with real programmers. Lose the ego. Don’t be afraid to ask questions and be curious. Feel the need to tinker and break things. Failure == learning. Be relentless in your pursuit to learning.
4. Read source code as much as you can. Find the really good projects and study the code line by line. Take it apart, reverse engineer, and learn the inner workings.
5. Find an open source project to contribute to. We have community projects here btw. This gives you experience with working with version control in a collaborative manner. You also have something to point to in a resume. Being a developer is SO much more than just producing code. There is testing, communication, collaboration, reading other’s code, etc.
6. Rinse and repeat. | 2019-04-16T21:10:24.072000 | Eliana | pythondev_help_Eliana_2019-04-16T21:10:24.072000 | 1,555,449,024.072 | 19,031 |
pythondev | help | Hey guys, I've been banging my head against the wall for a couple hours now... | 2019-04-16T21:13:45.072800 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:13:45.072800 | 1,555,449,225.0728 | 19,032 |
pythondev | help | Trying to upload a file to slacks api and I keep getting `invalid_form_data` | 2019-04-16T21:14:02.073200 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:14:02.073200 | 1,555,449,242.0732 | 19,033 |
pythondev | help | I've tried several methods but most recently I'm attempting to replicate whats in this stackoverflow question: <https://stackoverflow.com/questions/43464873/how-to-upload-files-to-slack-using-file-upload-and-requests> | 2019-04-16T21:14:40.073900 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:14:40.073900 | 1,555,449,280.0739 | 19,034 |
pythondev | help | trying to upload a json file (it's a dict but I'm trying to convert it to json to meet the requirements) | 2019-04-16T21:15:22.074900 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:15:22.074900 | 1,555,449,322.0749 | 19,035 |
pythondev | help | my code | 2019-04-16T21:15:49.075100 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:15:49.075100 | 1,555,449,349.0751 | 19,036 |
pythondev | help | response: `b'{"ok":false,"error":"invalid_form_data"}'` | 2019-04-16T21:16:17.075600 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:16:17.075600 | 1,555,449,377.0756 | 19,037 |
pythondev | help | per slacks documentation:
```
The method was called via a POST request with Content-Type application/x-www-form-urlencoded or multipart/form-data, but the form data was either missing or syntactically invalid.
``` | 2019-04-16T21:18:10.076100 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:18:10.076100 | 1,555,449,490.0761 | 19,038 |
pythondev | help | <https://api.slack.com/methods/files.upload> | 2019-04-16T21:19:27.076300 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:19:27.076300 | 1,555,449,567.0763 | 19,039 |
pythondev | help | `clinic_day_json` in the code above is a dict | 2019-04-16T21:21:16.076800 | Magdalena | pythondev_help_Magdalena_2019-04-16T21:21:16.076800 | 1,555,449,676.0768 | 19,040 |
pythondev | help | Hey I come from a business background and started learning Python on my own, never done any programming before. I got a job 5 months after I started and spent no more than $15 on the education | 2019-04-17T02:00:49.078000 | Conchita | pythondev_help_Conchita_2019-04-17T02:00:49.078000 | 1,555,466,449.078 | 19,041 |
pythondev | help | But lots and lots of hours | 2019-04-17T02:00:54.078200 | Conchita | pythondev_help_Conchita_2019-04-17T02:00:54.078200 | 1,555,466,454.0782 | 19,042 |
pythondev | help | 1. Build stuff you find useful or fun, and *see those projects through* - finish them. They must be hosted on github + preferably host the app on a website
2. contribute to open source (doesn't have to be code)
3. Study tutorials, code of projets like request, pandas etc
4. Try to spend at least 30-60 min to write and read code every single day | 2019-04-17T02:01:54.078400 | Conchita | pythondev_help_Conchita_2019-04-17T02:01:54.078400 | 1,555,466,514.0784 | 19,043 |
pythondev | help | 5. Focus heavily on as few technologies and modules as possible in the beginning (Don't use selenium, request, bs4, pandas, json, mongodb etc in your first projects) Start very small, and improve your projects little by little
6. Dont give up | 2019-04-17T02:04:34.078700 | Conchita | pythondev_help_Conchita_2019-04-17T02:04:34.078700 | 1,555,466,674.0787 | 19,044 |
pythondev | help | I focused mainly on building scrapers and that seemed to be a nice intro to everyhting | 2019-04-17T02:05:10.078900 | Conchita | pythondev_help_Conchita_2019-04-17T02:05:10.078900 | 1,555,466,710.0789 | 19,045 |
pythondev | help | I also built a sentiment analysis tool that listened to all tweets globally containing a keyword (complex) which costed me a looot of time and I was very slow to debug it as it had a large amount of "alien parts" | 2019-04-17T02:06:26.079100 | Conchita | pythondev_help_Conchita_2019-04-17T02:06:26.079100 | 1,555,466,786.0791 | 19,046 |
pythondev | help | I learnt from it, but I think I would have learnt more that period if I focused on building a more simple application | 2019-04-17T02:06:57.079300 | Conchita | pythondev_help_Conchita_2019-04-17T02:06:57.079300 | 1,555,466,817.0793 | 19,047 |
pythondev | help | It's also important to mention that I have good experience with building and running a business - I'm disciplined enough to learn fine on my own - but for others its much more meaningful to make it a more social thing and learn collectively as a unit, ie. join a bootcamp | 2019-04-17T02:09:04.079500 | Conchita | pythondev_help_Conchita_2019-04-17T02:09:04.079500 | 1,555,466,944.0795 | 19,048 |
pythondev | help | I wouldn't include any content type headers | 2019-04-17T03:09:01.080000 | Jimmy | pythondev_help_Jimmy_2019-04-17T03:09:01.080000 | 1,555,470,541.08 | 19,049 |
pythondev | help | requests should be inteligent enough to set it by itself | 2019-04-17T03:09:13.080500 | Jimmy | pythondev_help_Jimmy_2019-04-17T03:09:13.080500 | 1,555,470,553.0805 | 19,050 |
pythondev | help | Hi guys, how's it going? I want to build a rule engine in Python, can anyone help me with links of good resources like a good Python library I can use. Also if you know a good book/tutorial I would appreciate it if you could send me a link. Thank you in advance! | 2019-04-17T04:32:43.082300 | Mireille | pythondev_help_Mireille_2019-04-17T04:32:43.082300 | 1,555,475,563.0823 | 19,051 |
pythondev | help | Is rule engine = business rule engine? I do not know much about it, but googling for that results in some replies. | 2019-04-17T05:03:07.085100 | Yaeko | pythondev_help_Yaeko_2019-04-17T05:03:07.085100 | 1,555,477,387.0851 | 19,052 |
pythondev | help | I think the context is relevant; how will it be used and how will it communicate with the rest of the world? REST, SQL DB, files, bus? | 2019-04-17T05:03:54.086100 | Yaeko | pythondev_help_Yaeko_2019-04-17T05:03:54.086100 | 1,555,477,434.0861 | 19,053 |
pythondev | help | Please How can I plot this: ```[[0. 0. 0. ... 0. 0. 0.]
[0. 0. 0. ... 0. 0. 0.]
[0. 0. 0. ... 0. 0. 0.]
...
[0. 0. 0. ... 0. 0. 0.]
[0. 0. 0. ... 0. 0. 0.]
[0. 0. 0. ... 0. 0. 0.]]
``` as points not lines | 2019-04-17T05:41:49.086900 | Tanja | pythondev_help_Tanja_2019-04-17T05:41:49.086900 | 1,555,479,709.0869 | 19,054 |
pythondev | help | I'm making this : `print(A.toarray())` for Knn graph using sklearn but it gives this error for some files ```return np.zeros(self.shape, dtype=self.dtype, order=order)
MemoryError
``` How such error could be solved? and anyone has knowledge in types of graphs could be used like knn graph and epsilon (I'm working with Image Processing) | 2019-04-17T05:46:59.089000 | Tanja | pythondev_help_Tanja_2019-04-17T05:46:59.089000 | 1,555,480,019.089 | 19,055 |
pythondev | help | I think you need to change that matrix to independent values | 2019-04-17T05:53:51.089200 | Alysia | pythondev_help_Alysia_2019-04-17T05:53:51.089200 | 1,555,480,431.0892 | 19,056 |
pythondev | help | Oh and are you make training and testing dataset yet ?? | 2019-04-17T05:54:26.089900 | Alysia | pythondev_help_Alysia_2019-04-17T05:54:26.089900 | 1,555,480,466.0899 | 19,057 |
pythondev | help | what you mean change the matrix?.. these values are taking from changing a mesh into graph using pymesh.. and then using this graph to set it as knn graph with the use of sklearn!!! | 2019-04-17T06:08:07.090000 | Tanja | pythondev_help_Tanja_2019-04-17T06:08:07.090000 | 1,555,481,287.09 | 19,058 |
pythondev | help | oh :v so your data is different from me, i'm training the data with change into matrix | 2019-04-17T06:38:28.090200 | Alysia | pythondev_help_Alysia_2019-04-17T06:38:28.090200 | 1,555,483,108.0902 | 19,059 |
pythondev | help | I want to extract `00000050-1995-1` out of the string below
```
e = (1062, "Duplicate entry '00000050-1995-1' for key 'orders_book_first_form_number_print_year_version_5956686e_uniq'")
``` | 2019-04-17T06:42:19.091100 | Valeri | pythondev_help_Valeri_2019-04-17T06:42:19.091100 | 1,555,483,339.0911 | 19,060 |
pythondev | help | What is the best possible regex I could write? | 2019-04-17T06:42:30.091400 | Valeri | pythondev_help_Valeri_2019-04-17T06:42:30.091400 | 1,555,483,350.0914 | 19,061 |
pythondev | help | `e.args[1].split()[2].replace("'", '').split('-')[0]` | 2019-04-17T06:42:49.092000 | Valeri | pythondev_help_Valeri_2019-04-17T06:42:49.092000 | 1,555,483,369.092 | 19,062 |
pythondev | help | My brute force ass came up with this | 2019-04-17T06:43:00.092500 | Valeri | pythondev_help_Valeri_2019-04-17T06:43:00.092500 | 1,555,483,380.0925 | 19,063 |
pythondev | help | ```
Duplicate entry '[^']+' for key '[^']+'
```
? | 2019-04-17T06:43:14.092900 | Jettie | pythondev_help_Jettie_2019-04-17T06:43:14.092900 | 1,555,483,394.0929 | 19,064 |
pythondev | help | `e.args[1].split("'")[1]` ? | 2019-04-17T06:43:36.093500 | Jimmy | pythondev_help_Jimmy_2019-04-17T06:43:36.093500 | 1,555,483,416.0935 | 19,065 |
pythondev | help | split > regex :stuck_out_tongue: | 2019-04-17T06:44:04.093800 | Jimmy | pythondev_help_Jimmy_2019-04-17T06:44:04.093800 | 1,555,483,444.0938 | 19,066 |
pythondev | help | :crying_cat_face: | 2019-04-17T06:44:19.094000 | Jettie | pythondev_help_Jettie_2019-04-17T06:44:19.094000 | 1,555,483,459.094 | 19,067 |
pythondev | help | <@Jettie> I don't think I understand that | 2019-04-17T06:48:31.094800 | Valeri | pythondev_help_Valeri_2019-04-17T06:48:31.094800 | 1,555,483,711.0948 | 19,068 |
pythondev | help | <@Jimmy> Why is the simplest solution not so obvious :0 | 2019-04-17T06:49:35.095600 | Valeri | pythondev_help_Valeri_2019-04-17T06:49:35.095600 | 1,555,483,775.0956 | 19,069 |
pythondev | help | Thanks think I'll use that <@Jimmy> :taco: | 2019-04-17T06:50:06.096200 | Valeri | pythondev_help_Valeri_2019-04-17T06:50:06.096200 | 1,555,483,806.0962 | 19,070 |
pythondev | help | <@Yaeko> It is a Business Rule Engine, it will communicate with a MySQL database and I need to integrate it with Django. So the main Idea is that a User should create some operations and select the table columns in db where we need to apply these operations. Thanks for helping out! | 2019-04-17T07:00:53.098300 | Mireille | pythondev_help_Mireille_2019-04-17T07:00:53.098300 | 1,555,484,453.0983 | 19,071 |
pythondev | help | <@Valeri>
```
In [1]: import re
In [2]: entry, key = re.match("Duplicate entry '([^']+)' for key '([^']+)'", "Duplicate entry '00000050-1995-1' for key 'orders_book_first_form_number_print_year_version_5956686e_uniq'").groups()
In [3]: entry, key
Out[3]:
('00000050-1995-1',
'orders_book_first_form_number_print_year_version_5956686e_uniq')
``` | 2019-04-17T07:08:23.098800 | Jettie | pythondev_help_Jettie_2019-04-17T07:08:23.098800 | 1,555,484,903.0988 | 19,072 |
pythondev | help | <@Jettie> Thanks :taco: | 2019-04-17T07:22:42.099200 | Valeri | pythondev_help_Valeri_2019-04-17T07:22:42.099200 | 1,555,485,762.0992 | 19,073 |
pythondev | help | <@Jimmy> watch your mouth!! | 2019-04-17T07:52:07.099600 | Claudine | pythondev_help_Claudine_2019-04-17T07:52:07.099600 | 1,555,487,527.0996 | 19,074 |
pythondev | help | :zipper_mouth_face: | 2019-04-17T07:56:32.100000 | Jimmy | pythondev_help_Jimmy_2019-04-17T07:56:32.100000 | 1,555,487,792.1 | 19,075 |
pythondev | help | Hi, I am trying to pull data from a website and put in an excel file, but there are some non utf-8 characters that throw an `IllegalCharacterError`, I have search how to remove those characters but nothing was useful, I also try `.encode('utf-8, 'replace')` but it doesn't replace anything | 2019-04-17T08:45:06.103300 | Elliott | pythondev_help_Elliott_2019-04-17T08:45:06.103300 | 1,555,490,706.1033 | 19,076 |
pythondev | help | What's your data? | 2019-04-17T08:55:16.103500 | Valeri | pythondev_help_Valeri_2019-04-17T08:55:16.103500 | 1,555,491,316.1035 | 19,077 |
pythondev | help | And what is your code? | 2019-04-17T08:55:22.103800 | Valeri | pythondev_help_Valeri_2019-04-17T08:55:22.103800 | 1,555,491,322.1038 | 19,078 |
pythondev | help | And the error traceback | 2019-04-17T08:55:38.104100 | Valeri | pythondev_help_Valeri_2019-04-17T08:55:38.104100 | 1,555,491,338.1041 | 19,079 |
pythondev | help | Hi all, Have anyone worked on aps scheduler? | 2019-04-17T09:17:39.105100 | Darcie | pythondev_help_Darcie_2019-04-17T09:17:39.105100 | 1,555,492,659.1051 | 19,080 |
pythondev | help | If you have a question, please just ask it. Please do not ask for topic experts; do not DM or ping random users. We cannot begin to answer a question until we actually get a question.
<http://sol.gfxile.net/dontask.html|*Asking Questions*> | 2019-04-17T09:19:29.105200 | Leana | pythondev_help_Leana_2019-04-17T09:19:29.105200 | 1,555,492,769.1052 | 19,081 |
pythondev | help | Do you mean <https://pypi.org/project/schedule/>? <@Darcie> | 2019-04-17T09:23:44.105900 | Conchita | pythondev_help_Conchita_2019-04-17T09:23:44.105900 | 1,555,493,024.1059 | 19,082 |
pythondev | help | I'm setting up a webhook where I want to add a parameter like `?parameter=1`. How do I get that parameter together with the JSON request using python? | 2019-04-17T09:25:01.107400 | Conchita | pythondev_help_Conchita_2019-04-17T09:25:01.107400 | 1,555,493,101.1074 | 19,083 |
pythondev | help | No , <@Conchita>. I am talikng about adnvance python scheduler(APS). | 2019-04-17T09:38:51.108300 | Darcie | pythondev_help_Darcie_2019-04-17T09:38:51.108300 | 1,555,493,931.1083 | 19,084 |
pythondev | help | None | 2019-04-17T09:40:23.109100 | Leana | pythondev_help_Leana_2019-04-17T09:40:23.109100 | 1,555,494,023.1091 | 19,085 |
pythondev | help | I don't know about that one, sorry | 2019-04-17T09:40:28.109300 | Conchita | pythondev_help_Conchita_2019-04-17T09:40:28.109300 | 1,555,494,028.1093 | 19,086 |
pythondev | help | I have used it a bit. but you should just ask your question here :slightly_smiling_face: | 2019-04-17T09:40:54.110000 | Jimmy | pythondev_help_Jimmy_2019-04-17T09:40:54.110000 | 1,555,494,054.11 | 19,087 |
pythondev | help | <@Darcie> if you have a question you should just ask it. There are plenty of python experts here who may not have worked with a package, but can suss out an answer | 2019-04-17T09:41:12.110500 | Clemmie | pythondev_help_Clemmie_2019-04-17T09:41:12.110500 | 1,555,494,072.1105 | 19,088 |
pythondev | help | My Question is , suppose i have a job scheduled for every to 5 hours. I have callable function assigned to that job, consider *function1(arg1, arg2)*. So how can I change the arguments that i am passing for the next run, As callable function and argument were stored when the job was created . | 2019-04-17T09:53:48.115200 | Darcie | pythondev_help_Darcie_2019-04-17T09:53:48.115200 | 1,555,494,828.1152 | 19,089 |
pythondev | help | you want to change the argument from run to run ? | 2019-04-17T09:55:37.115500 | Jimmy | pythondev_help_Jimmy_2019-04-17T09:55:37.115500 | 1,555,494,937.1155 | 19,090 |
pythondev | help | Yes from run to run | 2019-04-17T09:55:48.115800 | Darcie | pythondev_help_Darcie_2019-04-17T09:55:48.115800 | 1,555,494,948.1158 | 19,091 |
pythondev | help | I don't think that's possible. What you could do is at the end of a run schedule a new run in h+5 with the new correct arguments | 2019-04-17T09:57:40.116600 | Jimmy | pythondev_help_Jimmy_2019-04-17T09:57:40.116600 | 1,555,495,060.1166 | 19,092 |
pythondev | help | hey guys! Someone have experienced django with Visual Studio 2019? i'm looking to be able to execute a manage.py like 'python manage.py loaddata myinfo' but i can't figure out how to be able to do it. Someone have an idea? Thanks. | 2019-04-17T10:20:47.118000 | Ambrose | pythondev_help_Ambrose_2019-04-17T10:20:47.118000 | 1,555,496,447.118 | 19,093 |
pythondev | help | is that a custom command? | 2019-04-17T10:22:06.118200 | Eliana | pythondev_help_Eliana_2019-04-17T10:22:06.118200 | 1,555,496,526.1182 | 19,094 |
pythondev | help | also <#C0LMFRMB5|django> may put your question amongst those more familiar with Django. It’s been many years since i touched Django. | 2019-04-17T10:22:48.118900 | Eliana | pythondev_help_Eliana_2019-04-17T10:22:48.118900 | 1,555,496,568.1189 | 19,095 |
pythondev | help | <@Eliana> thanks, no it's not supposed to be a custom command. i got a lot of sample on internet about this command. | 2019-04-17T10:42:37.120100 | Ambrose | pythondev_help_Ambrose_2019-04-17T10:42:37.120100 | 1,555,497,757.1201 | 19,096 |
pythondev | help | <@Ambrose> I haven’t used VS, but I’m pretty sure you want to run `manage` in a command prompt. The docs about that are here <https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs> . you can also ask for more help in <#C5CAD2J67|editors> - it looks like people talk about VS in there some | 2019-04-17T10:48:49.123100 | Clemmie | pythondev_help_Clemmie_2019-04-17T10:48:49.123100 | 1,555,498,129.1231 | 19,097 |
pythondev | help | <@Clemmie> great, i will try here too thanks! :slightly_smiling_face: | 2019-04-17T10:53:03.123400 | Ambrose | pythondev_help_Ambrose_2019-04-17T10:53:03.123400 | 1,555,498,383.1234 | 19,098 |
pythondev | help | ah i see. back when i used Django there was a `manage.py` file in the project directory. From what I remember that was in the root. if you open a terminal to that directory with the proper virtualenv activated you could run commands like `python manage.py startapp my_app` | 2019-04-17T11:03:54.126200 | Eliana | pythondev_help_Eliana_2019-04-17T11:03:54.126200 | 1,555,499,034.1262 | 19,099 |
pythondev | help | that is all correct. I think the current issue is a question of an active virtual environment | 2019-04-17T11:05:30.127400 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:05:30.127400 | 1,555,499,130.1274 | 19,100 |
pythondev | help | <@Eliana> yup, but that's this part i missing! the venv is open, everything works good, but unable to find the good console to execute the command line | 2019-04-17T11:05:43.127700 | Ambrose | pythondev_help_Ambrose_2019-04-17T11:05:43.127700 | 1,555,499,143.1277 | 19,101 |
pythondev | help | the console may start without a venv active. You (might) have 2 options - the first is the activate the venv in the console in the standard cli way for your tooling. The other is there might be a way to trigger the virtual environment when a console starts. The specifics are probably somewhere in VS docs or tutorials | 2019-04-17T11:07:54.130100 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:07:54.130100 | 1,555,499,274.1301 | 19,102 |
pythondev | help | also, some ides have the ability to run a script (say manage.py) but to prompt you for inputs prior to actually running. So you would click, say “run->manage” and it would open an input box for you to type “loaddata …“. Again, you would have to configure it to do that, if it is available. to the docs again! | 2019-04-17T11:09:34.131800 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:09:34.131800 | 1,555,499,374.1318 | 19,103 |
pythondev | help | <@Clemmie> thanks i will take a look on that.. i hope to finally resolve the problem, that's the point i have using VS.. i prefer VSCode or oldschool vim! :slightly_smiling_face: | 2019-04-17T11:10:54.132800 | Ambrose | pythondev_help_Ambrose_2019-04-17T11:10:54.132800 | 1,555,499,454.1328 | 19,104 |
pythondev | help | Hello Folks,
Good Morning
I need some ideas how to handle the data synchronization?
Scenario is many people are accessing the same data and making updates simultaneously.. how to prevent overwrites.. of data objects. | 2019-04-17T11:23:00.133000 | Flora | pythondev_help_Flora_2019-04-17T11:23:00.133000 | 1,555,500,180.133 | 19,105 |
pythondev | help | it’s interesting that we’re discussing virtualenvs right now as I write some documentation on virtualenvs for one of our projects. | 2019-04-17T11:25:32.133600 | Eliana | pythondev_help_Eliana_2019-04-17T11:25:32.133600 | 1,555,500,332.1336 | 19,106 |
pythondev | help | Are you tied to Visual Studio 2019? Another option is PyCharm which is a really good Python IDE. You could potentially be working with 2 editors jumping from C#/VB.Net but if it’s solely for Python that might be a good option. A downside is Pycharm is not free. | 2019-04-17T11:28:05.135700 | Eliana | pythondev_help_Eliana_2019-04-17T11:28:05.135700 | 1,555,500,485.1357 | 19,107 |
pythondev | help | yes, i have PyCharm. It's working really good on it. But like VS2019 it's just come out, i would try to get the same thing on it. VS2019. If i can't, that not useful to use it for django project. | 2019-04-17T11:36:02.140200 | Ambrose | pythondev_help_Ambrose_2019-04-17T11:36:02.140200 | 1,555,500,962.1402 | 19,108 |
pythondev | help | <@Elda> can we get a dedicated channel for *Data Engineering*? | 2019-04-17T11:37:14.140700 | Bert | pythondev_help_Bert_2019-04-17T11:37:14.140700 | 1,555,501,034.1407 | 19,109 |
pythondev | help | <#C0JB9ATQV|data_science> encompasses engineering as well | 2019-04-17T11:37:38.141200 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:37:38.141200 | 1,555,501,058.1412 | 19,110 |
pythondev | help | Hello! I’m trying to perform a migration on a postgres column that’s a boolean. I want to alter the column type to be an ENUM (‘a’, ‘b’, ‘c’). If the value for the column in a row is currently false, post migration I want it to be ‘a’, and if the value is currently true, I want it to be ‘b’. Is this possible using the ALTER COLUMN x TYPE y USING z logic? If so, what should my USING look like? I know I can do it by creating another column and dropping the previous, I want to know how I can do it with USING if it’s possible! :slightly_smiling_face: | 2019-04-17T11:44:05.145800 | Ingeborg | pythondev_help_Ingeborg_2019-04-17T11:44:05.145800 | 1,555,501,445.1458 | 19,111 |
pythondev | help | You’ll probably get better assistance if you move this question to <#C3X4T24LB|databases> | 2019-04-17T11:45:59.146200 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:45:59.146200 | 1,555,501,559.1462 | 19,112 |
pythondev | help | Thanks I’ll pop it in there too | 2019-04-17T11:46:26.146400 | Ingeborg | pythondev_help_Ingeborg_2019-04-17T11:46:26.146400 | 1,555,501,586.1464 | 19,113 |
pythondev | help | Please delete this one as well - don’t want it to look like you are cross-posting :slightly_smiling_face: | 2019-04-17T11:46:50.146600 | Clemmie | pythondev_help_Clemmie_2019-04-17T11:46:50.146600 | 1,555,501,610.1466 | 19,114 |
pythondev | help | cracked it, you can use a CASE statement as the USING expression if anyone was wondering! | 2019-04-17T12:06:00.146900 | Ingeborg | pythondev_help_Ingeborg_2019-04-17T12:06:00.146900 | 1,555,502,760.1469 | 19,115 |
pythondev | help | Looking for feedback on an app idea. I want to design an exercise app with voice recognition. Essentially, someone could record what they did vocally instead of having to write it out.
Any advice on how to get started? The voice recognition feature is the part I care about the most but I'm not sure how to integrate it, or if it's feasible as a web application. | 2019-04-17T13:10:46.151200 | Lee | pythondev_help_Lee_2019-04-17T13:10:46.151200 | 1,555,506,646.1512 | 19,116 |
pythondev | help | One approach would to be make it as a skill for Mycroft `<https://mycroft.ai/>`. Then if having it on phones rather than stationary voice assistants is desired, I see `<https://mycroft.ai/documentation/android/>` is in the works. | 2019-04-17T13:17:19.151500 | Mora | pythondev_help_Mora_2019-04-17T13:17:19.151500 | 1,555,507,039.1515 | 19,117 |
pythondev | help | Or Alexa has skills etc | 2019-04-17T13:48:41.152000 | Sharita | pythondev_help_Sharita_2019-04-17T13:48:41.152000 | 1,555,508,921.152 | 19,118 |
pythondev | help | Hey hoping I can be pointed in the right direction (on green side) I have a variable that contains a list and the element within that list have this layout logs-2019.01.10 I would like to be able to read the date section of the element and have the script recognize the date what is the best approach ? | 2019-04-17T15:33:36.157100 | Avis | pythondev_help_Avis_2019-04-17T15:33:36.157100 | 1,555,515,216.1571 | 19,119 |
pythondev | help | <@Avis>, you can do that with standard library string methods or using the `re` module. | 2019-04-17T15:50:32.158700 | Gemma | pythondev_help_Gemma_2019-04-17T15:50:32.158700 | 1,555,516,232.1587 | 19,120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.