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 | js? | 2019-03-07T14:28:38.007800 | Nenita | pythondev_help_Nenita_2019-03-07T14:28:38.007800 | 1,551,968,918.0078 | 12,621 |
pythondev | help | Shinobi | 2019-03-07T14:28:40.007900 | Ashley | pythondev_help_Ashley_2019-03-07T14:28:40.007900 | 1,551,968,920.0079 | 12,622 |
pythondev | help | yeah | 2019-03-07T14:28:41.008100 | Ashley | pythondev_help_Ashley_2019-03-07T14:28:41.008100 | 1,551,968,921.0081 | 12,623 |
pythondev | help | free, and open source | 2019-03-07T14:28:46.008400 | Ashley | pythondev_help_Ashley_2019-03-07T14:28:46.008400 | 1,551,968,926.0084 | 12,624 |
pythondev | help | I talk with the creator on discord | 2019-03-07T14:28:52.008700 | Ashley | pythondev_help_Ashley_2019-03-07T14:28:52.008700 | 1,551,968,932.0087 | 12,625 |
pythondev | help | lol it seems i will have to learn java at some point or another | 2019-03-07T14:28:57.008900 | Nenita | pythondev_help_Nenita_2019-03-07T14:28:57.008900 | 1,551,968,937.0089 | 12,626 |
pythondev | help | javascript* | 2019-03-07T14:29:03.009200 | Ashley | pythondev_help_Ashley_2019-03-07T14:29:03.009200 | 1,551,968,943.0092 | 12,627 |
pythondev | help | (very different from java) | 2019-03-07T14:29:12.009500 | Ashley | pythondev_help_Ashley_2019-03-07T14:29:12.009500 | 1,551,968,952.0095 | 12,628 |
pythondev | help | duly noted. | 2019-03-07T14:29:31.010200 | Nenita | pythondev_help_Nenita_2019-03-07T14:29:31.010200 | 1,551,968,971.0102 | 12,629 |
pythondev | help | Shinobi has a plugin system, and one of the plugins is OpenALPR (license plate recognition) | 2019-03-07T14:29:33.010300 | Ashley | pythondev_help_Ashley_2019-03-07T14:29:33.010300 | 1,551,968,973.0103 | 12,630 |
pythondev | help | oh sweet | 2019-03-07T14:29:43.010700 | Nenita | pythondev_help_Nenita_2019-03-07T14:29:43.010700 | 1,551,968,983.0107 | 12,631 |
pythondev | help | but OpenALPR actually pulls the license plate from the video feed | 2019-03-07T14:29:53.011100 | Ashley | pythondev_help_Ashley_2019-03-07T14:29:53.011100 | 1,551,968,993.0111 | 12,632 |
pythondev | help | and figures out what the text is | 2019-03-07T14:30:00.011400 | Ashley | pythondev_help_Ashley_2019-03-07T14:30:00.011400 | 1,551,969,000.0114 | 12,633 |
pythondev | help | thats perfect. that is exactly the answer i was hoping for. | 2019-03-07T14:30:27.012200 | Nenita | pythondev_help_Nenita_2019-03-07T14:30:27.012200 | 1,551,969,027.0122 | 12,634 |
pythondev | help | it also supports video stream pass through, so you don't have to re-encode the video stream to store it | 2019-03-07T14:30:30.012300 | Ashley | pythondev_help_Ashley_2019-03-07T14:30:30.012300 | 1,551,969,030.0123 | 12,635 |
pythondev | help | it's literally the only security camera software system I've found that does this | 2019-03-07T14:30:55.012900 | Ashley | pythondev_help_Ashley_2019-03-07T14:30:55.012900 | 1,551,969,055.0129 | 12,636 |
pythondev | help | has anyone ever told you you are awesome? | 2019-03-07T14:31:59.014200 | Nenita | pythondev_help_Nenita_2019-03-07T14:31:59.014200 | 1,551,969,119.0142 | 12,637 |
pythondev | help | it also supports handling multiple streams from a single camera so you can do stuff like use the high quality feed for live streaming, and a lower quality feed for license plate recognition (easier to process) | 2019-03-07T14:32:11.014300 | Ashley | pythondev_help_Ashley_2019-03-07T14:32:11.014300 | 1,551,969,131.0143 | 12,638 |
pythondev | help | lol yeah, but it's always fun hearing it :joy: | 2019-03-07T14:32:23.014600 | Ashley | pythondev_help_Ashley_2019-03-07T14:32:23.014600 | 1,551,969,143.0146 | 12,639 |
pythondev | help | do you have any docs for that camera? | 2019-03-07T14:32:36.015100 | Ashley | pythondev_help_Ashley_2019-03-07T14:32:36.015100 | 1,551,969,156.0151 | 12,640 |
pythondev | help | lmao :laughing: | 2019-03-07T14:32:36.015200 | Nenita | pythondev_help_Nenita_2019-03-07T14:32:36.015200 | 1,551,969,156.0152 | 12,641 |
pythondev | help | i believe there is a pdf on the site if not on google | 2019-03-07T14:32:50.015700 | Nenita | pythondev_help_Nenita_2019-03-07T14:32:50.015700 | 1,551,969,170.0157 | 12,642 |
pythondev | help | cool | 2019-03-07T14:32:54.016000 | Ashley | pythondev_help_Ashley_2019-03-07T14:32:54.016000 | 1,551,969,174.016 | 12,643 |
pythondev | help | I wanna see how much you can configure it's two streams | 2019-03-07T14:33:05.016400 | Ashley | pythondev_help_Ashley_2019-03-07T14:33:05.016400 | 1,551,969,185.0164 | 12,644 |
pythondev | help | <https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=2ahUKEwju6sjs4vDgAhURG6wKHUr6BboQFjABegQICBAC&url=https%3A%2F%2Fdigital-watchdog.com%2Fforcedown%2F%3Ffile_path%3D_gendownloads%2F7fbdf345-a394-4939-a7c2-f782d6535001%2F%26file_name%3DDW_DS_MEGApix4MP_DWC-MB44iALPR_Rev0917.pdf%26file%3DbU8vSG4yREFpN0VITTJOM2lOYjI0b1F5UmdCQnhrU2pVQmd2RS9wQVRaST0%3D&usg=AOvVaw0M0vOL-5STkt-TaKhfTFRr> | 2019-03-07T14:33:37.016600 | Nenita | pythondev_help_Nenita_2019-03-07T14:33:37.016600 | 1,551,969,217.0166 | 12,645 |
pythondev | help | downloads the pdf rather than view it | 2019-03-07T14:33:41.016800 | Nenita | pythondev_help_Nenita_2019-03-07T14:33:41.016800 | 1,551,969,221.0168 | 12,646 |
pythondev | help | correct link, but wrong link format sorry | 2019-03-07T14:33:58.017100 | Nenita | pythondev_help_Nenita_2019-03-07T14:33:58.017100 | 1,551,969,238.0171 | 12,647 |
pythondev | help | no worries | 2019-03-07T14:34:14.017400 | Ashley | pythondev_help_Ashley_2019-03-07T14:34:14.017400 | 1,551,969,254.0174 | 12,648 |
pythondev | help | I found it | 2019-03-07T14:34:15.017600 | Ashley | pythondev_help_Ashley_2019-03-07T14:34:15.017600 | 1,551,969,255.0176 | 12,649 |
pythondev | help | also side note, shinobi runs best on ubuntu/debian, specifically LTS versions | 2019-03-07T14:34:51.018100 | Ashley | pythondev_help_Ashley_2019-03-07T14:34:51.018100 | 1,551,969,291.0181 | 12,650 |
pythondev | help | good thing i already have a vm with specifically ubuntu | 2019-03-07T14:35:15.018800 | Nenita | pythondev_help_Nenita_2019-03-07T14:35:15.018800 | 1,551,969,315.0188 | 12,651 |
pythondev | help | I had problems on ubuntu 18.10, so had to downgrade to 18.04, but that's more a problem with nvidia | 2019-03-07T14:35:18.019000 | Ashley | pythondev_help_Ashley_2019-03-07T14:35:18.019000 | 1,551,969,318.019 | 12,652 |
pythondev | help | nice | 2019-03-07T14:35:26.019200 | Ashley | pythondev_help_Ashley_2019-03-07T14:35:26.019200 | 1,551,969,326.0192 | 12,653 |
pythondev | help | <https://shinobi.video/> | 2019-03-07T14:35:39.019400 | Ashley | pythondev_help_Ashley_2019-03-07T14:35:39.019400 | 1,551,969,339.0194 | 12,654 |
pythondev | help | oh nice, those cameras support 3 streams at once | 2019-03-07T14:38:05.020000 | Ashley | pythondev_help_Ashley_2019-03-07T14:38:05.020000 | 1,551,969,485.02 | 12,655 |
pythondev | help | 3 different quality streams, that is | 2019-03-07T14:38:25.020400 | Ashley | pythondev_help_Ashley_2019-03-07T14:38:25.020400 | 1,551,969,505.0204 | 12,656 |
pythondev | help | have almost no experience but basics in javascript (syntax, etc) what do you think the learning curve for Shinobi will be? I have about a month to try and get something going depending on our investors decision for the utilization of the cameras. | 2019-03-07T14:41:43.022300 | Nenita | pythondev_help_Nenita_2019-03-07T14:41:43.022300 | 1,551,969,703.0223 | 12,657 |
pythondev | help | *having | 2019-03-07T14:41:48.022500 | Nenita | pythondev_help_Nenita_2019-03-07T14:41:48.022500 | 1,551,969,708.0225 | 12,658 |
pythondev | help | I feel super dumb, but can anyone help with this? I’m using pandas. I have one empty dataframe with 12 columns. I have one dataframe with 30k rows that has 8 columns. Those 8 columns are in the first dataframe. I want to insert the data from the second dataframe into the first, with empty values for the 4 columns that don’t exist in the second dataframe but do in the first. What operation would I use on the dataframe? | 2019-03-07T14:43:31.024400 | Esmeralda | pythondev_help_Esmeralda_2019-03-07T14:43:31.024400 | 1,551,969,811.0244 | 12,659 |
pythondev | help | df.append? | 2019-03-07T14:44:10.025200 | Nenita | pythondev_help_Nenita_2019-03-07T14:44:10.025200 | 1,551,969,850.0252 | 12,660 |
pythondev | help | <@Nenita> zero. You don't really need to mess with the JS. Maybe just a couple .json files, which are basically `dict`s | 2019-03-07T14:44:12.025400 | Ashley | pythondev_help_Ashley_2019-03-07T14:44:12.025400 | 1,551,969,852.0254 | 12,661 |
pythondev | help | Sounds bueno | 2019-03-07T14:44:37.025600 | Nenita | pythondev_help_Nenita_2019-03-07T14:44:37.025600 | 1,551,969,877.0256 | 12,662 |
pythondev | help | <https://shinobi.video/docs/start#content-the-ninja-way> | 2019-03-07T14:44:55.025800 | Ashley | pythondev_help_Ashley_2019-03-07T14:44:55.025800 | 1,551,969,895.0258 | 12,663 |
pythondev | help | already had the page up :wink: | 2019-03-07T14:45:21.026600 | Nenita | pythondev_help_Nenita_2019-03-07T14:45:21.026600 | 1,551,969,921.0266 | 12,664 |
pythondev | help | you might want a new VM though, bc it's largely dependent on running in `su` mode | 2019-03-07T14:45:23.026700 | Ashley | pythondev_help_Ashley_2019-03-07T14:45:23.026700 | 1,551,969,923.0267 | 12,665 |
pythondev | help | also, if you hit any snags, you can message me, or join the shinobi discord. The creator is always in there and there's a few folks that help people get it up and running | 2019-03-07T14:47:19.028200 | Ashley | pythondev_help_Ashley_2019-03-07T14:47:19.028200 | 1,551,970,039.0282 | 12,666 |
pythondev | help | <@Esmeralda> You may want to look into concatenate if you're looking to add columns that don't currently exist. | 2019-03-07T14:47:21.028300 | Nenita | pythondev_help_Nenita_2019-03-07T14:47:21.028300 | 1,551,970,041.0283 | 12,667 |
pythondev | help | <@Nenita> I’ll take another look. I had tried concat but it wasn’t returning the correct output | 2019-03-07T14:48:08.029800 | Esmeralda | pythondev_help_Esmeralda_2019-03-07T14:48:08.029800 | 1,551,970,088.0298 | 12,668 |
pythondev | help | <@Ashley> I already have a discord so ill go ahead and check it out. thanks. | 2019-03-07T14:48:08.029900 | Nenita | pythondev_help_Nenita_2019-03-07T14:48:08.029900 | 1,551,970,088.0299 | 12,669 |
pythondev | help | np! | 2019-03-07T14:48:16.030100 | Ashley | pythondev_help_Ashley_2019-03-07T14:48:16.030100 | 1,551,970,096.0301 | 12,670 |
pythondev | help | OK, tearing my hair out with this. I've got a simple sqlite3 connection and I'm running a select query with a single parameter, but it's taking any string passed into it as multiple bindings (for example, `asdf` is interpreted as 4 bindings instead of just 1) ... I'm just doing `c.execute("SELECT * FROM users WHERE username=?", username)` and getting `Incorrect number of bindings supplied. The current statement uses 1, and there are 4 supplied.` ... the number supplied is always the length of the string in "username" | 2019-03-07T15:46:42.031700 | Maybelle | pythondev_help_Maybelle_2019-03-07T15:46:42.031700 | 1,551,973,602.0317 | 12,671 |
pythondev | help | a long shot but do print out what does `type(username)` says before you pass it to the query ? | 2019-03-07T15:49:59.032600 | Eric | pythondev_help_Eric_2019-03-07T15:49:59.032600 | 1,551,973,799.0326 | 12,672 |
pythondev | help | `<class 'str'>` | 2019-03-07T15:50:43.032800 | Maybelle | pythondev_help_Maybelle_2019-03-07T15:50:43.032800 | 1,551,973,843.0328 | 12,673 |
pythondev | help | Maybe it's expecting a tuple/list, so pass `(username,)` as a 1-element tuple? | 2019-03-07T16:01:35.033400 | Sasha | pythondev_help_Sasha_2019-03-07T16:01:35.033400 | 1,551,974,495.0334 | 12,674 |
pythondev | help | OK, that works. I missed where it was set to a tuple in the example I was looking at. Thanks! | 2019-03-07T16:06:39.034000 | Maybelle | pythondev_help_Maybelle_2019-03-07T16:06:39.034000 | 1,551,974,799.034 | 12,675 |
pythondev | help | Can anyone provide an example of how to the the `ftplib` `ftp.transfercmd()`? | 2019-03-07T19:43:41.036600 | Shirley | pythondev_help_Shirley_2019-03-07T19:43:41.036600 | 1,551,987,821.0366 | 12,676 |
pythondev | help | any FTP examples I'm finding online are all using `storlines`, hoping to understand how to utilize the transfercmd | 2019-03-07T19:44:21.037500 | Shirley | pythondev_help_Shirley_2019-03-07T19:44:21.037500 | 1,551,987,861.0375 | 12,677 |
pythondev | help | No errors, looking for feedback.
<https://github.com/paulgureghian/Celsius_to_Fahrenheit/blob/master/Celsius_to_Fahrenheit.ipynb> | 2019-03-07T21:24:49.038200 | Clayton | pythondev_help_Clayton_2019-03-07T21:24:49.038200 | 1,551,993,889.0382 | 12,678 |
pythondev | help | Hi all, I’ve been asked to help write java deployment code. As a guy who leverages pandas a lot, are there any tips to get started? idk if there is even a dataframe obj in java | 2019-03-07T21:39:02.038700 | Janay | pythondev_help_Janay_2019-03-07T21:39:02.038700 | 1,551,994,742.0387 | 12,679 |
pythondev | help | not sure where to ask this, maybe devops would be better? im debating switching a project over to using pipenv. seems there is a lot of hubub around how pipenv creates virtual environments. i was kinda hoping it would work similar to npm where all your dependencies are installed in a project directory ie node_modules, but it doesnt seem to work this way. Do people find pipenv better with dependency management than just using a plain setup file or requirements file, or have people encountered issues with pipenvs virtual environments | 2019-03-07T23:39:04.042200 | Caridad | pythondev_help_Caridad_2019-03-07T23:39:04.042200 | 1,552,001,944.0422 | 12,680 |
pythondev | help | Hello | 2019-03-07T23:39:55.042800 | Jana | pythondev_help_Jana_2019-03-07T23:39:55.042800 | 1,552,001,995.0428 | 12,681 |
pythondev | help | I have a question. Is it possible to make private source file in module? | 2019-03-07T23:41:02.043800 | Jana | pythondev_help_Jana_2019-03-07T23:41:02.043800 | 1,552,002,062.0438 | 12,682 |
pythondev | help | Private from whom? | 2019-03-07T23:45:56.044300 | Sasha | pythondev_help_Sasha_2019-03-07T23:45:56.044300 | 1,552,002,356.0443 | 12,683 |
pythondev | help | For example, if the module has below structure:
-- module - __init__.py
a.py
b.py
I want to export just a.py not b.py. Can I? | 2019-03-07T23:48:29.046200 | Jana | pythondev_help_Jana_2019-03-07T23:48:29.046200 | 1,552,002,509.0462 | 12,684 |
pythondev | help | b.py is used in a.py source file. | 2019-03-07T23:49:08.046900 | Jana | pythondev_help_Jana_2019-03-07T23:49:08.046900 | 1,552,002,548.0469 | 12,685 |
pythondev | help | hey guys sorry to bother you guys , but can anyone show me how to create an observable of bytes | 2019-03-07T23:56:28.048500 | Katie | pythondev_help_Katie_2019-03-07T23:56:28.048500 | 1,552,002,988.0485 | 12,686 |
pythondev | help | I am getting data from a socket and was wondering what I can do ? im using python 2.7 | 2019-03-07T23:56:52.049200 | Katie | pythondev_help_Katie_2019-03-07T23:56:52.049200 | 1,552,003,012.0492 | 12,687 |
pythondev | help | hey guys | 2019-03-08T02:40:37.049900 | Natosha | pythondev_help_Natosha_2019-03-08T02:40:37.049900 | 1,552,012,837.0499 | 12,688 |
pythondev | help | good day | 2019-03-08T02:40:39.050200 | Natosha | pythondev_help_Natosha_2019-03-08T02:40:39.050200 | 1,552,012,839.0502 | 12,689 |
pythondev | help | is it possible to read a Windows file from Linux using python? | 2019-03-08T02:41:38.051200 | Natosha | pythondev_help_Natosha_2019-03-08T02:41:38.051200 | 1,552,012,898.0512 | 12,690 |
pythondev | help | depends, could you elaborate ? | 2019-03-08T03:25:21.052200 | Eric | pythondev_help_Eric_2019-03-08T03:25:21.052200 | 1,552,015,521.0522 | 12,691 |
pythondev | help | on short, answer is yes.. there's nothing that prevents "reading windows files" in python / linux, if the file accessible somehow. Another question is if the file actually resides in windows partition, you need to mount the partition first and depending on your linux and what filesystem that partition is, it might be problematic but that part has nothing to do with python itself. | 2019-03-08T03:40:46.055700 | Eric | pythondev_help_Eric_2019-03-08T03:40:46.055700 | 1,552,016,446.0557 | 12,692 |
pythondev | help | thanks <@Eric> | 2019-03-08T04:35:25.056400 | Natosha | pythondev_help_Natosha_2019-03-08T04:35:25.056400 | 1,552,019,725.0564 | 12,693 |
pythondev | help | can you suggest a library that I can use for that scenario? | 2019-03-08T04:36:13.057200 | Natosha | pythondev_help_Natosha_2019-03-08T04:36:13.057200 | 1,552,019,773.0572 | 12,694 |
pythondev | help | for which scenario ? | 2019-03-08T04:36:29.057700 | Eric | pythondev_help_Eric_2019-03-08T04:36:29.057700 | 1,552,019,789.0577 | 12,695 |
pythondev | help | for reading a file or for mounting ? i dont think you should rely on a library but properly configure your system .. | 2019-03-08T04:39:20.058400 | Eric | pythondev_help_Eric_2019-03-08T04:39:20.058400 | 1,552,019,960.0584 | 12,696 |
pythondev | help | for reading a file | 2019-03-08T04:41:03.058600 | Natosha | pythondev_help_Natosha_2019-03-08T04:41:03.058600 | 1,552,020,063.0586 | 12,697 |
pythondev | help | i did some research and I found pysmb | 2019-03-08T04:41:22.059100 | Natosha | pythondev_help_Natosha_2019-03-08T04:41:22.059100 | 1,552,020,082.0591 | 12,698 |
pythondev | help | can I use that or is there anything else you can recommend? | 2019-03-08T04:42:26.060500 | Natosha | pythondev_help_Natosha_2019-03-08T04:42:26.060500 | 1,552,020,146.0605 | 12,699 |
pythondev | help | that is easier | 2019-03-08T04:45:34.060900 | Natosha | pythondev_help_Natosha_2019-03-08T04:45:34.060900 | 1,552,020,334.0609 | 12,700 |
pythondev | help | The Easiest way is to mount first in OS level and then reading can be done without any external libs. | 2019-03-08T04:51:37.062800 | Eric | pythondev_help_Eric_2019-03-08T04:51:37.062800 | 1,552,020,697.0628 | 12,701 |
pythondev | help | But then again, your question is still a bit vague. | 2019-03-08T04:52:42.063600 | Eric | pythondev_help_Eric_2019-03-08T04:52:42.063600 | 1,552,020,762.0636 | 12,702 |
pythondev | help | oh sorry, what I'm planning to do is to deploy my script on a Linux environment(because I find cron works better than windows task scheduler) but the problem is the file that I need to read is in Windows environment the reason why is that from time to time an end user will have to update the excel file | 2019-03-08T05:10:05.069100 | Natosha | pythondev_help_Natosha_2019-03-08T05:10:05.069100 | 1,552,021,805.0691 | 12,703 |
pythondev | help | And your windows env is a separate computer ? | 2019-03-08T05:31:09.069700 | Eric | pythondev_help_Eric_2019-03-08T05:31:09.069700 | 1,552,023,069.0697 | 12,704 |
pythondev | help | yes but same network | 2019-03-08T05:48:13.070000 | Natosha | pythondev_help_Natosha_2019-03-08T05:48:13.070000 | 1,552,024,093.07 | 12,705 |
pythondev | help | Set up a network share on the linux server and mount that on the windows machines? | 2019-03-08T06:04:40.070400 | Yaeko | pythondev_help_Yaeko_2019-03-08T06:04:40.070400 | 1,552,025,080.0704 | 12,706 |
pythondev | help | That way you will have easy access to the file for scripting (and backup/version control/whatever you need) while the windows users can edit it as they want | 2019-03-08T06:05:10.071100 | Yaeko | pythondev_help_Yaeko_2019-03-08T06:05:10.071100 | 1,552,025,110.0711 | 12,707 |
pythondev | help | Additional advantage is that multiple windows machines can the edit the file as well. | 2019-03-08T06:06:04.072000 | Yaeko | pythondev_help_Yaeko_2019-03-08T06:06:04.072000 | 1,552,025,164.072 | 12,708 |
pythondev | help | Can someone give some idea how to write a code for packet rerouting using python? Thanks in advance | 2019-03-08T06:43:52.074200 | Elisha | pythondev_help_Elisha_2019-03-08T06:43:52.074200 | 1,552,027,432.0742 | 12,709 |
pythondev | help | I have used `subprocess` to open a program (.exe) but I want the code to stop running after it, but it keeps running.
My code is like as follows;
```
subprocess.run("C:\Program Files (x86)\Sec\Client.exe")
```
This works fine, but then the code isn't finished, I tried to follow this <https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess>
but it is still not working | 2019-03-08T09:49:47.077300 | Arturo | pythondev_help_Arturo_2019-03-08T09:49:47.077300 | 1,552,038,587.0773 | 12,710 |
pythondev | help | had to use `subprocess.Popen` instead | 2019-03-08T10:04:26.077900 | Arturo | pythondev_help_Arturo_2019-03-08T10:04:26.077900 | 1,552,039,466.0779 | 12,711 |
pythondev | help | I need to create a multi-string along with a third party library (Troposphere to create a CloudFormation template). I want to replace the `${ClusterName}` with the `eks_cluster_name` parameter. But it is constantly giving me error. How can I fix that? | 2019-03-08T13:55:02.079200 | Carlota | pythondev_help_Carlota_2019-03-08T13:55:02.079200 | 1,552,053,302.0792 | 12,712 |
pythondev | help | I thought I could do the following:
```s = """\
... #!/bin/bash
... set -o xtrace
... /etc/eks/bootstrap.sh {clustername} ${BootstrapArguments}
... """.format(clustername=cluster)```
but it fails because of the `BootstrapArguments`, | 2019-03-08T13:57:42.080000 | Carlota | pythondev_help_Carlota_2019-03-08T13:57:42.080000 | 1,552,053,462.08 | 12,713 |
pythondev | help | I don't see where you're using the `eks_cluster_name` variable at all. | 2019-03-08T13:58:32.080500 | Sasha | pythondev_help_Sasha_2019-03-08T13:58:32.080500 | 1,552,053,512.0805 | 12,714 |
pythondev | help | sorry <@Sasha> did not noticed that I pasted the “current” code. This is the code that I tried to use but it is failing because of the `BoostrapArguments`. | 2019-03-08T14:01:06.081300 | Carlota | pythondev_help_Carlota_2019-03-08T14:01:06.081300 | 1,552,053,666.0813 | 12,715 |
pythondev | help | So if I understand you correctly, you want to have `format()` substitute for one set of braces, but leave the others alone? | 2019-03-08T14:02:51.082200 | Sasha | pythondev_help_Sasha_2019-03-08T14:02:51.082200 | 1,552,053,771.0822 | 12,716 |
pythondev | help | that’s correct! | 2019-03-08T14:03:03.082500 | Carlota | pythondev_help_Carlota_2019-03-08T14:03:03.082500 | 1,552,053,783.0825 | 12,717 |
pythondev | help | I'd construct the string in two pieces, then. | 2019-03-08T14:03:26.083300 | Sasha | pythondev_help_Sasha_2019-03-08T14:03:26.083300 | 1,552,053,806.0833 | 12,718 |
pythondev | help | I need to let the other ones like `${BootstrapArguments}` because those will be _substituted_ by the `Sub` Troposphere lib. | 2019-03-08T14:03:41.083700 | Carlota | pythondev_help_Carlota_2019-03-08T14:03:41.083700 | 1,552,053,821.0837 | 12,719 |
pythondev | help | Alternately, you can use old-style string formatting with `%s` instead of braces. | 2019-03-08T14:04:50.084500 | Sasha | pythondev_help_Sasha_2019-03-08T14:04:50.084500 | 1,552,053,890.0845 | 12,720 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.