Hi,
I have created one library file "modified_python_automation_tcl.py"..Inside my
library file I have set of codes as follows.
import sys
import time
from datetime import datetime
import re,sys,os,itertools,datetime,commands,logging,math,time,copy,inspect
from robot.api import logger
import uni
On 15/12/2017 09:58, supsw...@gmail.com wrote:
Hi,
I have created one library file
"modified_python_automation_tcl.py"..Inside my library file I have
set of codes as follows.
import sys import time from datetime import datetime import
re,sys,os,itertools,datetime,commands,logging,math,time,copy
On Fri, 15 Dec 2017 09:09 pm, Tim Golden wrote:
> Apart from anything else these need to be raw strings:
>
> sys.path.append(r'C:\Python27\Lib\lib-tk')
Don't use raw strings for paths. It's a trap:
r'C:\Python27' # okay
r'C:\Python27\' # fails
Windows supports / as directory separator. Yo
On Fri, 15 Dec 2017 09:48 am, Gregory Ewing wrote:
> Rhodri James wrote:
>> Even then there was RiscOS, which divorced file names from file types
>> entirely.
>
> As did classic MacOS.
Classic MacOS associated two such pieces of metadata with each file: the
creator and type. Regardless of the op
Hi
Time measurment with module timeit seems to work with some
statements but not with some other statements on my computer.
Python version 3.6.3
from timeit import Timer
Timer("'-'.join([str(i) for i in range(10)])").timeit(1)
0.179271876732912
Timer("'-'.join([str(i) for i in range(1
I would like to throw at you some problem that I don't know how to best
approach :)
Have an interactive CLI python program that holds credentials entered by
the user. I want users to be able to spawn a new instance of this program
(on another TTY) without the need of reentering credentials. Want t
Hi, I've been trying to get python 3.4.3 (needed for programming course) on my
mac, running High Sierra.
I've installed python and activetcl 8.5.18 as per instructions. When I start
IDLE from finder it flashes in the dock and disappears. When I start it from
terminal, I get the following respons
Hi All,
I'm new to programming, can anyone guide me, how to start learning python
programming language,...plz suggest some books also.
Thanks all
--
https://mail.python.org/mailman/listinfo/python-list
Hi folks!
I'm happy to announce the release of Pylint 1.8, along with Astroid 1.6!
This is going to be the last version that will work on Python 2.
Starting with the
next planned version, 2.0, we are going to support only Python 3.5+.
1.8 will most
likely become a LTS release, with bug fixes bac
On 2017-12-15 11:36, ast wrote:
> Hi
>
> Time measurment with module timeit seems to work with some statements
> but not with some other statements on my computer.
>
> Python version 3.6.3
>
> from timeit import Timer
>
Timer("'-'.join([str(i) for i in range(10)])").timeit(1)
> 0.17927
On 12/15/2017 6:37 AM, ceiussandi...@gmail.com wrote:
Hi, I've been trying to get python 3.4.3 (needed for programming course) on my
mac, running High Sierra.
I've installed python and activetcl 8.5.18 as per instructions. When I start
IDLE from finder it flashes in the dock and disappears. Whe
On Fri, 15 Dec 2017 11:48:20 +1300, Gregory Ewing wrote:
> Rhodri James wrote:
>> Even then there was RiscOS, which divorced file names from file types
>> entirely.
>
> As did classic MacOS.
>
> I believe MacOSX also has the ability to store a file type as metadata,
> but it doesn't seem to be u
Thomas Jollans wrote:
> On 2017-12-15 11:36, ast wrote:
>> Hi
>>
>> Time measurment with module timeit seems to work with some statements
>> but not with some other statements on my computer.
>>
>> Python version 3.6.3
>>
>> from timeit import Timer
>>
> Timer("'-'.join([str(i) for i in ra
On Fri, 15 Dec 2017 09:36 pm, ast wrote:
[...]
> It's OK, with 10 more loops I get 10 more execution time.
>
> But with exponentiation, it's a mess
>
Timer("x=123456**123456").timeit(1)
> 6.076191311876755e-06
Timer("x=123456**123456").timeit(10)
> 3.841270313387213e-06
>
> All wrong,
On Fri, 15 Dec 2017 10:47 pm, Thomas Jollans wrote:
> On 2017-12-15 11:36, ast wrote:
>> Hi
>>
>> Time measurment with module timeit seems to work with some statements
>> but not with some other statements on my computer.
>>
>> Python version 3.6.3
>>
>> from timeit import Timer
>>
> Timer
On Friday, December 15, 2017 at 12:44:14 PM UTC, Terry Reedy wrote:
> On 12/15/2017 6:37 AM, ceiussandi...@gmail.com wrote:
> > Hi, I've been trying to get python 3.4.3 (needed for programming course) on
> > my mac, running High Sierra.
> > I've installed python and activetcl 8.5.18 as per instruc
"Thomas Jollans" a écrit dans le message de
news:mailman.74.1513341235.14074.python-l...@python.org...
On 2017-12-15 11:36, ast wrote:
No, this is right. The calculation takes practically no time; on my
system, it takes some 10 ns. The uncertainty of the timeit result is at
least a few hun
On Sat, 16 Dec 2017 12:25 am, ast wrote:
>
> "Thomas Jollans" a écrit dans le message de
> news:mailman.74.1513341235.14074.python-l...@python.org...
>> On 2017-12-15 11:36, ast wrote:
>
>
>> No, this is right. The calculation takes practically no time; on my
>> system, it takes some 10 ns. Th
On 15 December 2017 at 13:25, ast wrote:
> On my computer it takes roughtly 4 s, mesured with a watch.
Is your computer particularly old? On my PC, the time it takes to run
x=123456**123456 at the Python interpreter prompt is barely
noticeable.
> I can't do "len(str(x))" to know the size, I have
"ast" a écrit dans le message de
news:5a33a5aa$0$10195$426a7...@news.free.fr...
Ty Peter and Steve, I would never have found that
explanation myself
--
https://mail.python.org/mailman/listinfo/python-list
I've been slowly reading through "Learning Python: Powerful
Object-Oriented Programming" - (
https://www.amazon.com/Learning-Python-Powerful-Object-Oriented-Programming-ebook/dp/B00DDZPC9S/ref=sr_1_2?ie=UTF8&qid=1513350446&sr=8-2&keywords=learning+python+powerful+object-oriented+programming
)
On 2017-12-15, Steve D'Aprano wrote:
> On Fri, 15 Dec 2017 09:48 am, Gregory Ewing wrote:
[...]
> Classic MacOS associated two such pieces of metadata with each file: the
> creator and type. [...]
>
> https://en.wikipedia.org/wiki/Creator_code
>
>> I believe MacOSX also has the ability to store a
I get a very short delay when doing the calculation. 1.90734863281e-06 to
be precise.
But, printing the result takes much longer. 4.82930707932 seconds.
On Fri, Dec 15, 2017 at 6:47 AM, Paul Moore wrote:
> On 15 December 2017 at 13:25, ast wrote:
> > On my computer it takes roughtly 4 s, mes
SpamBayes (http://www.spambayes.org/) has languished for quite awhile,
in part because nobody is around who can put together a Windows
installer. Unfortunately, most users are on Windows and have to work
around problems caused by the march of time and consequent beefing up
of Windows security.
I d
Getting SSL error while connecting from httplib.HTTPSConnection.
Any help would be appreciated.
self.connection.request(method, request, payload, self.headers)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",
line 1053, in request
self._send_requ
Varun R wrote:
Hi All,
I'm new to programming, can anyone guide me, how to start learning python
programming language,...plz suggest some books also.
Thanks all
Are you sure you want to learn Python first?
Python does enough things "behind the scene"
that it makes me question the wisdom of t
On Sat, Dec 16, 2017 at 8:51 AM, Bill wrote:
> Varun R wrote:
>>
>> Hi All,
>>
>> I'm new to programming, can anyone guide me, how to start learning python
>> programming language,...plz suggest some books also.
>>
>> Thanks all
>
>
> Are you sure you want to learn Python first?
> Python does enou
Steve D'Aprano wrote:
They are still supported (-ish) by OS X, but have been superseded by Uniform
Type Identifiers.
https://en.wikipedia.org/wiki/Uniform_Type_Identifier
I know, what I'm not sure about is how much those are used
by apps these days, with so much of the widely used software
be
Grant Edwards wrote:
Where are the UTIs stored? Do OS X filesystems still have a "resource
fork"?
UTIs are stored as extended attributes.
Resource forks still exist, but they're deprecated. Things that
used to be kept in resource forks are now usually just files in
the application bundle -- w
On 12/15/17 2:03 PM, Skip Montanaro wrote:
SpamBayes (http://www.spambayes.org/) has languished for quite awhile,
in part because nobody is around who can put together a Windows
installer. Unfortunately, most users are on Windows and have to work
around problems caused by the march of time and co
Anyone else now getting duplicate posts with the sender's
name repeated in parentheses?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-12-15 23:56, Gregory Ewing wrote:
Anyone else now getting duplicate posts with the sender's
name repeated in parentheses?
It's happened twice before, but I haven't had any today.
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico wrote:
On Sat, Dec 16, 2017 at 8:51 AM, Bill wrote:
Varun R wrote:
Hi All,
I'm new to programming, can anyone guide me, how to start learning python
programming language,...plz suggest some books also.
Thanks all
Are you sure you want to learn Python first?
Python does enoug
On Saturday, December 16, 2017 at 9:45:17 AM UTC+5:30, Bill wrote:
> Chris Angelico wrote:
> > On Sat, Dec 16, 2017 at 8:51 AM, Bill wrote:
> >> Varun R wrote:
> >>> Hi All,
> >>>
> >>> I'm new to programming, can anyone guide me, how to start learning python
> >>> programming language,...plz sugge
34 matches
Mail list logo