On 2/8/2015 5:06 PM, Mark Lawrence wrote:
On 08/02/2015 22:00, Larry Hastings wrote:
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many bugfixes and other small improvements over
3.4
Asad Dhamani writes:
> I'd like to find out where the bottleneck is, and I've been looking for a
> good profiler that'd let me do this, however, I couldn't find anything. Any
> recommendations would be great.
Python comes with a "profile" module in its standard library.
Implemented in Python a
I just started to learn python, and I designed a very interesting game "jail
adventure". Give me some advise. Because English is not my first language, so
you may find some grammar error in the story of the game. Here is the link
http://pan.baidu.com/s/1i3gR6RF . press the button 下载(4KB) to d
Skip Montanaro wrote:
> sqlite> select meetname from swimmeet where meetname like
> '%Barracuda%Patrick%';
> Anderson Barracudas St. Patrick's Day Swim Meet
> Anderson Barracuda Masters - 2010 St. Patrick’s Day Swim Meet
> Anderson Barracuda Masters 2011 St. Patrick’s Day Swim Meet
> Anderson
On Mon, Feb 9, 2015 at 2:44 PM, Skip Montanaro wrote:
> Anderson Barracuda Masters - 2010 St. Patrick’s Day Swim Meet
Those three characters are the CP-1252 decode of the bytes for U+2019
in UTF-8 (E2 80 99). Not sure if that helps any, but given that it was
an XLSX file, Windows codepages are
I am trying to process a CSV file using Python 3.5 (CPython tip as of a
week or so ago). According to chardet[1], the file is encoded as utf-8:
>>> s = open("data/meets-usms.csv", "rb").read()
>>> len(s)
562272
>>> import chardet
>>> chardet.detect(s)
{'encoding': 'utf-8', 'confidence': 0.99}
so
On 08/02/2015 22:14, Larry Hastings wrote:
On 02/08/2015 02:06 PM, Mark Lawrence wrote:
On 08/02/2015 22:00, Larry Hastings wrote:
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many
On 02/08/2015 02:06 PM, Mark Lawrence wrote:
On 08/02/2015 22:00, Larry Hastings wrote:
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many bugfixes and other small improvements over
On 08/02/2015 22:00, Larry Hastings wrote:
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many bugfixes and other small improvements over 3.4.2.
You can download it here:
https:/
On behalf of the Python development community and the Python 3.5 release
team, I'm also pleased to announce the availability of Python 3.5.0a1.
Python 3.5.0a1 is the first alpha release of Python 3.5, which will be
the next major release of Python. Python 3.5 is still under heavy
developm
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many bugfixes and other small improvements over 3.4.2.
You can download it here:
https://www.python.org/download/releases/3.4.3
Awesome, thanks so much for the help.
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
Sayth Renshaw schrieb am 08.02.2015 um 12:22:
> How can I actually access the values of an element with lxml objectify?
>
> for example if I had this element in my xml file.
>
> VenueCode="151" TrackName="Main" TrackCode="149">
>
> I can see all the attributes using this.
>
> In [86]: for chil
I have a Flask application where I run a specific task asynchronously using
Celery. Its basically parsing some HTML and inserting data into a Postgres
database(using SQLAlchemy). However, the task seems to be running very slowly,
at 1 insert per second.
I'd like to find out where the bottleneck
On Tuesday, February 3, 2015 at 3:17:37 PM UTC+1, Amirouche Boubekki wrote:
> What you want is to prevent the socket to wait indefinetly for data (based on
> strace output) which is done with socket.setblocking/settimeout [1].
> asynchronous (asyncio) is something else, and you would still need t
Folks,
I couldn't find any info on this problem online:
Linux Mint
Python 3.3
virtualenv (12.0.7)
pip (6.0.8)
setuptools (12.0.5)
(testpy3)mowglie@flappi ~ $ pip install nose
Collecting nose
Exception:
Traceback (most recent call last):
File
"/home/mowglie/.pyvirtualenvs/testpy3/lib/py
Sayth Renshaw wrote:
>
> Hi
>
> How can I actually access the values of an element with lxml objectify?
>
> for example if I had this element in my xml file.
>
> VenueCode="151" TrackName="Main" TrackCode="149">
>
> I can see all the attributes using this.
>
> In [86]: for child in root.get
Hi
How can I actually access the values of an element with lxml objectify?
for example if I had this element in my xml file.
I can see all the attributes using this.
In [86]: for child in root.getchildren():
print(child.attrib)
:
{}
{'RequestCode': '', 'RequestId': '0'}
{}
{}
Ian Kelly :
> On Sat, Feb 7, 2015 at 5:45 PM, Albert van der Horst
> wrote:
>> x -> x**2
>> instead of
>> lambda x : x**2
>
> Well, I don't think the existing syntax is incompatible with your
> proposal. As it is, the -> token can only appear after the argument
> list of a def statement, so there
On Sat, Feb 7, 2015 at 5:45 PM, Albert van der Horst
wrote:
> It is too bad `` -> '' as a token is now taken.
> I wanted to propose to replace the ternary syntax
> lambda .. : ..
> by a regular operator
> .. -> ..
> then we could have
> x -> x**2
> instead of
> lambda x : x**2
Well, I don't th
On Sun, Feb 8, 2015 at 6:59 PM, Steven D'Aprano
wrote:
> If a professional games company has their coders writing the plot and
> designing the graphics, they deserve to fail. (Well, that's a bit harsh...
> there's still room in the world for small indy companies, and even
> one-person projects.) Y
On Sun, Feb 8, 2015 at 6:55 PM, Steven D'Aprano
wrote:
> If this were syntax, then the compiler could just as easily set the function
> name from -> as from def. Lambda has the limitations that it has because it
> is an expression, not because of magical "def" properties.
True, it could, but it w
Chris Angelico wrote:
> On Sun, Feb 8, 2015 at 10:54 AM, Albert van der Horst
> wrote:
>> Not to mention that mostly a game is understood, not as something like
>> chess, but an FPS (first person shooter) game.
>> But that is real time programming, one league beyond beginners
>> procedural (seque
Chris Angelico wrote:
> On Sun, Feb 8, 2015 at 11:45 AM, Albert van der Horst
> wrote:
>> def square(x): x**2
>> but
>> square = x->x**2
>>
>> or
>>
>> mult = x,y ->
>>result = 0
>>for i in range(x):
>> result +=y
>>return result
>>
>> doing away with the ternary operator def
>
24 matches
Mail list logo