On Sat, Jul 11, 2015, at 03:28, Chris Warrick wrote:
> That’s not necessarily “older”.
>
> Windows XP/7/8: My Documents
> Windows Vista/8.1: Documents
Mine's called Documents on 7 and 8. Is the system you got this
information from a new install or an upgrade? (It may also depend on
whether it's a
On 8/1/2015 12:21 AM, Seb wrote:
It seems too cumbersome to have to update `sys.path` to include the
development tree of a package (and sub-packages) that's still very
young. With lots of debugging to do, the last thing I'd want is to
worry about the search path. So I've been searching for bet
Seb writes:
> It seems too cumbersome to have to update `sys.path` to include the
> development tree of a package (and sub-packages) that's still very
> young. With lots of debugging to do, the last thing I'd want is to
> worry about the search path. So I've been searching for better ways to
>
writes:
> What about using the append function to remove duplicate outputs entered on
> or thereafter line no. 9, i.e.,
As far as I know, "append" does not have intelligence in this respect.
Thus, if you need intelligence, your program must implement it.
In cases like yours, I use
a) added
On Sat, 1 Aug 2015 01:08 pm, Rick Johnson wrote:
> On Friday, July 31, 2015 at 1:33:36 AM UTC-5, Paul Rubin wrote:
>> The Dropbox cluster runs a modified Python 2.7, he said, which
>> elicited audience laughter. "I said it, it is no secret", he said.
>
> Yep, even the BDFL is actively developing
Seb writes:
> With lots of debugging to do, the last thing I'd want is to worry
> about the search path.
Short answer: you need ‘python3 ./setup.py develop’.
Medium-length answer: you need to add some infrastructure to get your
project to the point where you can run ‘python3 ./setup.py develop’
Hello,
It seems too cumbersome to have to update `sys.path` to include the
development tree of a package (and sub-packages) that's still very
young. With lots of debugging to do, the last thing I'd want is to
worry about the search path. So I've been searching for better ways to
work, but I can'
On 31Jul2015 18:26, Chris Angelico wrote:
On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote:
For example, bash lacks
decent timezone support, so I can well believe random832's guess that
your five-hour offset is a simulation of that; but Python can do much
better work with timezones, so y
On Friday, July 31, 2015 at 1:33:36 AM UTC-5, Paul Rubin wrote:
> The Dropbox cluster runs a modified Python 2.7, he said, which
> elicited audience laughter. "I said it, it is no secret", he said.
Yep, even the BDFL is actively developing in 2.7! He's no fool.
--
https://mail.python.org/mailman
On 07/30/2015 11:15 PM, dieter wrote:
Gary Roach writes:
Being new to Django and Python, I have two projects setup side by
side, each in it's own virtualenv wrapper.
The twr_project is running Django 1.7, python 2.7 and is set up to
duplicate the 'Tango With Rango' tutorial.
The archivedb proje
On Fri, Jul 31, 2015 at 9:21 PM, Steve Burrus
wrote:
> How Do I access tkinter in Python 3.4 anyway? I've tried and tried but
> cannot do it.
>
You import it.
If I play mind-reader for a second, I suspect you're trying to do in Python
3 what you did in Python 2. That won't work -- the Tkinte
How Do I access tkinter in Python 3.4 anyway? I've tried and tried but cannot
do it.
--
https://mail.python.org/mailman/listinfo/python-list
Thomas 'PointedEars' Lahn writes:
> [X-Post & F'up2 comp.unix.shell]
>
> Chris Angelico wrote:
>
>> On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote:
>>> Actually, bash has no timezone support but the date command _does_, and
>>> probably neither better nor worse than Python. All one has t
Den 2015-07-31 skrev Robin Koch :
> Am 30.07.2015 um 22:31 schrieb Martin Schöön:
>
>> Scores to the right show how many wishes are fulfilled in each room
>
> Is it possible the is a mistake in the sum column on the third row?
> Should the be a 1?
Indeed.
>
>> The goal is to re-shuffle the array t
Den 2015-07-31 skrev Thomas 'PointedEars' Lahn :
> Mark Lawrence wrote:
>>
>> I'm not absolutely certain but I think you're into what's known as a
>> constraint satisfaction problem, in which case this
>> https://pypi.python.org/pypi/python-constraint/1.2 is as good a starting
>> point as any. If
Prasad Katti wrote:
> On Tuesday, July 28, 2015 at 12:56:29 AM UTC-7, Michael Ströder wrote:
>> Prasad Katti wrote:
>>> I am writing a command line tool in python to generate one time
>>> passwords/tokens. The command line tool will have certain sub-commands like
>>> --generate-token and --list-all
On Tuesday, July 28, 2015 at 12:56:29 AM UTC-7, Michael Ströder wrote:
> Prasad Katti wrote:
> > I am writing a command line tool in python to generate one time
> > passwords/tokens. The command line tool will have certain sub-commands like
> > --generate-token and --list-all-tokens for example. I
Zachary Ware wrote:
On Jul 30, 2015 2:05 AM, "ElChino" mailto:elch...@cnn.cn>>
wrote:
>
> If I in a cmd-shell (actually it is 4NT), do:
> c:>py -3 -V & python3 -V
>
> I get:
> Requested Python version (3) not installed << ! from py -3 -V
> Python 3.5.0b2 << ! from the 2nd cmd.
On Sat, Aug 1, 2015 at 12:26 AM, Grant Edwards wrote:
> On 2015-07-31, Chris Angelico wrote:
>
>> There are two basic approaches to this kind of job.
>>
>> 1) Go through every line of bash code and translate it into
>>equivalent Python code. You should then have a Python script which
>>bl
On 2015-07-31, Chris Angelico wrote:
> There are two basic approaches to this kind of job.
>
> 1) Go through every line of bash code and translate it into
>equivalent Python code. You should then have a Python script which
>blindly and naively accomplishes the same goal by the same method
On Fri, 31 Jul 2015 08:07:23 +0200, dieter wrote:
> Keep in mind that Python is a (more or less) "general purpose" language
> which does not know about "jsonquery". It has "and", "or" and "not"
> operators (defined in the language reference) *BUT* these are not the
> operators you are looking for.
[X-Post & F'up2 comp.unix.shell]
Chris Angelico wrote:
> On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote:
>> Actually, bash has no timezone support but the date command _does_, and
>> probably neither better nor worse than Python. All one has to do is set
>> the TZ environment variable, e
On Fri, 31 Jul 2015 06:47 pm, Antoon Pardon wrote:
> That is different behaviour from python2, which gives me
> the expected result. My guess is that the write returns
> 11, being the number of characters written en that the
> interpreter, shows that each time through the loop.
In Python 3, write
On Fri, Jul 31, 2015 at 6:47 PM, Antoon Pardon
wrote:
> That is different behaviour from python2, which gives me
> the expected result. My guess is that the write returns
> 11, being the number of characters written en that the
> interpreter, shows that each time through the loop.
>
> But is this
I'm using python 3.4.2 on debian 8.
This is the code:
8< =
import sys
write = sys.stdout.write
from math import pi
frac = 3
for a in range(2 * frac):
write("%2d: %6.4f\n" % (a, a * pi / frac))
= 8<
Now when this code is written in a file and executed
I get the expected
Chris Angelico schrieb am 31.07.2015 um 09:37:
> On Fri, Jul 31, 2015 at 5:26 PM, Stefan Behnel wrote:
>> Your C code seems to be only about 1500 lines, not too late to translate
>> it. That should save you a couple of hundred lines and at the same time
>> make it work with Python 3 (which it curre
On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote:
>> For example, bash lacks
>> decent timezone support, so I can well believe random832's guess that
>> your five-hour offset is a simulation of that; but Python can do much
>> better work with timezones, so you can get that actually correct.
On 31Jul2015 17:47, Chris Angelico wrote:
On Fri, Jul 31, 2015 at 4:31 AM, wrote:
#!/bin/bash
[...]
_year=$(date -d "-5 hour" +%Y)
_month=$(date -d "-5 hour" +%m)
[...]
For example, bash lacks
decent timezone support, so I can well believe random832's guess that
your five-hour offset is a
On Fri, Jul 31, 2015 at 4:31 AM, wrote:
> #!/bin/bash
>
> _maillist='pa...@email.com'
> _hname=`hostname`
> _logdir=/hadoop/logs
> _dirlog=${_logdir}/directory_check.log
>
> _year=$(date -d "-5 hour" +%Y)
> _month=$(date -d "-5 hour" +%m)
> _day=$(date -d "-5 hour" +%d)
> _hour=$(date -d "-5 hour
On Fri, Jul 31, 2015 at 5:26 PM, Stefan Behnel wrote:
> Your C code seems to be only about 1500 lines, not too late to translate
> it. That should save you a couple of hundred lines and at the same time
> make it work with Python 3 (which it currently doesn't, from what I see).
I was just looking
baruc...@gmail.com schrieb am 30.07.2015 um 22:09:
> It is written in pure C with the CPython C-API in order to get the highest
> possible speed.
This is a common fallacy. Cython should still be able to squeeze another
bit of performance out of your wrapper for you. It tends to know the C-API
bet
On Friday, July 31, 2015 at 12:03:36 PM UTC+5:30, Paul Rubin wrote:
> The final question was about what he hates in Python. "Anything to do
> with package distribution", he answered immediately. There are problems
> with version skew and dependencies that just make for an "endless
> mess". He dread
32 matches
Mail list logo