ed software
* Scaling Python applications
Volunteers
We will also call for volunteers to help us run the event and help us
with the devroom operation. Please email the organizers, in case you are
interested.
Organizers
You can reach out directly to the organizers, if you have a specific
request
Hello Python fellows,
I hope this question is not very far from the main topic of this list, but
I have a hard time finding a way to check whether audio data samples are
containing empty noise or actual significant voice/noise.
I am using PyAudio to collect the sound through my PC mic as follows:
I am trying to assess whether the lips of a person are moving too much
while the mouth is closed (to conclude they are chewing).
I try to assess the lip movement through landmarks (dlib) :
Inspired by the mouth example (
https://github.com/mauckc/mouth-open/blob/master/detect_open_mouth.py#L17),
Could you show a python code example of this?
On Thu, 26 Sept 2024, 03:08 Cameron Simpson, wrote:
> On 25Sep2024 22:56, marc nicole wrote:
> >How to create a per-thread event in Python 2.7?
>
> Every time you make a Thread, make an Event. Pass it to the thread
> worker funct
How to create a per-thread event in Python 2.7?
On Wed, 25 Sept 2024, 22:47 Cameron Simpson via Python-list, <
python-list@python.org> wrote:
> On 25Sep2024 19:24, marc nicole wrote:
> >I want to know how to kill a specific running thread (say by its id)
> >
> >for
Hello guys,
I want to know how to kill a specific running thread (say by its id)
for now I run and kill a thread like the following:
# start thread
thread1 = threading.Thread(target= self.some_func(), args=( ...,), )
thread1.start()
# kill the thread
event_thread1 = threading.Event()
event_thread
reading the console DID display the messages correctly!
Thanks.
Le mar. 3 sept. 2024 à 10:48, Alan Gauld via Tutor a
écrit :
> On 02/09/2024 15:00, marc nicole via Python-list wrote:
> > Hello,
> >
> > I am using Python 2.7 on Windows 10
>
> Others have pointed out th
Hello,
I am using Python 2.7 on Windows 10 and I want to launch a process
independently of the rest of the code so that the execution continues while
the started process proceeds. I am using Process().start() from Python 2.7
as follows:
from multiprocessing import Process
def do_something(text):
You invitation to read on machine is not helping, if you wanna enlighten us
on this specific case otherwise pls spare me such comments which i know
On Wed, 31 Jul 2024, 16:00 Grant Edwards via Python-list, <
python-list@python.org> wrote:
> On 2024-07-31, marc nicole via Python-li
and a sheep wont have any target position or any probability
whatsoever in the image weirdobject.jpg
On Wed, 31 Jul 2024, 00:19 dn via Python-list,
wrote:
> On 31/07/24 06:18, marc nicole via Python-list wrote:
> > Hello all,
> >
> > I want to predict an object by given as in
OK, but how's the probability of small_ball greater than others? I can't
find it anyway, what's its value?
Le mar. 30 juil. 2024 à 21:37, Thomas Passin via Python-list <
python-list@python.org> a écrit :
> On 7/30/2024 2:18 PM, marc nicole via Python-list wrote:
> >
Hello all,
I want to predict an object by given as input an image and want to have my
model be able to predict the label. I have trained a model using tensorflow
based on annotated database where the target object to predict was added to
the pretrained model. the code I am using is the following w
Browsing the available version of tensorflow for the dates before January
2021 (date when Python 2.7 stopped being supported) I can't find a
tensorflow version for Python 2.7 that works under Windows.
The reference site I use is https://pypi.org/project/tensorflow/
Anybody can point out a compati
Tutor a
écrit :
> On 22/06/2024 13:41, marc nicole wrote:
>
> > So, given the x,y,z coordinates of a target object and the offset x,y,z
> of
> > arms of a robot, what is a good algorithm to perform to grab the object
> > between the hands (either from both sides o
Hello to all of this magnificent community!
I have this problem I had already spent a few days on and still can't
figure out a proper solution.
So, given the x,y,z coordinates of a target object and the offset x,y,z of
arms of a robot, what is a good algorithm to perform to grab the object
betwee
y and then do some fine
coordinated motions to capture the object and then presumably move it."
seems to be a good approach indeed,
The grabbing with both hands code should be more precise.
Thanks for the help anyways!
Le sam. 22 juin 2024 à 23:04, ThreeBlindQuarks
a écrit :
> Marc,
>
I am trying to install numpy library on Python 2.7.15 in PyCharm but the
error message I get is:
ERROR: Could not find a version that satisfies the requirement numpy (from
> versions: none)
> ERROR: No matching distribution found for numpy
> c:\python27\lib\site-packages\pip\_vendor\urllib3\util\s
?
Which tuple I should use to refer to the underlying list value as you
suggest?
Anything else is good in my code ?
Thanks
Le dim. 31 mars 2024 à 01:44, MRAB via Python-list
a écrit :
> On 2024-03-31 00:09, marc nicole via Python-list wrote:
> > I am creating a memoization example with
I am creating a memoization example with a function that adds up / averages
the elements of an array and compares it with the cached ones to retrieve
them in case they are already stored.
In addition, I want to store only if the result of the function differs
considerably (passes a threshold e.g.
So I am trying to build a binary tree hierarchy given numerical elements
serving for its leaves (last level of the tree to build). From the leaves I
want to randomly create a name for the higher level of the hierarchy and
assign it to the children elements. For example: if the elements inputted
are
It is part of a larger project aiming at processing data according to a
given algorithm
Do you have any comments or any enhancing recommendations on the code?
Thanks.
Le dim. 21 janv. 2024 à 18:28, Thomas Passin via Python-list <
python-list@python.org> a écrit :
> On 1/21/2024 11:54
1/2024 7:37 AM, marc nicole via Python-list wrote:
> > Hello,
> >
> > I have an initial dataframe with a random list of target cells (each cell
> > being identified with a couple (x,y)).
> > I want to yield four different dataframes each containing the value of
> one
Hello,
I have an initial dataframe with a random list of target cells (each cell
being identified with a couple (x,y)).
I want to yield four different dataframes each containing the value of one
of the contour (surrounding) cells of each specified target cell.
the surrounding cells to consider fo
Hi all,
I have a csv OLAP dataset that I want to extract the domain hierarchies
from each of its dimensions.
Anybody could recommend a Python tool that could manage this properly?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
azoni and
Marc-Andre Lemburg
--
https://mail.python.org/mailman/listinfo/python-list
Hello to All,
I want to create a cube from csv data file and to perform and aggregation
on it, the code is below:
from sqlalchemy import create_enginefrom cubes.tutorial.sql import
create_table_from_csvfrom cubes import Workspace, Cell, browser
import dataif __name__ == '__main__':
engine = c
Hello everyone,
Given a dataframe like this:
2 6
8 5
I want to yield the following list of lists:
[ [[2],[6,5]],
[[2],[6]],
[[2],[5]],
[[8],[6,5]],
[[8],[6]],
[[8],[5]],
[[6],[2,8]],
[[6],[8]],
[[6],[2]],
[[5],[2,8]],
[[5],[2]],
[[5],[8]],
[[6,5],[2,8]] ]
I have written the following (which d
hould
be /very/ easy to do.
- Marc
On 12/12/2022 5:01 pm, Steve GS wrote:
How do I subtract two time/dates and calculate the hours and minutes
between?
Steve
--
https://mail.python.org/mailman/listinfo/python-list
We’re happy to release another batch of 41 cut videos of EuroPython 2021
covering the third day sessions of the conference and a number of edited
videos for the previous days. In total, we now have 118 videos waiting
for you. You can watch them on our YouTube channel. We have created a
EuroPython 2
We are excited to announce the new EuroPython Society Fellow Grant.
The grant is intended to honor and show gratitude towards members of the
EuroPython Society (EPS) and the EuroPython Workgroups who have
contributed significantly towards our mission, the EuroPython conference
and the Society as a
We’re happy to release another batch of 35 cut videos of EuroPython 2021
covering most of the second day sessions of the conference. Together
with the first day videos, we now have 77 videos waiting for you. You
can watch them on our YouTube channel:
* EuroPython 2021 Playlist
We’re happy to release the first 42 cut videos of EuroPython 2021
covering the first day sessions of the conference. You can watch them on
our YouTube channel:
* EuroPython 2021 Playlist *
https://www.youtube.com/playlist?list=PL8uoeex94UhHgMD9GOCbEHWku7pEPx9fW
Over the next
Hi Robin,
seeing that no one replied to your question, I'd suggest to ask this
on the Python C-API ML:
https://mail.python.org/mailman3/lists/capi-sig.python.org/
That's where the experts are, including the ones who implemented
the mutli-phase logic.
Cheers,
--
Marc-Andre Lemburg
As last year, we are holding the General Assembly (GA) of the EuroPython
Society (EPS) online for this year.
General Assembly
In accordance with our bylaws, we are calling for the EuroPython Society
General Assembly to be held on Sunday, October 10th 2020, from 19:00 -
21:00 CEST
It has become a tradition at EuroPython to include a special data
science track.
* EuroPython 2021 Data Science Mini-Conference *
https://ep2021.europython.eu/events/data-science/
This year, we have expanded on the theme and included more data science
related content than ever be
This year's edition of EuroPython begins with two days of training
sessions as outlined in the schedule. Many of these last 3 hours,
however, we would like to highlight two specific workshops available to
those who want a deeper dive. They are most valuable for people new to
the Python language and
EuroPython 2021 begins next week. We are proud to present the keynote
speakers and our conference booklet.
Keynotes
The following keynotes will take place on Wednesday, Thursday and
Friday. Tickets are still available.
If you want to find out more about our keynote speakers, please head
The EuroPython Society (EPS) exists not only to run the EuroPython
Conference, but also to support the wider Python community in Europe. It
accomplishes this in many ways; here are two of them!
* EuroPython Society supporting the community *
https://blog.europython.eu/europython-202
We’re very happy to announce our merchandise shop for EuroPython 2021,
with a fabulous new design for the attendee t-shirts:
* EuroPython 2021 Merch Shop *
https://ep2021.europython.eu/europython/europython-merchandise-shop/
You can find the shop under the "EuroPython
Have you ever wanted to build an image search system, take a deep dive
into pytest or learn about algorithmic trading? Then we have a treat for
you!
The EuroPython conference will start with two full training and workshop
days on Monday, July 26th, and Tuesday, July 27th:
* Eu
EuroPython 2021 offers special discounts on business tickets for company
teams.
* EuroPython Volume Discounts *
https://ep2021.europython.eu/sponsor/packages/#Volume-Discount
If you are going to attend the conference as a team, we offer the
following volume discounts
In 2019, we have set up the Guido van Rossum Core Developer Grant, to
make it easy for Python Core Developers to attend EuroPython, but also
to give something back to the core team and add a perk to make core
development more attractive.
If you are a core developer, please check our grant page for
After two weeks of hard work by our program workgroup, we are very
excited to announce the EuroPython 2021 schedule:
* EuroPython 2021 Schedule *
https://ep2021.europython.eu/schedule/
Seven full days of Python
-
EuroPython 2021 will
Our program work group (WG) has been working hard over the last week to
select sessions for EuroPython 2021, based on your talk voting and our
diversity criteria.
We’re now happy to announce the initial list with more than 100
sessions, brought to you by more than 100 speakers.
Talk voting is your chance to tell us what you’d like to see at
EuroPython 2021. We will leave talk voting open until:
Sunday, May 23, 23:59:59 CEST
In order to vote, please log in to the website and navigate to the talk
voting page:
* EuroPython 2021 Talk
hey guys,
I have a hobby project that sorts my email automatically for me & I want
to improve it. There's data science and statistical info that I'm
missing, & I always enjoy reading about the pythonic way to do things too.
I have a list of percentage scores:
(1,11,1,7,5,7,2,2,2,10,10,1,2,2
USING PYTHON 2:
Write a program to play this game. This may seem tricky, so break it down into
parts. Like many programs, we have to use nested loops (one loop inside
another). In the outermost loop, we want to keep playing until we are out of
stones.
Inside that, we want to keep alternating p
uting the exact same code (peers)?
any thoughts?
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
I'd recommend you be willing to put in the time and effort to learn the
tools you want to use, if you want to do professional software
development. Pick one, use it for a month (at least 100+ hours of hands on
keyboard coding). Sublime, Vi are great for Python, since Python doesn't
require as muc
tation would be considered to be only 8 spaces wide.
I hope this helped a little. :)
Cheers
Marc.
--
https://mail.python.org/mailman/listinfo/python-list
Look into docstrings. They will make your code much more readable to a
Python reader.
On Sat, Jun 11, 2016 at 2:16 PM mad scientist jr
wrote:
> For those who don't want to have to wade through comments, here is a
> version without so many comments:
>
> # For Python 3.x
> # This script creates mul
The structure of your program is really not that Pythonic. I'd recommend
you take a look at PEP 8.
https://www.python.org/dev/peps/pep-0008/
It's not perfect, but it's a good start to get a feel for how to structure
your Python work.
Marc
On Fri, Jun 10, 2016 at 7:05 PM, Chr
that it was sometimes a bit more
annoying to get libraries installed, since it couldn't use any pre-compiled
binaries for Windows. I don't know if that's still the case, since this
was a few years back and I'm doing my dev work on a mac nowadays.
Marc
On Thu, Jun 2, 2016 at 7
I am pretty sure (but not 100%) that the pip that virtualenv installs when
it first creates the virtualenv is the version of pip installed on the
system. Here's the process I used to bootstrap a new Python 2.7 dev
environment.
1. Download and install the latest version of pip as sudo so it's syst
On Tue, Nov 24, 2015 at 9:17 PM, Marc Aymerich wrote:
> On Tue, Nov 24, 2015 at 8:41 PM, Zachary Ware
> wrote:
>> On Tue, Nov 24, 2015 at 12:37 PM, Marc Aymerich wrote:
>>> still it appears to work only if the main thread is in the foreground
>>> (as of calling
On Tue, Nov 24, 2015 at 9:17 PM, Marc Aymerich wrote:
> On Tue, Nov 24, 2015 at 8:41 PM, Zachary Ware
> wrote:
>> On Tue, Nov 24, 2015 at 12:37 PM, Marc Aymerich wrote:
>>> still it appears to work only if the main thread is in the foreground
>>> (as of calling
On Tue, Nov 24, 2015 at 8:41 PM, Zachary Ware
wrote:
> On Tue, Nov 24, 2015 at 12:37 PM, Marc Aymerich wrote:
>> still it appears to work only if the main thread is in the foreground
>> (as of calling Thread() with deamon=True), I don't get why it behaves
>> differen
On Tue, Nov 24, 2015 at 7:11 PM, Zachary Ware
wrote:
> On Tue, Nov 24, 2015 at 9:46 AM, Marc Aymerich wrote:
>> if __name__ == '__main__':
>> loop_container = {}
>> handler = threading.Thread(target=run_loop, args=(loop_container, ))
&g
definitive solution I'll be doing a
os.kill(os.getpid(), signal.SIGKILL) inside the finally block.
[1] https://docs.python.org/3.5/library/threading.html#threading.Thread.daemon
On Tue, Nov 24, 2015 at 4:46 PM, Marc Aymerich wrote:
> On Tue, Nov 24, 2015 at 4:29 PM, Marc Aymerich wrote:
>&
On Tue, Nov 24, 2015 at 4:29 PM, Marc Aymerich wrote:
> Hi,
>
> I have to run the asyncio.loop on a separated thread because the main
> thread is running FUSE. Apparently fuse needs to run on the main
> thread because it uses signal():
>
>
> File "/usr/loca
lly kill
the program each time :(
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
; can I get my files out faster?
Usually I use my home router (which has an attached HDD) for
downloading movies and stuff (big files) from the WAN... it has a
800Mhz mips cpu... anyway my experience with it is that:
rsync tops at ~400Kbps
apache+wget tops at ~1.1Mbps
netcat tops at ~1.4Mbps
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Oct 29, 2015 at 11:52 AM, Chris Angelico wrote:
> On Thu, Oct 29, 2015 at 9:35 PM, Marc Aymerich wrote:
>> 1) Each node on the cluster needs to keep track of *all* the changes
>> that ever ocurred. So far, each node is storing each change as
>> individual lines on a
On Wed, Oct 28, 2015 at 11:30 PM, Marc Aymerich wrote:
> Hi,
> I'm writting an application that saves historical state in a log file.
> I want to be really efficient in terms of used bytes.
>
> What I'm doing now is:
>
> 1) First use zlib.compress
> 2) A
e64 is far from ideal: adds lots of bytes to the compressed
log entry. So, I wonder if perhaps there is a better way to remove new
lines from the zlib output? or maybe a different approach?
Anyone?
Thanks!!
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
Hi all,
For a project, I need to copy a polygonal subset of an image. I have eight
points of panoramic image, and I want to copy this subset onto another
panoramic image.
I find ways to do this with PIL but only with a box mask. And I need a
polygonal subset from the eight points...
I'm new i
there is no way. You are trapped forever. Resistance is futile.
On 17/06/2015 5:09 PM, Deogratius Musiige wrote:
> Hi,
>
> How can i get off this mailing list?
>
>
>
> Best regards / Med venlig hilsen
>
> Deogratius Musiige
> Software Development Engineer
>
> *Sennheiser Communications A/
e other test proposed on stackechange correctly reports that I'm
not vulnerable ;)
root@web:/tmp# wget
https://webshare.uchicago.edu/orgs/ITServices/itsec/Downloads/GHOST.c
root@web:/tmp# gcc GHOST.c -o GHOST
root@web:/tmp# ./GHOST
not vulnerable
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Nov 11, 2014 at 6:26 PM, Larry Martell wrote:
> On Tue, Nov 11, 2014 at 12:18 PM, Marc Aymerich wrote:
>> On Tue, Nov 11, 2014 at 5:43 PM, Larry Martell
>> wrote:
>>> On Tue, Nov 11, 2014 at 11:00 AM, Marc Aymerich wrote:
>>>> On Tue, No
On Tue, Nov 11, 2014 at 5:43 PM, Larry Martell wrote:
> On Tue, Nov 11, 2014 at 11:00 AM, Marc Aymerich wrote:
>> On Tue, Nov 11, 2014 at 4:48 PM, Larry Martell
>> wrote:
>>>
>>> I have a PHP app that I want to convert to django. But I want to do it
>>&g
#x27;
'SERVER_PROTOCOL=HTTP/1.1 '
'REQUEST_URI=/nl/page '
'HTTP_HOST=site.tld '
'/usr/bin/php-cgi'
)
subprocess.Popen(cmd, stdout=subprocess.PIPE)
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
sed to have desktop applications other than the web
browser. But this was even before cloud computing began to emerge ;)
> --
>
Marc
--
https://mail.python.org/mailman/listinfo/python-list
; print('R\xe9ussi')
>
> > UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position
> > 1: ordinal not in range(128)
>
> >
>
> > What should i do to let the same program run on both OS, without changes
Hello YBM,
I tried your suggestions, without improvement.
Further, see my answer to Vincent Vande Vyre
Thanks anyway.
--
https://mail.python.org/mailman/listinfo/python-list
ussi')
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 1:
ordinal not in range(128)
What should i do to let the same program run on both OS, without changes?
Thank you for your answer
Marc Vanhoomissen
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Jul 29, 2014 at 8:19 PM, Marc Aymerich wrote:
> Hi, I'm desperately trying to construct an XML with the following document
> declaration:
>
> xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
>
> I'm using LXML, and what I'm doing is
ot;;
xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02"/>
I've tried everything I can imagine and this is the best I can do :(
Any idea on how to get the xmlns and xmlns:xsi attributes correctly?
Thanks!!
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
ething that is beyond your skill level.
Short of that you'll always be Bubba's "female dog".
Good day!
"Teach and learn twice". I love teaching people. It makes me better.
Marc
--
https://mail.python.org/mailman/listinfo/python-list
le "", line 1, in
> File "", line 2, in display
> TypeError: unorderable types: str() < bool()
>
> But for strings, this is the easiest way to get what you're looking for.
I would say using pprint.pprint is even easier and it works with your
failing example:
>>> pprint.pprint({True:1,"Hello":2})
{True: 1, 'Hello': 2}
Ciao
Marc
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 30, 2014 at 11:53 PM, Chris Angelico wrote:
> On Fri, Jan 31, 2014 at 9:46 AM, Marc Aymerich wrote:
>> GLOBAL = 0
>>
>> def update():
>> GLOBAL += 1
>
> If you assign to a name, Python makes it local, unless you explicitly
> tell it that you
credits" or "license" for more information.
>>> import globalstate
>>> globalstate.update()
Traceback (most recent call last):
File "", line 1, in
File "globalstate.py", line 4, in update
GLOBAL += 1
UnboundLocalError: local variable 'GL
good comparatives between both.
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
a JS library called highcharts, the django-side are only
views that dump some data in json format
perhaps in django-users mailing list you'll be able to find better
answers than here :)
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
@route and
> app.merge(app2) extra features.
The biggest performance gains on HTTP architectures are usually made
by doing proper HTTP caching. Without knowing anything about your
architecture is hard to tell something more specific :)
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
Hashes, by definition, are not reversible mathematically. The only way to
figure out what they represent is to take plaintext that might be the
plaintext based on anything you might know about the original plaintext
(which is often nothing) and hash it; then see if the hash matches the one
you hav
On Sun, Nov 24, 2013 at 3:37 PM, Chris Angelico wrote:
> On Mon, Nov 25, 2013 at 1:16 AM, Marc Aymerich wrote:
>> ... def do_get(self):
>> ... # Do a HTTP GET request.
>> ... return "Get stuff"
>> ... def do_put(self):
&
ET call will not be a problem since this
objects will be used in just a few particular places and the workflow
is always something like:
# Initiate firmware building
node.ctl.firmware()
# wait until finished
while node.ctl.firmware.progress < 100:
time.sleep(1)
Thanks for sharing your knowledge guys !!
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Nov 24, 2013 at 2:45 PM, Steven D'Aprano
wrote:
> On Sun, 24 Nov 2013 05:04:16 -0800, Devin Jeanpierre wrote:
>
>> On Sun, Nov 24, 2013 at 4:52 AM, Marc Aymerich
>> wrote:
>>> Hi,
>>> I'm playing with python internals to make ob
lf, name):
return HTTPAttribute(name)
But I'm stuck implementing the HTTP GET request when accessing
"object.attribute", Any idea ??
Thanks!!
--
Marc
--
https://mail.python.org/mailman/listinfo/python-list
ed:
outfile.write("Banner type: %s Banner Delimiter: %s\n" % (banner[0][0],
banner[0][1]))
outfile.write("Banner Text:\n")
outfile.write(banner[0][2])
Probably not the prettiest, most concise code, but it gets the job done.
Thanks again,
Marc
--
https://mail.python.org/mailman/listinfo/python-list
>Hi Marc, did you actually subscribe to the tutor list or did you just
>send an email there? Peter replied to you and you can see the reply
>here:
>https://mail.python.org/pipermail/tutor/2013-October/098156.html
>
>He only sent the reply back to the tutor list and didn'
>Hi Marc, did you actually subscribe to the tutor list or did you just
>send an email there? Peter replied to you and you can see the reply
>here:
>https://mail.python.org/pipermail/tutor/2013-October/098156.html
>
>He only sent the reply back to the tutor list and didn't em
>What was wrong with the answer Peter Otten gave you earlier today on the
>tutor mailing list?
>
>--
>Python is the second best programming language in the world.
>But the best has yet to be invented. Christian Tismer
>
>Mark Lawrence
>
I did not receive any answers from the Tutor list, so I tho
since it is
already done, if possible.
Any help in pointing me in the right direction would be most appreciated.
Thank you,
Marc
--
https://mail.python.org/mailman/listinfo/python-list
What does "list(range(13 * 4 * decks))" returns in Python 3?
>
A list of course. But Py3 range is very similar to Py2 xrange, it
returns a range object.
Adiaŭ
Marc
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, RVic,
>> python newbie
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
>
> list(range(13 * 4 * decks)) == range(13 * 4 * decks)
>
> ;)
Not in Python3.x
>>> decks = 6
>>> list(range(13 * 4 * decks)) == range(13 * 4 * decks)
False
Adiaŭ
Marc
--
http://mail.python.org/mailman/listinfo/python-list
ting a project right now that is limited to Python 2 is about as
> much use as a chocolate teapot.
I.e. not very useful, but slightly more so than you would expect:
http://www.thenakedscientists.com/HTML/content/kitchenscience/exp/how-useless-is-a-chocolate-teapot/
Adiaŭ
Marc
--
http://mail.python.org/mailman/listinfo/python-list
ronic application.
Regards, Marc
J. Marc Edwards, Lead Architect
Semiconductor Design Portals
Nimbis Services, Inc.
Cell - (919) 345-1021
Fax - (919) 882-8602
Skype - (919) 747-3775
jmarcedwa...@gmail.com
marc.edwa...@nimbisservices.com
-Original Message-
From: Python
ack (most recent call last):
>>File "", line 1, in
>> zlib.error: Error -3 while decompressing data: incorrect header check
Try using a compressobj with 24 <= wbits < 32. It should work, but I
didn't try.
Marc
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Jan 18, 2013 at 12:10 AM, Piet van Oostrum wrote:
> Marc Aymerich writes:
>
>> Thank you very much Piet,
>> I'm just starting to grasp these cryptography related concepts and your code
>> is helping me a lot to understand how to handle these keys in a low
1 - 100 of 1799 matches
Mail list logo