On Feb 8, 2016 7:07 AM, "Cem Karan" wrote:
>
>
>
> I know that there are methods of handling this from the client-side
(tuples with unique counters come to mind), but if your library can handle
it directly, then that could be useful to others as well.
yeah it is a good idea to do at client side.
Às 21:46 de 07-02-2016, Paulo da Silva escreveu:
> Hello!
>
> This may not be a strict python question, but ...
>
> Suppose I have already a class MyFile that has an efficient method (or
> operator) to compare two MyFile s for equality.
>
> What is the most efficient way to obtain all sets of eq
On Jan 30, 2016, at 5:47 PM, Sven R. Kunze wrote:
> Hi again,
>
> as the topic of the old thread actually was fully discussed, I dare to open a
> new one.
>
> I finally managed to finish my heap implementation. You can find it at
> https://pypi.python.org/pypi/xheap + https://github.com/srku
On Feb 7, 2016, at 4:46 PM, Paulo da Silva
wrote:
> Hello!
>
> This may not be a strict python question, but ...
>
> Suppose I have already a class MyFile that has an efficient method (or
> operator) to compare two MyFile s for equality.
>
> What is the most efficient way to obtain all sets
On 2016-02-08 00:05, Paulo da Silva wrote:
> Às 22:17 de 07-02-2016, Tim Chase escreveu:
>> all_files = list(generate_MyFile_objects())
>> interesting = [
>> (my_file1, my_file2)
>> for i, my_file1
>> in enumerate(all_files, 1)
>> for my_file2
>> in all_files[i:]
>> if m
Running python setup.py develop doesn't work, it gives me this error: error:
invalid command 'develop'
Running pip install -e . does work. This is somewhat reasonable, and I think
may work for my purposes, but it has the following drawbacks:
- you have to create a fake package with a fake versio
Às 22:17 de 07-02-2016, Tim Chase escreveu:
> On 2016-02-07 21:46, Paulo da Silva wrote:
...
>
> If you the MyFile objects can be unique but compare for equality
> (e.g. two files on the file-system that have the same SHA1 hash, but
> you want to know the file-names), you'd have to do a paired se
On 2016-02-07 21:46, Paulo da Silva wrote:
> Suppose I have already a class MyFile that has an efficient method
> (or operator) to compare two MyFile s for equality.
>
> What is the most efficient way to obtain all sets of equal files (of
> course each set must have more than one file - all single
On 7 Feb 2016 21:51, "Paulo da Silva"
wrote:
>
> Hello!
>
> This may not be a strict python question, but ...
>
> Suppose I have already a class MyFile that has an efficient method (or
> operator) to compare two MyFile s for equality.
>
> What is the most efficient way to obtain all sets of equal
On Mon, Feb 8, 2016 at 8:46 AM, Paulo da Silva
wrote:
> Hello!
>
> This may not be a strict python question, but ...
>
> Suppose I have already a class MyFile that has an efficient method (or
> operator) to compare two MyFile s for equality.
>
> What is the most efficient way to obtain all sets of
Hello!
This may not be a strict python question, but ...
Suppose I have already a class MyFile that has an efficient method (or
operator) to compare two MyFile s for equality.
What is the most efficient way to obtain all sets of equal files (of
course each set must have more than one file - all
Hello guys,
So basically, a print job (.SPL file) is generated during local spooling as
soon as a document is requested to print. I do NOT want to handle this
event.
I want to trigger a callback function as soon as a print job reaches a
print server regardless of whether it begins to immediately
2016-02-07 12:19 GMT+01:00 :
> I'm using this as a starting point for creating a grid to view and
> edit some sqlite data:-
>
> http://www.salstat.com/news/linking-wxgrid-to-sqlite-database-in-python-an-example
>
> I can actually understand most of it which is a good start.
>
> However my dat
I if it's more than few files, I use 'develop' as Kevin noted in the note
before:
- http://www.ewencp.org/blog/a-brief-introduction-to-packaging-python/
Hope this helps..
-Sivan
On Sun, Feb 7, 2016 at 6:09 PM, Kevin Conway
wrote:
> You can use 'setup.py develop' or 'pip install -e' to install
You can use 'setup.py develop' or 'pip install -e' to install your package
in editable mode. It makes it so your local code is used. Modifications are
seen immediately.
On Sun, Feb 7, 2016, 08:16 wrote:
> I see that this would work once you've installed the package, but how do
> you develop it?
On 07.02.2016 12:19, c...@isbd.net wrote:
However my database has quite a lot of Unicode data as there are
French (and other) names with accents etc. What's the right way to
handle this reasonably neatly? At the moment it traps an error at
line 37:-
self.SetCellValue(row_num, i, str(cells[
I see that this would work once you've installed the package, but how do you
develop it? Say you are working on a change that modifies both email.py and
reports.py. Do you run setup.py every time you make a change in email.py?
On Sunday, February 7, 2016 at 1:35:15 AM UTC-5, Kevin Conway wrote:
Chris Angelico wrote:
> On Sun, Feb 7, 2016 at 11:42 PM, wrote:
> >
> > Are there any Python 3 GUIs that would be reasonably easy to move to?
> > E.g. ones which have a grid object and which work in the same sort of
> > way as wxpython in general?
>
> Grid object? I'm not sure. But all of my GU
On Sun, Feb 7, 2016 at 11:42 PM, wrote:
>
> Are there any Python 3 GUIs that would be reasonably easy to move to?
> E.g. ones which have a grid object and which work in the same sort of
> way as wxpython in general?
Grid object? I'm not sure. But all of my GUI work of late has been
with GTK, and
Chris Angelico wrote:
>
> So the question then becomes: Under Python 3, can you use regular
> string objects for both the things you're working with? I can confirm
> that the inbuilt sqlite3 module works just fine with Unicode text; so
> all you need to do is try out your GUI code under Python 3.
On Sun, Feb 7, 2016 at 10:19 PM, wrote:
> My system (xubuntu 15.10) is all UTF8 so accented characters are
> handled by the display, in terminals, etc. correctly. I'm currently
> using python 2.7 for this but would be quite happy to move to 3.4 if
> this handles UTF8 better (I seem to remember i
in sake of providing another example, as I ran into the same problem and
fixed it the very same way, one can also take a look at:
(this is the main executable)
https://github.com/sivang/navistore/blob/master/navistore/backend/nhttpserver.py
Note the explicit imports in lines 19-22 to allow the exe
I'm using this as a starting point for creating a grid to view and
edit some sqlite data:-
http://www.salstat.com/news/linking-wxgrid-to-sqlite-database-in-python-an-example
I can actually understand most of it which is a good start.
However my database has quite a lot of Unicode data as t
"Marko Rauhamaa" wrote in message news:871t8orhua@elektro.pacujo.net...
"Frank Millman" :
> I have never been able to get Ctrl+C to work properly on Windows, so I
> use a separate thread that simply waits for Enter.
Now you are leaving my realm of expertise, as I haven't programmed for
wi
On 07/02/2016 00:34, donald alsept via Python-list wrote:
Hello,
I'm trying to install the 3.5.1 of Python and am running windows 7. I keep
getting an error about api-ms-win-crt-runtime-|1-1-0.dll not being installed.
Any advice on what is wrong?
Hello and welcome.
This question has been as
Hello,
I'm trying to install the 3.5.1 of Python and am running windows 7. I keep
getting an error about api-ms-win-crt-runtime-|1-1-0.dll not being installed.
Any advice on what is wrong?
--
https://mail.python.org/mailman/listinfo/python-list
"Frank Millman" :
> I have never been able to get Ctrl+C to work properly on Windows, so I
> use a separate thread that simply waits for Enter.
Now you are leaving my realm of expertise, as I haven't programmed for
windows since Windows 1.0. Mixing threads, asyncio, input() and Windows
seems like
"Marko Rauhamaa" wrote in message news:87r3gpq7mi@elektro.pacujo.net...
I can't see your complete program, but here's mine, and it seems to be
working
Thanks, Marko, I really appreciate your assistance.
I wanted to show you my complete program, but as it is quite long I
distilled it
Shaunak Bangale writes:
> ...
> while (count > 0):
> try :
> # read line from file:
> print(file.readline())
> # parse
> parse_json(file.readline())
> count = count - 1
> except socket.error as e:
> print('Connection fail', e)
> print
On Sun, Feb 7, 2016 at 6:51 PM, Paul Rubin wrote:
> Rustom Mody writes:
>> Data (science) is after all the hot subject
>> A programmer moving into that field typically starts with python
>> A statistician typically starts R
>
> There aren't THAT many statisticians out there, compared to programme
30 matches
Mail list logo