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 when i run it I get an error on those lines
2019-02-19T21:53:47.210300
Devin
pythondev_help_Devin_2019-02-19T21:53:47.210300
1,550,613,227.2103
9,521
pythondev
help
Do any of the values in these fields contain single quotes?
2019-02-19T22:00:58.212800
Hiroko
pythondev_help_Hiroko_2019-02-19T22:00:58.212800
1,550,613,658.2128
9,522
pythondev
help
yes - and those end up getting replaced
2019-02-19T22:01:08.213100
Devin
pythondev_help_Devin_2019-02-19T22:01:08.213100
1,550,613,668.2131
9,523
pythondev
help
Escape them, then
2019-02-19T22:01:18.213500
Hiroko
pythondev_help_Hiroko_2019-02-19T22:01:18.213500
1,550,613,678.2135
9,524
pythondev
help
that’s not the problem, it’s that their entire surrounding string turns from single quotes to double quotes
2019-02-19T22:01:40.214000
Devin
pythondev_help_Devin_2019-02-19T22:01:40.214000
1,550,613,700.214
9,525
pythondev
help
nothing in the string itself
2019-02-19T22:01:45.214200
Devin
pythondev_help_Devin_2019-02-19T22:01:45.214200
1,550,613,705.2142
9,526
pythondev
help
i mean that might not be it but i’m assuming that’s what it is
2019-02-19T22:03:53.215200
Devin
pythondev_help_Devin_2019-02-19T22:03:53.215200
1,550,613,833.2152
9,527
pythondev
help
what is the error you are getting?
2019-02-19T22:04:20.216000
Raguel
pythondev_help_Raguel_2019-02-19T22:04:20.216000
1,550,613,860.216
9,528
pythondev
help
Quotes, whether single or double, don't matter to the db
2019-02-19T22:04:31.216600
Hiroko
pythondev_help_Hiroko_2019-02-19T22:04:31.216600
1,550,613,871.2166
9,529
pythondev
help
scratch all of that - a better question for me would be how can I output what is actually being passed to SQL
2019-02-19T22:04:33.216700
Devin
pythondev_help_Devin_2019-02-19T22:04:33.216700
1,550,613,873.2167
9,530
pythondev
help
so say i’m doing this `self.cur.execute(sql, values)`
2019-02-19T22:04:56.217200
Devin
pythondev_help_Devin_2019-02-19T22:04:56.217200
1,550,613,896.2172
9,531
pythondev
help
how can i view the output of that?
2019-02-19T22:05:08.217400
Devin
pythondev_help_Devin_2019-02-19T22:05:08.217400
1,550,613,908.2174
9,532
pythondev
help
other than this? `print(sql, values)`
2019-02-19T22:05:19.217800
Devin
pythondev_help_Devin_2019-02-19T22:05:19.217800
1,550,613,919.2178
9,533
pythondev
help
What database
2019-02-19T22:09:01.218600
Hiroko
pythondev_help_Hiroko_2019-02-19T22:09:01.218600
1,550,614,141.2186
9,534
pythondev
help
And have you looked how to escape quotes in sql?
2019-02-19T22:09:15.219200
Hiroko
pythondev_help_Hiroko_2019-02-19T22:09:15.219200
1,550,614,155.2192
9,535
pythondev
help
it’s mssql - and yes it’s escaped correctly for sql, but the double quotes surrounding that string is where i’m running into an issue
2019-02-19T22:10:33.220300
Devin
pythondev_help_Devin_2019-02-19T22:10:33.220300
1,550,614,233.2203
9,536
pythondev
help
How do you know that?
2019-02-19T22:10:49.220600
Hiroko
pythondev_help_Hiroko_2019-02-19T22:10:49.220600
1,550,614,249.2206
9,537
pythondev
help
You haven't said anything about the specifics of the error
2019-02-19T22:11:06.221200
Hiroko
pythondev_help_Hiroko_2019-02-19T22:11:06.221200
1,550,614,266.2212
9,538
pythondev
help
because i’m running it in SQL and it’s breaking
2019-02-19T22:11:55.221600
Devin
pythondev_help_Devin_2019-02-19T22:11:55.221600
1,550,614,315.2216
9,539
pythondev
help
for example `INSERT INTO xyz (f1, f1, f3, f4) ('value 1', 'value two', "value''s three", 'value four')`
2019-02-19T22:12:06.222000
Devin
pythondev_help_Devin_2019-02-19T22:12:06.222000
1,550,614,326.222
9,540
pythondev
help
the double quotes are a no no for MSSQL
2019-02-19T22:12:38.223400
Devin
pythondev_help_Devin_2019-02-19T22:12:38.223400
1,550,614,358.2234
9,541
pythondev
help
if you are doing directly in db, MSSQL will throw an error — doing with Python shouldn’t
2019-02-19T22:12:47.223900
Raguel
pythondev_help_Raguel_2019-02-19T22:12:47.223900
1,550,614,367.2239
9,542
pythondev
help
ok - so back to my other question how do i see EXACTLY what it is passing?
2019-02-19T22:13:02.224500
Devin
pythondev_help_Devin_2019-02-19T22:13:02.224500
1,550,614,382.2245
9,543
pythondev
help
because maybe it is fine, you’re right
2019-02-19T22:13:08.224800
Devin
pythondev_help_Devin_2019-02-19T22:13:08.224800
1,550,614,388.2248
9,544
pythondev
help
Just as a test, I did a minimum-viable check on the replace itself and I'm not getting any surrounding quote issues whatsoever. It has to be something aside from the replace.
2019-02-19T22:13:09.224900
Carmen
pythondev_help_Carmen_2019-02-19T22:13:09.224900
1,550,614,389.2249
9,545
pythondev
help
What error message are you getting in your python?
2019-02-19T22:13:22.225400
Raguel
pythondev_help_Raguel_2019-02-19T22:13:22.225400
1,550,614,402.2254
9,546
pythondev
help
``` import openpyxl filename = '/tmp/string-test.xlsx' wb = openpyxl.load_workbook(filename) ws = wb['Sheet1'] for r in ws.rows: raw_string = r[0].value print(u"Raw string: {}".format(raw_string)) replaced_string = raw_string.replace("'", "''") print(u"Replaced string: {}".format(replaced_string)) ```
2019-02-19T22:13:27.225500
Carmen
pythondev_help_Carmen_2019-02-19T22:13:27.225500
1,550,614,407.2255
9,547
pythondev
help
```Raw string: String No Quotes Replaced string: String No Quotes Raw string: String’ Single’ Quote’ Replaced string: String’ Single’ Quote’ Raw string: String” Double” Quote” Replaced string: String” Double” Quote” ```
2019-02-19T22:13:43.225800
Carmen
pythondev_help_Carmen_2019-02-19T22:13:43.225800
1,550,614,423.2258
9,548
pythondev
help
ok so it must not be the string thing - the error is a generic one so I can’t see on what line it’s breaking
2019-02-19T22:14:34.226600
Devin
pythondev_help_Devin_2019-02-19T22:14:34.226600
1,550,614,474.2266
9,549
pythondev
help
let me grab it 1 sec
2019-02-19T22:14:37.226800
Devin
pythondev_help_Devin_2019-02-19T22:14:37.226800
1,550,614,477.2268
9,550
pythondev
help
that’s why i went over to SQL to try to see what the error was
2019-02-19T22:14:54.227200
Devin
pythondev_help_Devin_2019-02-19T22:14:54.227200
1,550,614,494.2272
9,551
pythondev
help
Telling db error while trying to run python script isn’t helpful for anyone to answer..
2019-02-19T22:16:05.227800
Raguel
pythondev_help_Raguel_2019-02-19T22:16:05.227800
1,550,614,565.2278
9,552
pythondev
help
What is your database driver for connecting to MSSQL?
2019-02-19T22:16:31.228400
Carmen
pythondev_help_Carmen_2019-02-19T22:16:31.228400
1,550,614,591.2284
9,553
pythondev
help
pymssql
2019-02-19T22:16:37.228800
Devin
pythondev_help_Devin_2019-02-19T22:16:37.228800
1,550,614,597.2288
9,554
pythondev
help
The DB API standard doesn't specify something for that, so each driver does it differently.
2019-02-19T22:16:49.229200
Carmen
pythondev_help_Carmen_2019-02-19T22:16:49.229200
1,550,614,609.2292
9,555
pythondev
help
and i have used this many times successfully with the same stuff, just never having to use replace before
2019-02-19T22:17:03.229600
Devin
pythondev_help_Devin_2019-02-19T22:17:03.229600
1,550,614,623.2296
9,556
pythondev
help
so again my question now is: how do i see EXACTLY what it is passing to SQL?
2019-02-19T22:18:42.230400
Devin
pythondev_help_Devin_2019-02-19T22:18:42.230400
1,550,614,722.2304
9,557
pythondev
help
```MSSQLConnection.debug_queries If set to true, all queries are printed to stderr after formatting and quoting, just before being sent to SQL Server. It may be helpful if you suspect problems with formatting or quoting.```
2019-02-19T22:18:43.230600
Carmen
pythondev_help_Carmen_2019-02-19T22:18:43.230600
1,550,614,723.2306
9,558
pythondev
help
heyyyy
2019-02-19T22:18:50.230800
Devin
pythondev_help_Devin_2019-02-19T22:18:50.230800
1,550,614,730.2308
9,559
pythondev
help
<https://media.readthedocs.org/pdf/pymssql/latest/pymssql.pdf>
2019-02-19T22:18:52.231000
Carmen
pythondev_help_Carmen_2019-02-19T22:18:52.231000
1,550,614,732.231
9,560
pythondev
help
Page 30
2019-02-19T22:18:54.231200
Carmen
pythondev_help_Carmen_2019-02-19T22:18:54.231200
1,550,614,734.2312
9,561
pythondev
help
that is very helpful thank you Joe
2019-02-19T22:20:06.231500
Devin
pythondev_help_Devin_2019-02-19T22:20:06.231500
1,550,614,806.2315
9,562
pythondev
help
:+1:
2019-02-19T22:21:03.231900
Carmen
pythondev_help_Carmen_2019-02-19T22:21:03.231900
1,550,614,863.2319
9,563
pythondev
help
Thank you all for the help I’ll report back with the cause
2019-02-19T22:22:22.232400
Devin
pythondev_help_Devin_2019-02-19T22:22:22.232400
1,550,614,942.2324
9,564
pythondev
help
why wont this return a string
2019-02-19T22:47:57.232700
Edward
pythondev_help_Edward_2019-02-19T22:47:57.232700
1,550,616,477.2327
9,565
pythondev
help
I think you are returning a string, but you're checking for a numerical 2? `while Possibles == '2': ` ?
2019-02-19T22:51:56.234200
Marth
pythondev_help_Marth_2019-02-19T22:51:56.234200
1,550,616,716.2342
9,566
pythondev
help
or perhaps `while int(Possibles) == 2:` ?
2019-02-19T22:52:49.234800
Marth
pythondev_help_Marth_2019-02-19T22:52:49.234800
1,550,616,769.2348
9,567
pythondev
help
<https://docs.python.org/3/library/functions.html#input>
2019-02-19T22:55:42.235400
Carmen
pythondev_help_Carmen_2019-02-19T22:55:42.235400
1,550,616,942.2354
9,568
pythondev
help
`input` returns a string.
2019-02-19T22:55:46.235700
Carmen
pythondev_help_Carmen_2019-02-19T22:55:46.235700
1,550,616,946.2357
9,569
pythondev
help
You're comparing an integer to a string, which is always going to return false.
2019-02-19T22:55:57.236100
Carmen
pythondev_help_Carmen_2019-02-19T22:55:57.236100
1,550,616,957.2361
9,570
pythondev
help
I'm having a bit of trouble unpacking a tuple from a mocked return value. A simplified version of what I'm trying to do: The test : user = User(pk=5) mocker.patch.object( User, 'get_full_name', return_value=('Joe', 'Smith',) ) The code : user = User.objects.filter(id=5).first() first, last = user.get_full_name() And the error : ValueError: need more than 0 values to unpack
2019-02-19T23:23:35.245200
Helga
pythondev_help_Helga_2019-02-19T23:23:35.245200
1,550,618,615.2452
9,571
pythondev
help
I don't know for sure, but I'm wondering if you should be patching the `user` object instead of the `User` class.
2019-02-20T00:35:39.246000
Sasha
pythondev_help_Sasha_2019-02-20T00:35:39.246000
1,550,622,939.246
9,572
pythondev
help
I have actually tried both, but haven't had any luck.
2019-02-20T00:48:48.246700
Helga
pythondev_help_Helga_2019-02-20T00:48:48.246700
1,550,623,728.2467
9,573
pythondev
help
What exactly is `get_full_name()` returning?
2019-02-20T01:12:27.247100
Sasha
pythondev_help_Sasha_2019-02-20T01:12:27.247100
1,550,625,147.2471
9,574
pythondev
help
<@Edward> try this: while possible == 2: print('i will take two') break after the loop will be infinite so we add break statement
2019-02-20T01:41:29.253900
Donny
pythondev_help_Donny_2019-02-20T01:41:29.253900
1,550,626,889.2539
9,575
pythondev
help
So I setup a little flask server to listen to an incoming POST of data. Then I take the post data, and I use beautiful soup to replace some information in an HTML file with the incoming data. That part’s all fine and dandy… my question is, what’s a good way for me to restore soup’s HTML string to the original contents (with the variable names in it, before I do the replacement) after I do so? So here’s what I’m talking about: `soup = BeautifulSoup(html, 'html.parser')` and then in my flask’s main function: ```@app.route('/velocify') def letter_processing():``` I want something like `souptemp = soup` so that every time the post comes in, I can reset the string to the original version (with the variables) so I can find and replace them all over again. The problem I’m having is… flask’s main function isn’t an actual loop, so things like `souptemp = soup` only get called once, so the second time I do a POST, the variables aren’t there to get replaced.
2019-02-20T01:47:14.260400
Kristine
pythondev_help_Kristine_2019-02-20T01:47:14.260400
1,550,627,234.2604
9,576
pythondev
help
It should return a tuple that consists of two strings 'Joe' and 'Smith' If I set a breakpoint and access it within the actual test and call user.get_full_name() it will be ('Joe', 'Smith'), but once I run the test and put a breakpoint in the code it does not act the same and I get the ValueError
2019-02-20T01:48:09.261200
Helga
pythondev_help_Helga_2019-02-20T01:48:09.261200
1,550,627,289.2612
9,577
pythondev
help
When I call user.get_full_name() in the code with the breakpoint I get a mock object back
2019-02-20T01:49:49.262700
Helga
pythondev_help_Helga_2019-02-20T01:49:49.262700
1,550,627,389.2627
9,578
pythondev
help
Something like : &lt;MagicMock name = user.objects.filter().first().get_first_name() id=477415568&gt;
2019-02-20T01:52:46.264700
Helga
pythondev_help_Helga_2019-02-20T01:52:46.264700
1,550,627,566.2647
9,579
pythondev
help
I actually just figured it out, you need to mock user.objects.filter().first()
2019-02-20T01:55:30.265900
Helga
pythondev_help_Helga_2019-02-20T01:55:30.265900
1,550,627,730.2659
9,580
pythondev
help
Thanks for your help <@Sasha>
2019-02-20T01:55:50.266300
Helga
pythondev_help_Helga_2019-02-20T01:55:50.266300
1,550,627,750.2663
9,581
pythondev
help
Glad you worked it out, since I wasn't about to figure that out myself, heh heh.
2019-02-20T01:56:53.267000
Sasha
pythondev_help_Sasha_2019-02-20T01:56:53.267000
1,550,627,813.267
9,582
pythondev
help
That one was tricky, but I think talking it out with you helped, thanks again !
2019-02-20T01:57:56.268000
Helga
pythondev_help_Helga_2019-02-20T01:57:56.268000
1,550,627,876.268
9,583
pythondev
help
Does intendetion matter in if else code written in python in flask.
2019-02-20T02:07:34.268700
Reinaldo
pythondev_help_Reinaldo_2019-02-20T02:07:34.268700
1,550,628,454.2687
9,584
pythondev
help
You mean in a template? No, they use `endif` to mark the ends of blocks instead of indents.
2019-02-20T02:15:48.269700
Sasha
pythondev_help_Sasha_2019-02-20T02:15:48.269700
1,550,628,948.2697
9,585
pythondev
help
ok.
2019-02-20T02:17:56.270000
Reinaldo
pythondev_help_Reinaldo_2019-02-20T02:17:56.270000
1,550,629,076.27
9,586
pythondev
help
thanks
2019-02-20T02:17:59.270200
Reinaldo
pythondev_help_Reinaldo_2019-02-20T02:17:59.270200
1,550,629,079.2702
9,587
pythondev
help
Alright, well I’m going to give up for tonight, and try again tomorrow. Have a good day.
2019-02-20T02:31:07.270500
Kristine
pythondev_help_Kristine_2019-02-20T02:31:07.270500
1,550,629,867.2705
9,588
pythondev
help
Ok, I'm getting what you are saying. I am not sure about one difference with the reset function.
2019-02-20T02:47:25.270600
Lorinda
pythondev_help_Lorinda_2019-02-20T02:47:25.270600
1,550,630,845.2706
9,589
pythondev
help
The reset function is hard coded in the firmware and I need to call it. Where do you see the parallelism with the start function that you described earlier that I should "copy" to create the reset function? -- I am asking because I may haven't explained clearly the situation.
2019-02-20T03:34:36.270800
Lorinda
pythondev_help_Lorinda_2019-02-20T03:34:36.270800
1,550,633,676.2708
9,590
pythondev
help
A fellow programmer told me this: "Looking at the QSpectrumAnalyzer code, it uses the HackRF command-line tools (only hackrf_sweep, apparently) to run a process that produces data for the spectrum analysis. Building on that approach, as you'd already surmised, you'd want to add another Python function in QSpectrumAnalyzer to run a process as "hackrf_spiflash --reset" to perform a reset. You shouldn't need to include the files you mentioned, you just need to run the hackrf_spiflash command-line tool, which is installed along with the other HackRF tools."
2019-02-20T03:35:06.271100
Lorinda
pythondev_help_Lorinda_2019-02-20T03:35:06.271100
1,550,633,706.2711
9,591
pythondev
help
Hi guys! I have a windows machine with a cherrypy server which starts a python script which in turn starts an app and makes clicks, entering text, etc. It's an RPA task. All goes well if I'm on this server and the screen is open, so I can see what this script is doing. But if I disconnect from machine and make same request for same task it says "pcskbd110 The system keyboard (type=0, * * subtype=0) is not supported". I guess it just can't type anything, but might be wrong. Script uses lackey for typing and other stuff. I tried to open on-screen keyboard but same error appears. Maybe you have any ideas? Will appreciate any help :pray:
2019-02-20T03:47:52.278000
Russ
pythondev_help_Russ_2019-02-20T03:47:52.278000
1,550,634,472.278
9,592
pythondev
help
I`m using Djago Framework and mysql as database for application, how I change the command timeout?
2019-02-20T04:57:10.278900
Lourie
pythondev_help_Lourie_2019-02-20T04:57:10.278900
1,550,638,630.2789
9,593
pythondev
help
According mysql doc its only connection_timeout
2019-02-20T04:57:27.279400
Lourie
pythondev_help_Lourie_2019-02-20T04:57:27.279400
1,550,638,647.2794
9,594
pythondev
help
I added to my db config connect_timeout=30 but also i need to change command timeout to 60
2019-02-20T04:58:19.280300
Lourie
pythondev_help_Lourie_2019-02-20T04:58:19.280300
1,550,638,699.2803
9,595
pythondev
help
So do I basically have to run the hackrf_spiflash tool using the subprocess Popen or something similar, and then run the hackrf_spiflash --reset? If this is true, where the hackrf_spiflash is located in order to run it? Is it installed in the HackRF?
2019-02-20T05:42:30.280800
Lorinda
pythondev_help_Lorinda_2019-02-20T05:42:30.280800
1,550,641,350.2808
9,596
pythondev
help
Im using Flask Framework. Building a restful API. That has a small model - User. I have a basic CRUD for the user, such that, GET /api/v1/user?page=1 -&gt; returns a list of users Get /api/v1/user/1 -&gt; returns that user and so on for POST, DELETE and PUT. Theres a calculation that will be required, lets call it avg. The client needs to request the first user as well as give some variables (foo) and ask for the calculation. This calculation is on the fly and uses data stored on that user as well as the variable foo. How best to do this? Do I make a endpoint, GET /api/v1/user/1/avg -&gt; problem here is how does the client pass through the variable foo? POST /api/v1/user/1/avg -&gt; problem here is that im not making a new record.
2019-02-20T05:50:39.288900
Ted
pythondev_help_Ted_2019-02-20T05:50:39.288900
1,550,641,839.2889
9,597
pythondev
help
Are you using <https://flask-restful.readthedocs.io/en/latest/>?
2019-02-20T05:52:47.289100
Jonas
pythondev_help_Jonas_2019-02-20T05:52:47.289100
1,550,641,967.2891
9,598
pythondev
help
yep, this is more a question of best practice
2019-02-20T05:52:59.289300
Ted
pythondev_help_Ted_2019-02-20T05:52:59.289300
1,550,641,979.2893
9,599
pythondev
help
Your question is a bit unclear
2019-02-20T05:53:23.289700
Jonas
pythondev_help_Jonas_2019-02-20T05:53:23.289700
1,550,642,003.2897
9,600
pythondev
help
You have an `/avg` endpoint on a `User` resource
2019-02-20T05:53:37.290300
Jonas
pythondev_help_Jonas_2019-02-20T05:53:37.290300
1,550,642,017.2903
9,601
pythondev
help
If you want any data you need to accept it on that endpoint
2019-02-20T05:53:49.290900
Jonas
pythondev_help_Jonas_2019-02-20T05:53:49.290900
1,550,642,029.2909
9,602
pythondev
help
`/avg?foo=bar`
2019-02-20T05:53:58.291300
Jonas
pythondev_help_Jonas_2019-02-20T05:53:58.291300
1,550,642,038.2913
9,603
pythondev
help
so use get then and query?
2019-02-20T05:54:41.291800
Ted
pythondev_help_Ted_2019-02-20T05:54:41.291800
1,550,642,081.2918
9,604
pythondev
help
thanks
2019-02-20T05:54:43.292000
Ted
pythondev_help_Ted_2019-02-20T05:54:43.292000
1,550,642,083.292
9,605
pythondev
help
Hi, I need to start several blender-processes from within my script I tried with `subprocess.run(['"C:\\Program Files\\Blender Foundation\\Blender\\blender.exe"', '--background', '--python', 'make_file.py', 'argumentA', 'argumentB'])` that gives me a `Permission Error - [WinError5] Access denied` How can I escalate my privileges, to run the subprocess as an admin? (the script itself IS run as an admin though..)
2019-02-20T06:16:56.294400
Shawana
pythondev_help_Shawana_2019-02-20T06:16:56.294400
1,550,643,416.2944
9,606
pythondev
help
Does Blender usually require admin permissions?
2019-02-20T06:40:49.295400
Jonas
pythondev_help_Jonas_2019-02-20T06:40:49.295400
1,550,644,849.2954
9,607
pythondev
help
Access denied can also mean a lot of different things, not always that it requires admin permissions
2019-02-20T06:41:11.295800
Jonas
pythondev_help_Jonas_2019-02-20T06:41:11.295800
1,550,644,871.2958
9,608
pythondev
help
I guess windows blocks me from `C:\\Program Files\`
2019-02-20T06:52:13.296100
Shawana
pythondev_help_Shawana_2019-02-20T06:52:13.296100
1,550,645,533.2961
9,609
pythondev
help
Are you using Python from the Windows store? Doesn't that have some limitations regarding folder access?
2019-02-20T07:39:48.297500
Yaeko
pythondev_help_Yaeko_2019-02-20T07:39:48.297500
1,550,648,388.2975
9,610
pythondev
help
Although it probably does not apply here `Because of restrictions on Microsoft Store apps, Python scripts may not have full write access to shared locations such as TEMP and the registry`
2019-02-20T07:41:03.298000
Yaeko
pythondev_help_Yaeko_2019-02-20T07:41:03.298000
1,550,648,463.298
9,611
pythondev
help
Have you tested the script when run standalone in an admin cmd or powershell console?
2019-02-20T08:09:11.299500
Chelsey
pythondev_help_Chelsey_2019-02-20T08:09:11.299500
1,550,650,151.2995
9,612
pythondev
help
yes, same issue
2019-02-20T09:08:19.299700
Shawana
pythondev_help_Shawana_2019-02-20T09:08:19.299700
1,550,653,699.2997
9,613
pythondev
help
and no, it's not from windows-store
2019-02-20T09:08:36.300000
Shawana
pythondev_help_Shawana_2019-02-20T09:08:36.300000
1,550,653,716.3
9,614
pythondev
help
just curious, if you create a shortcut on your desktop (or since it's just a test anyplace easy 'C:\Temp') and try to run it from there do you get the same error?
2019-02-20T09:33:18.301900
Marth
pythondev_help_Marth_2019-02-20T09:33:18.301900
1,550,655,198.3019
9,615
pythondev
help
yes
2019-02-20T09:33:30.302100
Shawana
pythondev_help_Shawana_2019-02-20T09:33:30.302100
1,550,655,210.3021
9,616
pythondev
help
Probably a dumb question, but have you double checked the permissions on the file itself, just to make sure it's not read-only or something?
2019-02-20T09:39:00.000700
Chelsey
pythondev_help_Chelsey_2019-02-20T09:39:00.000700
1,550,655,540.0007
9,617
pythondev
help
:yep:
2019-02-20T09:54:01.000900
Shawana
pythondev_help_Shawana_2019-02-20T09:54:01.000900
1,550,656,441.0009
9,618
pythondev
help
those look like terminal commands, which is what that subprocess stuff is being used for
2019-02-20T10:44:06.001200
Ashley
pythondev_help_Ashley_2019-02-20T10:44:06.001200
1,550,659,446.0012
9,619
pythondev
help
python doesn't need to know where the commands come from as long as enterring them into the command line/terminal will actually do something
2019-02-20T10:44:40.001400
Ashley
pythondev_help_Ashley_2019-02-20T10:44:40.001400
1,550,659,480.0014
9,620