Re: [Tutor] Open a libreoffice calc file in Python

2016-12-21 Thread eryk sun
On Thu, Dec 22, 2016 at 4:50 AM, wrote: > BTW, the array form is Popen's default mode; sensibly you need to _ask_ to > use a shell string with shell=True, because that is harder and more fragile. Without shell=True, args as a string on POSIX is generally an error because it will look for the ent

Re: [Tutor] Open a libreoffice calc file in Python

2016-12-21 Thread cs
On 21Dec2016 21:54, boB Stepp wrote: On Wed, Dec 21, 2016 at 9:37 PM, Jim Byrnes wrote: Python 3.4 on Ubuntu If I was going to open a libreoffice calc file from the terminal I would go: libreoffice --calc /home/path/to/myfile.ods. How would I do this from Python? My first thought was: impo

Re: [Tutor] Open a libreoffice calc file in Python

2016-12-21 Thread boB Stepp
On Wed, Dec 21, 2016 at 9:37 PM, Jim Byrnes wrote: > Python 3.4 on Ubuntu > > If I was going to open a libreoffice calc file from the terminal I would go: > libreoffice --calc /home/path/to/myfile.ods. > > How would I do this from Python? My first thought was: import os os.system(insert_your_co

[Tutor] Open a libreoffice calc file in Python

2016-12-21 Thread Jim Byrnes
Python 3.4 on Ubuntu If I was going to open a libreoffice calc file from the terminal I would go: libreoffice --calc /home/path/to/myfile.ods. How would I do this from Python? Thanks, Jim ___ Tutor maillist - Tutor@python.org To unsubscribe or c

Re: [Tutor] Trouble Launching Python

2016-12-21 Thread eryk sun
On Tue, Dec 20, 2016 at 7:12 PM, George Fischhof wrote: > 2016-12-19 23:38 GMT+01:00 Joseph Olugbohunmi via Tutor : > > this is a Microsoft visual c++ redistributable is missing from system. > I found this stackoverflow link which seems to describing a solution > > http://stackoverflow.com/questio

Re: [Tutor] Using Python to solve factoria

2016-12-21 Thread boB Stepp
Welcome! On Wed, Dec 21, 2016 at 1:50 AM, Hedgar wrote: > Hello, > > I really happy to be accepted to the list! > This is my current function: > > def factoria(numb): > While numb > 1: > If numb==0: > return 1 > Else: > result = numb*(numb-1) > numb = numb -1 > return result > factoria(5) > #shou

[Tutor] Fwd: Question about selenium with python

2016-12-21 Thread Fazal Khan
Hello, Im a new programmer and this is my first time posting here. I have a question about using selenium with python. My first question is how do I get selenium to click on a link contained within a specific cell of a table? I know how to get selenium to click on a link in general but in this cas

[Tutor] Using Python to solve factoria

2016-12-21 Thread Hedgar
Hello, I really happy to be accepted to the list! This is my current function: def factoria(numb): While numb > 1: If numb==0: return 1 Else: result = numb*(numb-1) numb = numb -1 return result factoria(5) #should output 120 What am I not getting right? Thanks Heddy Sent from my iPhone > On 21

Re: [Tutor] Trouble Launching Python

2016-12-21 Thread George Fischhof
2016-12-19 23:38 GMT+01:00 Joseph Olugbohunmi via Tutor : > Hello,Good day, I installed Python 3.5.2 on my Windows 8.1 PC and then I > tried launching IDLE as well as the Interpreter but I got a message that > api-ms-win-crt-runtime-l1-1-0.dll was missing. I downloaded and installed > that after