On Thursday, October 6, 2016 at 7:20:58 AM UTC+1, Lawrence D’Oliveiro wrote:
> What action are users supposed to take on such errors, other than include
> them in a bug report?
By users I mean API users (developers). Most common action would be to add a
missing field, correct typo or change valu
tly or via some DSL).
Can anyone recommend library that provides
good API for declaring data schemas, so I could see how it could be done?
(Doing it is not a problem. Doing it in a way that's convenient for users,
readable and generates good error messages is something I care about).
Th
is in progress, but over 60% of pypi packages are there,
it should get to 100% within max few hours.
Having the basics working, I hope to polish it soon.
Maciej Dziardziel
fied...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
> Surely the issue of mixing tabs and spaces is much more important than
>
> working systems? :)
Python 3 considers tabs as an error and refuses to work.
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, June 21, 2014 1:57:19 AM UTC+1, FraserL wrote:
> I'm not hugely accustomed to Python, but this seems crazy to me.
Floating points values use finite amount of memory, and cannot accurately
represent infinite amount of numbers, they are only approximations. This is
limitation of floa
On Wednesday, June 18, 2014 9:12:46 PM UTC+1, Mark Lawrence wrote:
> Why not use google and do a site specific search of pypi?
I am looking for good use of elasticsearch I have there,
rather then quick way of finding something once quickly.
Neither pypi nor google provide faceting for example.
I'
I wasn't quiet happy with the way search on pypi works,
so I've got an idea of getting all package metadata from pypi
and do search locally. The only problem is that I can't figure out
where to get the data from. I tried to use bandersnatch to
set up mirror, but all I've got was a mixture of egg,
On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote:
> I wasn't quiet happy with the way search on pypi works,
>
> so I've got an idea of getting all package metadata from pypi
>
> and do search locally. The only problem is that I can't figure
On Thursday, July 4, 2013 5:05:23 AM UTC+1, alex23 wrote:
> It was an explicit syntax change for Python3. You can read about the
> reasoning behind it here:
>
> http://www.python.org/dev/peps/pep-3102/
Thanks, that was helpful.
Maciej Dziardziel
--
http://mail.python.org/mail
Out of curiosity: Does anyone know why the code below is valid in python3, but
not python2:
def foo(*args, bar=1, **kwargs):
pass
--
Maciej Dziardziel
--
http://mail.python.org/mailman/listinfo/python-list
ravenheart wrote:
> I want to give some emphasis to a Label from gtk, without breaking gnome
> theme (i.e. not changing colors, etc)
> I think bolding it would be a good option (could be also underscoring
> but don't like it at all).
> What would be the best solution? How to do it? I have found ho
[EMAIL PROTECTED] wrote:
> Can somebody give some quick pointers to start off with matplotlib.
>
> Thanks
http://matplotlib.sourceforge.net/tutorial.html
--
Maciej "Fiedzia" Dziardziel ([EMAIL PROTECTED])
If you can read this, you are in phaser range.
--
http://mail.python.org/mailman/listin
Putty wrote:
> Is there such a thing as a special version of python that I can run
> more efficiently from a flash drive?
google for movable python (or similar)
--
Maciej "Fiedzia" Dziardziel ([EMAIL PROTECTED])
In the land of the blind, the one eyed man is king.
--
http://mail.python.org/mai
blahman ([EMAIL PROTECTED]) wrote:
> ok, i m going to use Linux for my Python Programs, mainly because i
> need to see what will these fork() and exec() do. So, can anyone tell
> me which flavour of linux i should use, some say that Debian is more
> programmer friendly, or shold i use fedora, or S
blahman ([EMAIL PROTECTED]) wrote:
> i m using Windows XP, and by tomorrow i will have have fedora core
> installed too. the problem is, when i use these "fork() and exec()" my
> windows doesnt do anything, python gives an error about the module,
> the kind of error when u know u r wrong.
>
> is
Jorgen Grahn wrote:
>> Best solution would be to have portable function that returns
>> user home directory and knows about all platfom quirks.
>
> Why is that better than Python creating a HOME in os.environ, if it
> doesn't
> already exist? I can think of a few reasons it's better, and a few
>
[EMAIL PROTECTED] wrote:
> Cool, even better. So what's best, having code to add HOME
> (=USERPROFILE) to os.environ, or change the various places that HOME is
> used to check for USERPROFILE?
Best solution would be to have portable function that returns
user home directory and knows about all pl
Xah Lee wrote:
> in some online documentations, for examples:
>
> http://perldoc.perl.org/perlref.html
> http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-17.html
> http://www.haskell.org/hawiki/HaskellDemo
>
> the codes are syntax colored.
>
> Is there a tool that produce codes in ht
Will wrote:
> After the first number is input, the subprocess is exiting after the
> first communicate. I do not understand why.
As help(calc.communicate) says:
Read data from stdout and stderr, until end-of-file is reached.
Wait for process to _terminate_.
> Any help would be much appreciated.
[EMAIL PROTECTED] wrote:
> 1)What programming language to use
This is trivial task, whatever language you choose, will do it.
Python too, and its also simple and popular, so i can recommend it.
> 2)What development tools to use
You don't need nothing beyond python interpreter.
> 3)
Willie Walker wrote:
> Any advice would be greatly appreciated.
Perhaps strace will tell you something.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
'Not all who wander are lost.' - J.R.R. Tolkien, The Fellowship of the Ring
--
http://mail.python
[EMAIL PROTECTED] wrote:
> Hi!!
>
> I finally decided to use ezPyCrypto for my project but I can't download
> it from http://www.freenet.org.nz/ezPyCrypto/ ...
Check this link now, it works for me.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Con
[EMAIL PROTECTED] wrote:
> H!
>
> I'm searching for the fastest way to convert a list to one big string.
>
> For example:
> test = ['test','test2','test3']
'-'.join(test)
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Stewardesses is the longest w
Anand S Bisen wrote:
> Hello,
>
> What is a good way to distributing python scripts as a package. Since
> lately i am facing lots of issues with my python scripts not being able
> to run properly due to either (old python 2.2 at the client machine) or
> missing module. Is there a way by which i c
codecraig wrote:
> I have a image file on my pc, say a .jpg. Basically I want to setup a
> client/server socket, and I want the client to read in the jpg and send
> it to the server, where the server can write that data into a new file
> on the server.
>
> I tried just doing something like..
>
[EMAIL PROTECTED] wrote:
> Hello,
>
> If I use os.remove(fileName), does it always assure that the code will
> move to the next code only if the fileName is deleted completely?
Yes, it will be deleted, but not necessary completly. Deleting isn't equal
to erasing file's content, so it might be po
dcrespo wrote:
> Hi all...
>
> I think wxPython is much better than PyGTK. First of all, PyGTK needs
> the GTK runtime installed, whereas wxPython is entirely Python's
> modules, so It facilitates the apps' distribution.
As already mentioned, it is not true. You will still need GTK
(on Linux, no
27 matches
Mail list logo