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 | My use case is i dont have access to a node, so it be nice to hit the api deployed to that node to retrieve some logs | 2018-03-02T18:32:58.000203 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:32:58.000203 | 1,520,015,578.000203 | 37,024 |
pythondev | help | why not use a log aggregator? | 2018-03-02T18:33:11.000313 | Floy | pythondev_help_Floy_2018-03-02T18:33:11.000313 | 1,520,015,591.000313 | 37,025 |
pythondev | help | like logstash | 2018-03-02T18:33:16.000076 | Floy | pythondev_help_Floy_2018-03-02T18:33:16.000076 | 1,520,015,596.000076 | 37,026 |
pythondev | help | <https://www.elastic.co/products/logstash> | 2018-03-02T18:33:41.000045 | Floy | pythondev_help_Floy_2018-03-02T18:33:41.000045 | 1,520,015,621.000045 | 37,027 |
pythondev | help | we do, but the use case is for example, for one of our automation test suites, i deploy an api to a kubernetes node run some tests than tear down the Kube instance | 2018-03-02T18:33:58.000237 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:33:58.000237 | 1,520,015,638.000237 | 37,028 |
pythondev | help | it be nice at the same time to hit the api endpoint meanwhile while the kube node is up and retieve some logs | 2018-03-02T18:34:20.000337 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:34:20.000337 | 1,520,015,660.000337 | 37,029 |
pythondev | help | But yes I know i can forward logs to logstash, or splunk, sumologic..etc.. or anything | 2018-03-02T18:34:35.000087 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:34:35.000087 | 1,520,015,675.000087 | 37,030 |
pythondev | help | Why not have your kube instance post the logs to s3 when teardown starts? | 2018-03-02T18:37:53.000220 | Floy | pythondev_help_Floy_2018-03-02T18:37:53.000220 | 1,520,015,873.00022 | 37,031 |
pythondev | help | That way you don't have to worry about exposing a security risk | 2018-03-02T18:38:36.000228 | Floy | pythondev_help_Floy_2018-03-02T18:38:36.000228 | 1,520,015,916.000228 | 37,032 |
pythondev | help | thats a good point also. | 2018-03-02T18:41:49.000048 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:41:49.000048 | 1,520,016,109.000048 | 37,033 |
pythondev | help | hmmm. | 2018-03-02T18:42:42.000299 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:42:42.000299 | 1,520,016,162.000299 | 37,034 |
pythondev | help | so I assume <@Floy> the api endpoint is or should be last resort | 2018-03-02T18:43:03.000037 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:43:03.000037 | 1,520,016,183.000037 | 37,035 |
pythondev | help | I like the S3 idea | 2018-03-02T18:43:08.000128 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:43:08.000128 | 1,520,016,188.000128 | 37,036 |
pythondev | help | Yeah, very much so. After all, you're opening a hole to your app logs, and those are high value to any attacker | 2018-03-02T18:45:37.000061 | Floy | pythondev_help_Floy_2018-03-02T18:45:37.000061 | 1,520,016,337.000061 | 37,037 |
pythondev | help | <@Floy> 100% you are right :100: % I agree | 2018-03-02T18:46:01.000178 | Kelsey | pythondev_help_Kelsey_2018-03-02T18:46:01.000178 | 1,520,016,361.000178 | 37,038 |
pythondev | help | there was a tool to generate sqlalchemy core compatible table definitions by looking at an existing db and write those to a file. and I cant seem to find it. There is `sqlacodegen` which will spit out orm style classes. but i want to use the core syntax | 2018-03-02T23:02:48.000008 | Heriberto | pythondev_help_Heriberto_2018-03-02T23:02:48.000008 | 1,520,031,768.000008 | 37,039 |
pythondev | help | I wan to create table in database using sqlalchemy but getting error so please look that file to help (<https://gist.github.com/jhamlal/16aa588e15dba19a6aef2ee19f14c909>) | 2018-03-03T04:13:18.000035 | Vinita | pythondev_help_Vinita_2018-03-03T04:13:18.000035 | 1,520,050,398.000035 | 37,040 |
pythondev | help | I recently released an app that uses some python scripts, I thought I could ship it with python inside so the user wouldn't need to install it. My instinct was to make a virtualenv But that doesn't seem to work : <https://github.com/oumad/proton-io/issues/5> | 2018-03-03T04:19:33.000078 | Forrest | pythondev_help_Forrest_2018-03-03T04:19:33.000078 | 1,520,050,773.000078 | 37,041 |
pythondev | help | Any better way to ship my app with python in it ? (on windows for now) | 2018-03-03T04:19:50.000058 | Forrest | pythondev_help_Forrest_2018-03-03T04:19:50.000058 | 1,520,050,790.000058 | 37,042 |
pythondev | help | I have a big list a =[1,2,3,4,5,6,7,8,9,10,.....] I want to print sum of 4index eg sum of a(0) till a(4) then sum of a(5) till a(9),,, like wise. how can i do this inside loop ? | 2018-03-03T04:51:20.000039 | Refugia | pythondev_help_Refugia_2018-03-03T04:51:20.000039 | 1,520,052,680.000039 | 37,043 |
pythondev | help | where (l=List) | 2018-03-03T05:00:35.000018 | Vinita | pythondev_help_Vinita_2018-03-03T05:00:35.000018 | 1,520,053,235.000018 | 37,044 |
pythondev | help | thats would just print it, not sum it. There is sum() function, but i m trying to see how could i use it in loop for long list | 2018-03-03T05:01:43.000005 | Refugia | pythondev_help_Refugia_2018-03-03T05:01:43.000005 | 1,520,053,303.000005 | 37,045 |
pythondev | help | 1+2+3+4=10 | 2018-03-03T05:02:10.000045 | Refugia | pythondev_help_Refugia_2018-03-03T05:02:10.000045 | 1,520,053,330.000045 | 37,046 |
pythondev | help | would be the first output for sum of four indexs | 2018-03-03T05:02:30.000009 | Refugia | pythondev_help_Refugia_2018-03-03T05:02:30.000009 | 1,520,053,350.000009 | 37,047 |
pythondev | help | similarly for nex four indexes 5+6+7+8=26 | 2018-03-03T05:02:55.000011 | Refugia | pythondev_help_Refugia_2018-03-03T05:02:55.000011 | 1,520,053,375.000011 | 37,048 |
pythondev | help | I'm a newbie, but this is how I tackled your problem : | 2018-03-03T05:03:22.000026 | Forrest | pythondev_help_Forrest_2018-03-03T05:03:22.000026 | 1,520,053,402.000026 | 37,049 |
pythondev | help | uhmmm seems it's not exactly what you want, now that I look at it xD | 2018-03-03T05:04:59.000043 | Forrest | pythondev_help_Forrest_2018-03-03T05:04:59.000043 | 1,520,053,499.000043 | 37,050 |
pythondev | help | that wont be practicle, since my code has list having 1000s of indexs and i would be doing some of 48index together. only for example i took smaller sample | 2018-03-03T05:05:26.000002 | Refugia | pythondev_help_Refugia_2018-03-03T05:05:26.000002 | 1,520,053,526.000002 | 37,051 |
pythondev | help | that would work, however i think there is sum(list) function, but i m not able to find how to make loop with index number | 2018-03-03T05:26:35.000086 | Refugia | pythondev_help_Refugia_2018-03-03T05:26:35.000086 | 1,520,054,795.000086 | 37,052 |
pythondev | help | <@Refugia> to very precise sum(l[3:10]) (Here l is list and [start_of index:end of index]) | 2018-03-03T05:43:14.000012 | Vinita | pythondev_help_Vinita_2018-03-03T05:43:14.000012 | 1,520,055,794.000012 | 37,053 |
pythondev | help | great thanks shankar, i bit suprised it doesnt give any error if i put any idex that is out of range | 2018-03-03T05:44:29.000038 | Refugia | pythondev_help_Refugia_2018-03-03T05:44:29.000038 | 1,520,055,869.000038 | 37,054 |
pythondev | help | <@Refugia> what it does when you give value out of index value it only calculate at the end,no matter what you put. | 2018-03-03T06:07:43.000080 | Vinita | pythondev_help_Vinita_2018-03-03T06:07:43.000080 | 1,520,057,263.00008 | 37,055 |
pythondev | help | just testing with sum of two indexes | 2018-03-03T06:14:03.000012 | Refugia | pythondev_help_Refugia_2018-03-03T06:14:03.000012 | 1,520,057,643.000012 | 37,056 |
pythondev | help | <@Forrest> you need to look into packaging that would allow you to create an executable | 2018-03-03T06:48:21.000038 | Floy | pythondev_help_Floy_2018-03-03T06:48:21.000038 | 1,520,059,701.000038 | 37,057 |
pythondev | help | eg, pyinstaller, py2exe | 2018-03-03T06:48:28.000051 | Floy | pythondev_help_Floy_2018-03-03T06:48:28.000051 | 1,520,059,708.000051 | 37,058 |
pythondev | help | <@Floy> that's useful to "compile" python scripts to be executed without python interpreter, but what I want is the opposite, I want python interpreter to be included in my app so it will be used to execute scripts directly like you would usually do using python as the process, as u had python installed. | 2018-03-03T07:00:23.000090 | Forrest | pythondev_help_Forrest_2018-03-03T07:00:23.000090 | 1,520,060,423.00009 | 37,059 |
pythondev | help | ok, but do you know of how you are going to handle things such as application uninstallation/deletion? Are you just going to have that executable sit on your user’s machine? | 2018-03-03T07:03:15.000071 | Floy | pythondev_help_Floy_2018-03-03T07:03:15.000071 | 1,520,060,595.000071 | 37,060 |
pythondev | help | regardless, seems to me you’re going about this the wrong way | 2018-03-03T07:03:27.000142 | Floy | pythondev_help_Floy_2018-03-03T07:03:27.000142 | 1,520,060,607.000142 | 37,061 |
pythondev | help | <@Floy> I don't really know, that's why I'm asking. This video demonstrates usage of my app, this might help you understand what I try to achieve : <https://youtu.be/N8RxDqzC0CM> | 2018-03-03T07:04:33.000003 | Forrest | pythondev_help_Forrest_2018-03-03T07:04:33.000003 | 1,520,060,673.000003 | 37,062 |
pythondev | help | the tool is basically a quick access menu to execute scripts, and I shipped it with some scripts already, most of them python ones, and I wanted them to work without the user needing to install python, and also for the user to be able to add his own python scripts too. | 2018-03-03T07:05:40.000049 | Forrest | pythondev_help_Forrest_2018-03-03T07:05:40.000049 | 1,520,060,740.000049 | 37,063 |
pythondev | help | ok. regardless, I would create an executable with those two projects suggested above. lower complexity, lower requirements and an established workflow to release your application are significant benefits compared to rolling your own solution | 2018-03-03T07:06:02.000071 | Floy | pythondev_help_Floy_2018-03-03T07:06:02.000071 | 1,520,060,762.000071 | 37,064 |
pythondev | help | an executable for each single python script ? | 2018-03-03T07:06:39.000041 | Forrest | pythondev_help_Forrest_2018-03-03T07:06:39.000041 | 1,520,060,799.000041 | 37,065 |
pythondev | help | why not make a package for the entire project | 2018-03-03T07:06:57.000026 | Floy | pythondev_help_Floy_2018-03-03T07:06:57.000026 | 1,520,060,817.000026 | 37,066 |
pythondev | help | make it installable | 2018-03-03T07:07:00.000007 | Floy | pythondev_help_Floy_2018-03-03T07:07:00.000007 | 1,520,060,820.000007 | 37,067 |
pythondev | help | and have the executable call the scripts that are required | 2018-03-03T07:07:16.000033 | Floy | pythondev_help_Floy_2018-03-03T07:07:16.000033 | 1,520,060,836.000033 | 37,068 |
pythondev | help | this doesn't solve the problem of users bein able to add their own python scripts. What I try to make is something that's been made easily before by other applications such as Autodesk maya, houdini, thinkbox deadline .... | 2018-03-03T07:07:25.000034 | Forrest | pythondev_help_Forrest_2018-03-03T07:07:25.000034 | 1,520,060,845.000034 | 37,069 |
pythondev | help | they all have python inside them which u can even use if u don't have python installed | 2018-03-03T07:07:37.000022 | Forrest | pythondev_help_Forrest_2018-03-03T07:07:37.000022 | 1,520,060,857.000022 | 37,070 |
pythondev | help | I packaged my project : <https://github.com/oumad/proton-io/releases> | 2018-03-03T07:08:18.000135 | Forrest | pythondev_help_Forrest_2018-03-03T07:08:18.000135 | 1,520,060,898.000135 | 37,071 |
pythondev | help | but it's not a python project ^^' | 2018-03-03T07:08:26.000060 | Forrest | pythondev_help_Forrest_2018-03-03T07:08:26.000060 | 1,520,060,906.00006 | 37,072 |
pythondev | help | it does have python scripts tho | 2018-03-03T07:08:33.000061 | Forrest | pythondev_help_Forrest_2018-03-03T07:08:33.000061 | 1,520,060,913.000061 | 37,073 |
pythondev | help | so, OSX has something similar | 2018-03-03T07:08:56.000067 | Floy | pythondev_help_Floy_2018-03-03T07:08:56.000067 | 1,520,060,936.000067 | 37,074 |
pythondev | help | <https://github.com/matryer/bitbar> | 2018-03-03T07:08:57.000040 | Floy | pythondev_help_Floy_2018-03-03T07:08:57.000040 | 1,520,060,937.00004 | 37,075 |
pythondev | help | can use python, php, and other languages | 2018-03-03T07:09:18.000049 | Floy | pythondev_help_Floy_2018-03-03T07:09:18.000049 | 1,520,060,958.000049 | 37,076 |
pythondev | help | thing is, if you’re using a script that’s supposed to be executable without bundling, you should look at how to have it run without doing `python ....` in the cli | 2018-03-03T07:10:14.000070 | Floy | pythondev_help_Floy_2018-03-03T07:10:14.000070 | 1,520,061,014.00007 | 37,077 |
pythondev | help | <https://docs.python.org/3/using/windows.html#shebang-lines> | 2018-03-03T07:10:52.000002 | Floy | pythondev_help_Floy_2018-03-03T07:10:52.000002 | 1,520,061,052.000002 | 37,078 |
pythondev | help | Hi. I am using Tkinter module to write a GUI application. I have a problem however. | 2018-03-03T07:27:54.000014 | Myung | pythondev_help_Myung_2018-03-03T07:27:54.000014 | 1,520,062,074.000014 | 37,079 |
pythondev | help | class first_page(<http://tk.Tk|tk.Tk>):
def __init__(self, master):
self.master = master
self.frame = ttk.Frame(self.master, padding=(112, 112, 112, 112))
self.button1 = tk.Button(self.frame, text=first_page_welcome, command=self.new_window)
self.button1.pack()
self.frame.pac... | 2018-03-03T07:28:40.000063 | Myung | pythondev_help_Myung_2018-03-03T07:28:40.000063 | 1,520,062,120.000063 | 37,080 |
pythondev | help | in this particular instance I cannot change the title of the frame. which otherwise can be done with :
root = tk,Tk()
root.title("Title") | 2018-03-03T07:30:28.000068 | Myung | pythondev_help_Myung_2018-03-03T07:30:28.000068 | 1,520,062,228.000068 | 37,081 |
pythondev | help | How do you suggest I do this. I am fairly new to OOPs. Any help would be appreciated. | 2018-03-03T07:31:10.000074 | Myung | pythondev_help_Myung_2018-03-03T07:31:10.000074 | 1,520,062,270.000074 | 37,082 |
pythondev | help | <@Floy> Thanks, bitbar seems to be cool too! | 2018-03-03T08:46:09.000020 | Forrest | pythondev_help_Forrest_2018-03-03T08:46:09.000020 | 1,520,066,769.00002 | 37,083 |
pythondev | help | I like it too, and one of the things it does is it just puts in a download location | 2018-03-03T08:46:35.000027 | Floy | pythondev_help_Floy_2018-03-03T08:46:35.000027 | 1,520,066,795.000027 | 37,084 |
pythondev | help | where you deposit the scripts | 2018-03-03T08:46:41.000010 | Floy | pythondev_help_Floy_2018-03-03T08:46:41.000010 | 1,520,066,801.00001 | 37,085 |
pythondev | help | actually I'm hoping someday to be able to put some kind of a repository or an npm like possibility for people to install other scripts. Ofcourse my tool needs to be used by more people first XD | 2018-03-03T08:47:24.000046 | Forrest | pythondev_help_Forrest_2018-03-03T08:47:24.000046 | 1,520,066,844.000046 | 37,086 |
pythondev | help | for example, you have this bitbar plugin for anaconda environments in python | 2018-03-03T08:49:14.000090 | Floy | pythondev_help_Floy_2018-03-03T08:49:14.000090 | 1,520,066,954.00009 | 37,087 |
pythondev | help | <https://github.com/matryer/bitbar-plugins/blob/master/Environment/conda-envs.15m.py> | 2018-03-03T08:49:15.000043 | Floy | pythondev_help_Floy_2018-03-03T08:49:15.000043 | 1,520,066,955.000043 | 37,088 |
pythondev | help | note `#!/usr/bin/env python` at the top | 2018-03-03T08:49:29.000083 | Floy | pythondev_help_Floy_2018-03-03T08:49:29.000083 | 1,520,066,969.000083 | 37,089 |
pythondev | help | yeh what's that ? | 2018-03-03T08:49:48.000094 | Forrest | pythondev_help_Forrest_2018-03-03T08:49:48.000094 | 1,520,066,988.000094 | 37,090 |
pythondev | help | virtual environement ? | 2018-03-03T08:49:54.000003 | Forrest | pythondev_help_Forrest_2018-03-03T08:49:54.000003 | 1,520,066,994.000003 | 37,091 |
pythondev | help | nope | 2018-03-03T08:50:18.000020 | Floy | pythondev_help_Floy_2018-03-03T08:50:18.000020 | 1,520,067,018.00002 | 37,092 |
pythondev | help | requires python to be installed on the system | 2018-03-03T08:50:29.000050 | Floy | pythondev_help_Floy_2018-03-03T08:50:29.000050 | 1,520,067,029.00005 | 37,093 |
pythondev | help | and its called a shebang | 2018-03-03T08:50:35.000018 | Floy | pythondev_help_Floy_2018-03-03T08:50:35.000018 | 1,520,067,035.000018 | 37,094 |
pythondev | help | allows the operating system to run it directly | 2018-03-03T08:50:56.000063 | Floy | pythondev_help_Floy_2018-03-03T08:50:56.000063 | 1,520,067,056.000063 | 37,095 |
pythondev | help | tells it that it needs to use this path to an environment, in this case, python to execute everything in this script | 2018-03-03T08:51:23.000114 | Floy | pythondev_help_Floy_2018-03-03T08:51:23.000114 | 1,520,067,083.000114 | 37,096 |
pythondev | help | <https://stackoverflow.com/questions/7574453/shebang-notation-python-scripts-on-windows-and-linux> | 2018-03-03T08:51:53.000011 | Floy | pythondev_help_Floy_2018-03-03T08:51:53.000011 | 1,520,067,113.000011 | 37,097 |
pythondev | help | api_basevolume_sheet.cell(row = 1, column= col + 14).value = ticker_list_return[index] - ticker_list_return[index+offset]
TypeError: unsupported operand type(s) for -: 'str' and 'str' | 2018-03-03T10:36:29.000038 | Refugia | pythondev_help_Refugia_2018-03-03T10:36:29.000038 | 1,520,073,389.000038 | 37,098 |
pythondev | help | I am getting this error while writing two values into cell separated by hyphen. is there altnerte way to print two values in single cell with hyphen ? | 2018-03-03T10:37:28.000115 | Refugia | pythondev_help_Refugia_2018-03-03T10:37:28.000115 | 1,520,073,448.000115 | 37,099 |
pythondev | help | <@Refugia> You've got 2 strings in ticker_list_return. Python's error'ing because it's confused on how exactly you want it to subtract 2 strings. | 2018-03-03T11:04:36.000146 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:04:36.000146 | 1,520,075,076.000146 | 37,100 |
pythondev | help | Without quotes, you're performing subtraction. You probably wanted `'-'.join([ticker_list_return[index], ticker_list_return[index+offset]])` | 2018-03-03T11:05:36.000015 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:05:36.000015 | 1,520,075,136.000015 | 37,101 |
pythondev | help | worked like charm. thanks <@Lynnette> | 2018-03-03T11:11:19.000115 | Refugia | pythondev_help_Refugia_2018-03-03T11:11:19.000115 | 1,520,075,479.000115 | 37,102 |
pythondev | help | Note, you could also do the simplier string concatenation: `ticker_list_return[index] + "-" + ticker_list_return[index+offset]`, but this method has several advantages over string concatenation. | 2018-03-03T11:12:16.000103 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:12:16.000103 | 1,520,075,536.000103 | 37,103 |
pythondev | help | notably, it handle more than just strings. It also handles int, floats, etc. | 2018-03-03T11:12:28.000120 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:12:28.000120 | 1,520,075,548.00012 | 37,104 |
pythondev | help | get in the habit of using string joining. it's safer and sexier. | 2018-03-03T11:12:53.000109 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:12:53.000109 | 1,520,075,573.000109 | 37,105 |
pythondev | help | wow | 2018-03-03T11:14:05.000002 | Refugia | pythondev_help_Refugia_2018-03-03T11:14:05.000002 | 1,520,075,645.000002 | 37,106 |
pythondev | help | api_basevolume_sheet.cell(row = market + 2, column= col + 14).value = sum(base_volume_listoflist_return[index:index+offset])
TypeError: unsupported operand type(s) for +: 'int' and 'list' | 2018-03-03T11:14:13.000099 | Refugia | pythondev_help_Refugia_2018-03-03T11:14:13.000099 | 1,520,075,653.000099 | 37,107 |
pythondev | help | i am doing sum of index values for list | 2018-03-03T11:14:38.000034 | Refugia | pythondev_help_Refugia_2018-03-03T11:14:38.000034 | 1,520,075,678.000034 | 37,108 |
pythondev | help | and got this error | 2018-03-03T11:14:45.000033 | Refugia | pythondev_help_Refugia_2018-03-03T11:14:45.000033 | 1,520,075,685.000033 | 37,109 |
pythondev | help | I assume you're processing some sort of excel file, probably using openpyxl or something? | 2018-03-03T11:14:59.000136 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:14:59.000136 | 1,520,075,699.000136 | 37,110 |
pythondev | help | yes openpyxl | 2018-03-03T11:15:23.000020 | Refugia | pythondev_help_Refugia_2018-03-03T11:15:23.000020 | 1,520,075,723.00002 | 37,111 |
pythondev | help | openpyxl, and many other libraries don't always just return text. You can't assume what you're getting back is a string. | 2018-03-03T11:15:45.000007 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:15:45.000007 | 1,520,075,745.000007 | 37,112 |
pythondev | help | excel 2013+ formats allow for typing of a datacell now. So, it might come back to you as something other than what you expected. | 2018-03-03T11:16:29.000057 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:16:29.000057 | 1,520,075,789.000057 | 37,113 |
pythondev | help | its sum of float values i have in the list | 2018-03-03T11:17:23.000108 | Refugia | pythondev_help_Refugia_2018-03-03T11:17:23.000108 | 1,520,075,843.000108 | 37,114 |
pythondev | help | also, when pasting code into slack, can you surround your code with backticks? It helps format it nicer, and is easier to read. | 2018-03-03T11:17:42.000057 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:17:42.000057 | 1,520,075,862.000057 | 37,115 |
pythondev | help | i m running loop to print different range of list, let me share the code | 2018-03-03T11:17:50.000052 | Refugia | pythondev_help_Refugia_2018-03-03T11:17:50.000052 | 1,520,075,870.000052 | 37,116 |
pythondev | help | just ignore the int(offset) part, as i have made it int in the declaratin step it self | 2018-03-03T11:20:16.000017 | Refugia | pythondev_help_Refugia_2018-03-03T11:20:16.000017 | 1,520,076,016.000017 | 37,117 |
pythondev | help | Yeah, python's built-in range doesn't do "offsets". It does steps, which is different. | 2018-03-03T11:20:50.000118 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:20:50.000118 | 1,520,076,050.000118 | 37,118 |
pythondev | help | Also, why are you accessing things using the index position? This isn't a database, or c++. | 2018-03-03T11:21:19.000045 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:21:19.000045 | 1,520,076,079.000045 | 37,119 |
pythondev | help | sorry offset is the name of variable i choose :smile: | 2018-03-03T11:21:21.000134 | Refugia | pythondev_help_Refugia_2018-03-03T11:21:21.000134 | 1,520,076,081.000134 | 37,120 |
pythondev | help | You can just loop over the rows/columns directly | 2018-03-03T11:21:32.000142 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:21:32.000142 | 1,520,076,092.000142 | 37,121 |
pythondev | help | and if you need to keep track of what row/column you're in, you can use the built-in `enumerate` | 2018-03-03T11:22:02.000034 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:22:02.000034 | 1,520,076,122.000034 | 37,122 |
pythondev | help | But that's for another day :slightly_smiling_face: | 2018-03-03T11:22:39.000065 | Lynnette | pythondev_help_Lynnette_2018-03-03T11:22:39.000065 | 1,520,076,159.000065 | 37,123 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.