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
and i've thought python was almost flawless :sweat_smile:
2019-05-22T05:01:44.459100
Shizuko
pythondev_help_Shizuko_2019-05-22T05:01:44.459100
1,558,501,304.4591
24,721
pythondev
help
i'd say automate the boring stuff with python by Al Sweigart is a great choice ! :grin: <@Carlena>
2019-05-22T05:06:48.460100
Shizuko
pythondev_help_Shizuko_2019-05-22T05:06:48.460100
1,558,501,608.4601
24,722
pythondev
help
Folks, before I ask questions on how to learn Python, can I ask what is the scope of landing a 'newbie' python dev role for someone with no prior coding experience (But 10 yrs in Linux Admin), in London?
2019-05-22T05:10:29.461400
Raphael
pythondev_help_Raphael_2019-05-22T05:10:29.461400
1,558,501,829.4614
24,723
pythondev
help
I'd probably focus on trying to find a DevOps role
2019-05-22T05:13:04.463100
Karoline
pythondev_help_Karoline_2019-05-22T05:13:04.463100
1,558,501,984.4631
24,724
pythondev
help
and then see if they'll let you work on the product as well a bit
2019-05-22T05:13:21.463600
Karoline
pythondev_help_Karoline_2019-05-22T05:13:21.463600
1,558,502,001.4636
24,725
pythondev
help
This message was deleted.
2019-05-22T05:17:01.465900
Alejandrina
pythondev_help_Alejandrina_2019-05-22T05:17:01.465900
1,558,502,221.4659
24,726
pythondev
help
There are a couple of solutions: 1) teach your microservice to paginate results, or 2) use streaming json parser, like <https://pypi.org/project/ijson/>
2019-05-22T05:22:00.466800
Chester
pythondev_help_Chester_2019-05-22T05:22:00.466800
1,558,502,520.4668
24,727
pythondev
help
<@Palma> please, don't cross-post your question
2019-05-22T05:22:25.467400
Chester
pythondev_help_Chester_2019-05-22T05:22:25.467400
1,558,502,545.4674
24,728
pythondev
help
In order not to cross post, I'll be moving this question to <#C07F1KB2Q|advanced_python>
2019-05-22T05:22:41.467500
Palma
pythondev_help_Palma_2019-05-22T05:22:41.467500
1,558,502,561.4675
24,729
pythondev
help
noted <@Chester> :+1::skin-tone-6:
2019-05-22T05:23:14.467800
Palma
pythondev_help_Palma_2019-05-22T05:23:14.467800
1,558,502,594.4678
24,730
pythondev
help
Hello, does anyone know why this doesn’t give me any result? ```START TRANSACTION; SELECT @id:=admin_id FROM users WHERE id = %s; INSERT INTO occupations (title) VALUES (%s); SELECT @occupation_id:=LAST_INSERT_ID(); UPDATE admins SET occupation = @occupation_id WHERE id = @id; SELECT @occupation_id; COMMIT;```
2019-05-22T06:45:19.470300
Nella
pythondev_help_Nella_2019-05-22T06:45:19.470300
1,558,507,519.4703
24,731
pythondev
help
Hi guys, I'm new for Python. Here I'm from Coldfusion background. And I'm using sublime text. How do I run my first py file ?
2019-05-22T06:58:21.471500
Amparo
pythondev_help_Amparo_2019-05-22T06:58:21.471500
1,558,508,301.4715
24,732
pythondev
help
if you have python installed then running `python filename.py` does the trick
2019-05-22T07:01:35.472000
Leida
pythondev_help_Leida_2019-05-22T07:01:35.472000
1,558,508,495.472
24,733
pythondev
help
if you are looking for something that runs the file from sublime then there might be some addon for that
2019-05-22T07:01:56.472600
Leida
pythondev_help_Leida_2019-05-22T07:01:56.472600
1,558,508,516.4726
24,734
pythondev
help
Where I should run. Generally in coldfusion I run the test file like localhost:8500/test.cfm
2019-05-22T07:02:14.473200
Amparo
pythondev_help_Amparo_2019-05-22T07:02:14.473200
1,558,508,534.4732
24,735
pythondev
help
Okay I tried with open the particular file in IDLE.
2019-05-22T07:02:58.473900
Amparo
pythondev_help_Amparo_2019-05-22T07:02:58.473900
1,558,508,578.4739
24,736
pythondev
help
ah so you wish to run it through testserver web api?
2019-05-22T07:03:05.474300
Leida
pythondev_help_Leida_2019-05-22T07:03:05.474300
1,558,508,585.4743
24,737
pythondev
help
And I can ran it by press f5
2019-05-22T07:03:10.474500
Amparo
pythondev_help_Amparo_2019-05-22T07:03:10.474500
1,558,508,590.4745
24,738
pythondev
help
It;s will display the result
2019-05-22T07:03:24.475000
Amparo
pythondev_help_Amparo_2019-05-22T07:03:24.475000
1,558,508,604.475
24,739
pythondev
help
if you open command line in the folder that the file is in you can run the command i mentioned
2019-05-22T07:03:36.475600
Leida
pythondev_help_Leida_2019-05-22T07:03:36.475600
1,558,508,616.4756
24,740
pythondev
help
<https://stackoverflow.com/questions/8551735/how-do-i-run-python-code-from-sublime-text-2>
2019-05-22T07:03:53.476100
Leida
pythondev_help_Leida_2019-05-22T07:03:53.476100
1,558,508,633.4761
24,741
pythondev
help
Again I changed something in my sublime , And Do I need to reopen that file in IDLE and run again ? is this only option ?
2019-05-22T07:04:09.476800
Amparo
pythondev_help_Amparo_2019-05-22T07:04:09.476800
1,558,508,649.4768
24,742
pythondev
help
with this you can run it in the editor which does a similar thing in the background
2019-05-22T07:04:14.477000
Leida
pythondev_help_Leida_2019-05-22T07:04:14.477000
1,558,508,654.477
24,743
pythondev
help
you dont need to open it in IDLE
2019-05-22T07:04:35.477300
Leida
pythondev_help_Leida_2019-05-22T07:04:35.477300
1,558,508,675.4773
24,744
pythondev
help
python isnt a compiled language so you dont need to run anything extra before running the script
2019-05-22T07:04:59.478100
Leida
pythondev_help_Leida_2019-05-22T07:04:59.478100
1,558,508,699.4781
24,745
pythondev
help
None
2019-05-22T07:06:12.478400
Amparo
pythondev_help_Amparo_2019-05-22T07:06:12.478400
1,558,508,772.4784
24,746
pythondev
help
you dont seem to have python in your path. Have you installed python?
2019-05-22T07:09:06.480000
Leida
pythondev_help_Leida_2019-05-22T07:09:06.480000
1,558,508,946.48
24,747
pythondev
help
My question is, If I open test.py file in both sublime &amp; IDLE. Then if once I change something in sublime that will not reflect in IDLE
2019-05-22T07:09:40.480600
Amparo
pythondev_help_Amparo_2019-05-22T07:09:40.480600
1,558,508,980.4806
24,748
pythondev
help
Yes. I can successfully run it via IDLE
2019-05-22T07:09:59.480900
Amparo
pythondev_help_Amparo_2019-05-22T07:09:59.480900
1,558,508,999.4809
24,749
pythondev
help
um you would need to reload the file in IDLE for the updates to show. I dont know if IDLE has some setting to keep track of file changes or not. In general if you use sublime then you dont need to use IDLE
2019-05-22T07:11:16.481900
Leida
pythondev_help_Leida_2019-05-22T07:11:16.481900
1,558,509,076.4819
24,750
pythondev
help
IDLE is a small editor that comes with the python installation
2019-05-22T07:11:34.482400
Leida
pythondev_help_Leida_2019-05-22T07:11:34.482400
1,558,509,094.4824
24,751
pythondev
help
Yes. So could you please help to run the py file via sublime
2019-05-22T07:11:58.483300
Amparo
pythondev_help_Amparo_2019-05-22T07:11:58.483300
1,558,509,118.4833
24,752
pythondev
help
open up command prompt (windows key + r) and type in cmd
2019-05-22T07:12:00.483500
Leida
pythondev_help_Leida_2019-05-22T07:12:00.483500
1,558,509,120.4835
24,753
pythondev
help
this will open up command prompt for you
2019-05-22T07:12:29.484400
Leida
pythondev_help_Leida_2019-05-22T07:12:29.484400
1,558,509,149.4844
24,754
pythondev
help
Each and every time I type the code in sublime and open the file in IDLE and press f5.. That was I'm doing each and every changes
2019-05-22T07:12:33.484700
Amparo
pythondev_help_Amparo_2019-05-22T07:12:33.484700
1,558,509,153.4847
24,755
pythondev
help
then type in `python` and tell me what it says
2019-05-22T07:12:50.485100
Leida
pythondev_help_Leida_2019-05-22T07:12:50.485100
1,558,509,170.4851
24,756
pythondev
help
Internal &amp; external command issue
2019-05-22T07:13:13.485400
Amparo
pythondev_help_Amparo_2019-05-22T07:13:13.485400
1,558,509,193.4854
24,757
pythondev
help
python' is not recognized as an internal or external command, operable program or batch file.
2019-05-22T07:13:53.485700
Amparo
pythondev_help_Amparo_2019-05-22T07:13:53.485700
1,558,509,233.4857
24,758
pythondev
help
ok that means python is not in your path. That basically means that if you type python the executable is not found. This is what sublime does to find python.
2019-05-22T07:14:34.486500
Leida
pythondev_help_Leida_2019-05-22T07:14:34.486500
1,558,509,274.4865
24,759
pythondev
help
you can follow this to add python to your path <https://geek-university.com/python/add-python-to-the-windows-path/>
2019-05-22T07:14:50.486800
Leida
pythondev_help_Leida_2019-05-22T07:14:50.486800
1,558,509,290.4868
24,760
pythondev
help
then do the sublime settings thing and then you can run python by pressing crtl+b
2019-05-22T07:15:23.487500
Leida
pythondev_help_Leida_2019-05-22T07:15:23.487500
1,558,509,323.4875
24,761
pythondev
help
windows installation for python has a section where you can choose features, adding to path is one of them and by default it is off. Most any program that needs to use python will want python to be on path so you generally need to set it to install it.
2019-05-22T07:16:24.488600
Leida
pythondev_help_Leida_2019-05-22T07:16:24.488600
1,558,509,384.4886
24,762
pythondev
help
If the guide is too complex you can try running python installer again, there you can add that feature
2019-05-22T07:16:55.489200
Leida
pythondev_help_Leida_2019-05-22T07:16:55.489200
1,558,509,415.4892
24,763
pythondev
help
<@Leida>
2019-05-22T07:28:14.489700
Amparo
pythondev_help_Amparo_2019-05-22T07:28:14.489700
1,558,510,094.4897
24,764
pythondev
help
I can see a version while go in to C &gt;&gt; Python34 &gt;&gt; python --version
2019-05-22T07:28:39.490500
Amparo
pythondev_help_Amparo_2019-05-22T07:28:39.490500
1,558,510,119.4905
24,765
pythondev
help
that is because python is installed in the Python34 folder
2019-05-22T07:28:56.491200
Leida
pythondev_help_Leida_2019-05-22T07:28:56.491200
1,558,510,136.4912
24,766
pythondev
help
I can't see the version while C&gt;&gt;User&gt;&gt;userName &gt;&gt; python -- version
2019-05-22T07:28:59.491400
Amparo
pythondev_help_Amparo_2019-05-22T07:28:59.491400
1,558,510,139.4914
24,767
pythondev
help
DO I need to create a environment variable now ?
2019-05-22T07:29:12.492000
Amparo
pythondev_help_Amparo_2019-05-22T07:29:12.492000
1,558,510,152.492
24,768
pythondev
help
but you want to be able to access python from any folder
2019-05-22T07:29:21.492300
Leida
pythondev_help_Leida_2019-05-22T07:29:21.492300
1,558,510,161.4923
24,769
pythondev
help
yes, you still dont have python in your path
2019-05-22T07:29:36.492600
Leida
pythondev_help_Leida_2019-05-22T07:29:36.492600
1,558,510,176.4926
24,770
pythondev
help
Okay. Then How I can install by default ? I mean inside program file instead of python34.
2019-05-22T07:30:10.493200
Amparo
pythondev_help_Amparo_2019-05-22T07:30:10.493200
1,558,510,210.4932
24,771
pythondev
help
Is this possible ?
2019-05-22T07:30:21.493400
Amparo
pythondev_help_Amparo_2019-05-22T07:30:21.493400
1,558,510,221.4934
24,772
pythondev
help
Got it Karl Uibo
2019-05-22T07:32:01.493700
Amparo
pythondev_help_Amparo_2019-05-22T07:32:01.493700
1,558,510,321.4937
24,773
pythondev
help
the easiest solution would be to re-run the installer and add the option to add python to path - that should fix your woes.
2019-05-22T07:33:40.494600
Leida
pythondev_help_Leida_2019-05-22T07:33:40.494600
1,558,510,420.4946
24,774
pythondev
help
So you mean instead of install python in c:python34, We should install it in c:programfiles:python34 ?
2019-05-22T07:36:13.495300
Amparo
pythondev_help_Amparo_2019-05-22T07:36:13.495300
1,558,510,573.4953
24,775
pythondev
help
So that we no need to create environment variable / mapping etc..
2019-05-22T07:36:31.495700
Amparo
pythondev_help_Amparo_2019-05-22T07:36:31.495700
1,558,510,591.4957
24,776
pythondev
help
Right ?
2019-05-22T07:36:36.495900
Amparo
pythondev_help_Amparo_2019-05-22T07:36:36.495900
1,558,510,596.4959
24,777
pythondev
help
no
2019-05-22T07:38:03.496100
Hiroko
pythondev_help_Hiroko_2019-05-22T07:38:03.496100
1,558,510,683.4961
24,778
pythondev
help
So How I can debug my code here ?
2019-05-22T07:38:24.496900
Amparo
pythondev_help_Amparo_2019-05-22T07:38:24.496900
1,558,510,704.4969
24,779
pythondev
help
we mean uninstall and reinstall with the pythin installer and check the option to add to path
2019-05-22T07:38:26.497000
Hiroko
pythondev_help_Hiroko_2019-05-22T07:38:26.497000
1,558,510,706.497
24,780
pythondev
help
Yes. I choose by default path that is c:python43.
2019-05-22T07:38:54.497600
Amparo
pythondev_help_Amparo_2019-05-22T07:38:54.497600
1,558,510,734.4976
24,781
pythondev
help
NO, not that path
2019-05-22T07:39:07.498100
Hiroko
pythondev_help_Hiroko_2019-05-22T07:39:07.498100
1,558,510,747.4981
24,782
pythondev
help
system path
2019-05-22T07:39:10.498300
Hiroko
pythondev_help_Hiroko_2019-05-22T07:39:10.498300
1,558,510,750.4983
24,783
pythondev
help
Okay
2019-05-22T07:39:16.498500
Amparo
pythondev_help_Amparo_2019-05-22T07:39:16.498500
1,558,510,756.4985
24,784
pythondev
help
<https://docs.alfresco.com/4.2/tasks/fot-addpath.html>
2019-05-22T07:39:27.499000
Hiroko
pythondev_help_Hiroko_2019-05-22T07:39:27.499000
1,558,510,767.499
24,785
pythondev
help
Now How I can debug my code. Is there any function for that.
2019-05-22T07:39:36.499300
Amparo
pythondev_help_Amparo_2019-05-22T07:39:36.499300
1,558,510,776.4993
24,786
pythondev
help
there’s a checkbox for that in the install to do that for you
2019-05-22T07:39:47.499600
Hiroko
pythondev_help_Hiroko_2019-05-22T07:39:47.499600
1,558,510,787.4996
24,787
pythondev
help
I mean developer debugging function anything ?
2019-05-22T07:39:59.499900
Amparo
pythondev_help_Amparo_2019-05-22T07:39:59.499900
1,558,510,799.4999
24,788
pythondev
help
well, first, don’t use IDLE
2019-05-22T07:40:20.000400
Hiroko
pythondev_help_Hiroko_2019-05-22T07:40:20.000400
1,558,510,820.0004
24,789
pythondev
help
Yes <@Hiroko> I did that already
2019-05-22T07:40:27.000800
Amparo
pythondev_help_Amparo_2019-05-22T07:40:27.000800
1,558,510,827.0008
24,790
pythondev
help
I have no clue why its still included in the install
2019-05-22T07:40:31.001200
Hiroko
pythondev_help_Hiroko_2019-05-22T07:40:31.001200
1,558,510,831.0012
24,791
pythondev
help
Now I can ran the sample code via sublime
2019-05-22T07:40:40.001700
Amparo
pythondev_help_Amparo_2019-05-22T07:40:40.001700
1,558,510,840.0017
24,792
pythondev
help
:thumbsup:
2019-05-22T07:40:45.002100
Hiroko
pythondev_help_Hiroko_2019-05-22T07:40:45.002100
1,558,510,845.0021
24,793
pythondev
help
by press ctrl + B
2019-05-22T07:40:47.002200
Amparo
pythondev_help_Amparo_2019-05-22T07:40:47.002200
1,558,510,847.0022
24,794
pythondev
help
<https://stackoverflow.com/questions/29064081/run-python-debugger-pdb-in-sublime-text-3>
2019-05-22T07:41:08.002500
Leida
pythondev_help_Leida_2019-05-22T07:41:08.002500
1,558,510,868.0025
24,795
pythondev
help
I install two time. Both that time it installed inside c:python34
2019-05-22T07:41:25.003200
Amparo
pythondev_help_Amparo_2019-05-22T07:41:25.003200
1,558,510,885.0032
24,796
pythondev
help
ok
2019-05-22T07:42:03.003400
Hiroko
pythondev_help_Hiroko_2019-05-22T07:42:03.003400
1,558,510,923.0034
24,797
pythondev
help
but that’s not what we were saying
2019-05-22T07:42:10.003700
Hiroko
pythondev_help_Hiroko_2019-05-22T07:42:10.003700
1,558,510,930.0037
24,798
pythondev
help
we were saying system path in windows so its available to run outside with just the `python` command
2019-05-22T07:42:40.004400
Hiroko
pythondev_help_Hiroko_2019-05-22T07:42:40.004400
1,558,510,960.0044
24,799
pythondev
help
without needing to provide the entire `c:\python34.bin/python` path when executing your file
2019-05-22T07:42:57.004800
Hiroko
pythondev_help_Hiroko_2019-05-22T07:42:57.004800
1,558,510,977.0048
24,800
pythondev
help
now, as far as debugging
2019-05-22T07:43:23.005100
Hiroko
pythondev_help_Hiroko_2019-05-22T07:43:23.005100
1,558,511,003.0051
24,801
pythondev
help
I haven’t used sublime with python before
2019-05-22T07:43:32.005400
Hiroko
pythondev_help_Hiroko_2019-05-22T07:43:32.005400
1,558,511,012.0054
24,802
pythondev
help
have you looked for sublime packages for this?
2019-05-22T07:44:01.005700
Hiroko
pythondev_help_Hiroko_2019-05-22T07:44:01.005700
1,558,511,041.0057
24,803
pythondev
help
eg <https://packagecontrol.io/packages/Python%20Debugger>?
2019-05-22T07:44:12.006000
Hiroko
pythondev_help_Hiroko_2019-05-22T07:44:12.006000
1,558,511,052.006
24,804
pythondev
help
uhm… question
2019-05-22T07:44:49.006400
Hiroko
pythondev_help_Hiroko_2019-05-22T07:44:49.006400
1,558,511,089.0064
24,805
pythondev
help
why are you installing python 3.4?
2019-05-22T07:44:54.006700
Hiroko
pythondev_help_Hiroko_2019-05-22T07:44:54.006700
1,558,511,094.0067
24,806
pythondev
help
if you’re starting out, why not use 3.7?
2019-05-22T07:45:09.007200
Hiroko
pythondev_help_Hiroko_2019-05-22T07:45:09.007200
1,558,511,109.0072
24,807
pythondev
help
No. I'm asking find bug and debug . For ex) if I pass the argument to the function mean How I can check the argument received to that functions or what values come for that particular arguments etc... Like developer debugging tool.
2019-05-22T07:46:09.008300
Amparo
pythondev_help_Amparo_2019-05-22T07:46:09.008300
1,558,511,169.0083
24,808
pythondev
help
3.7 ?
2019-05-22T07:46:19.008500
Amparo
pythondev_help_Amparo_2019-05-22T07:46:19.008500
1,558,511,179.0085
24,809
pythondev
help
Where I can download 3.7 ? For window 64 ?
2019-05-22T07:46:57.009000
Amparo
pythondev_help_Amparo_2019-05-22T07:46:57.009000
1,558,511,217.009
24,810
pythondev
help
Could you send me the exact URL ?
2019-05-22T07:47:06.009300
Amparo
pythondev_help_Amparo_2019-05-22T07:47:06.009300
1,558,511,226.0093
24,811
pythondev
help
<https://www.python.org/downloads/windows/>
2019-05-22T07:47:18.009500
Leida
pythondev_help_Leida_2019-05-22T07:47:18.009500
1,558,511,238.0095
24,812
pythondev
help
None
2019-05-22T07:48:07.009900
Amparo
pythondev_help_Amparo_2019-05-22T07:48:07.009900
1,558,511,287.0099
24,813
pythondev
help
<https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe>
2019-05-22T07:48:10.010400
Leida
pythondev_help_Leida_2019-05-22T07:48:10.010400
1,558,511,290.0104
24,814
pythondev
help
Which one I should choose ?
2019-05-22T07:48:13.010500
Amparo
pythondev_help_Amparo_2019-05-22T07:48:13.010500
1,558,511,293.0105
24,815
pythondev
help
stable 3.7
2019-05-22T07:48:29.010800
Hiroko
pythondev_help_Hiroko_2019-05-22T07:48:29.010800
1,558,511,309.0108
24,816
pythondev
help
executable installer x86-64 for 64 bit python
2019-05-22T07:48:55.011900
Leida
pythondev_help_Leida_2019-05-22T07:48:55.011900
1,558,511,335.0119
24,817
pythondev
help
That will redirect to other link
2019-05-22T07:49:00.012100
Amparo
pythondev_help_Amparo_2019-05-22T07:49:00.012100
1,558,511,340.0121
24,818
pythondev
help
that’s exactly what I’m pointing to with the link above. sublime is an editor, not an IDE
2019-05-22T07:49:18.012300
Hiroko
pythondev_help_Hiroko_2019-05-22T07:49:18.012300
1,558,511,358.0123
24,819
pythondev
help
Got it
2019-05-22T07:49:27.012700
Amparo
pythondev_help_Amparo_2019-05-22T07:49:27.012700
1,558,511,367.0127
24,820