Re: python server socket file transfer

2018-01-10 Thread dieter
bingbong3...@gmail.com writes: > On Wednesday, January 10, 2018 at 9:07:33 AM UTC+2, dieter wrote: >> bingbong3...@gmail.com writes: >> > how much client can i handel whit this code what the amount of client that >> > i can handel >> > the size of the file is 716 kb >> > ... >> > self.sock.send(l

Re: Simple graphic library for beginners

2018-01-10 Thread Michael Torrie
On 01/10/2018 01:13 PM, bartc wrote: > I couldn't see anything obviously simple there. A lot seems to do with > interaction which is always much more complicated than just drawing stuff. Yes the link didn't have the simple examples I hoped for. How's this: - import py

Pandas printing in jupyter

2018-01-10 Thread Rustom Mody
If I make a data-frame in pandas in jupyter notebook it prints very nicely ie it looks quite like a spreadsheet How does it do it? Who does it? The data-frame does not seem to have str/repr methods… -- https://mail.python.org/mailman/listinfo/python-list

Re: Tips or strategies to understanding how CPython works under the hood (Posting On Python-List Prohibited)

2018-01-10 Thread bartc
On 10/01/2018 23:31, Lawrence D’Oliveiro wrote: On Thursday, January 11, 2018 at 1:08:25 AM UTC+13, bartc wrote: But I'm not convinced that register-based is necessarily faster. Not if your code is dominated by memory accesses, as a dynamic language is likely to be. But ask the people who de

Simple graphic library for beginners

2018-01-10 Thread Mikhail V
> > But the OP isn't looking for a full-blown GUI toolkit. I went back and > > re-read his post to be sure I wasn't misunderstanding. Therefore I > > don't think the suggestion to use wxPython or PyQt is that helpful. > > > > Do you have any other suggestions? > > > > Even Cairo is pretty complic

Re: Simple graphic library for beginners

2018-01-10 Thread bartc
On 10/01/2018 17:36, Michael Torrie wrote: On 01/10/2018 10:22 AM, Igor Korot wrote: Hi, wxPython/Phoenix. It can do everything you need and more But the OP isn't looking for a full-blown GUI toolkit. I went back and re-read his post to be sure I wasn't misunderstanding. Therefore I do

Re: Simple graphic library for beginners

2018-01-10 Thread Igor Korot
Hi, Michael, On Wed, Jan 10, 2018 at 11:36 AM, Michael Torrie wrote: > On 01/10/2018 10:22 AM, Igor Korot wrote: >> Hi, >> wxPython/Phoenix. >> It can do everything you need and more > > But the OP isn't looking for a full-blown GUI toolkit. I went back and > re-read his post to be sure I

Re: pyplot: change the number of x labels (from 6)

2018-01-10 Thread Paulo da Silva
Às 09:17 de 10-01-2018, Thomas Jollans escreveu: On 2018-01-10 05:22, Paulo da Silva wrote: Hi all. ... It's a bit hard to tell without a working example, but I think you'll want to set a tick locator, e.g. something like ax0.xaxis.set_major_locator(matplotlib.ticker.MultipleLocator(1)) B

Re: Simple graphic library for beginners

2018-01-10 Thread Arthur Endlein Correia
Yes, considering the OP request, pygame would be better, or one of Mark's suggestions: mcsp.wartburg.edu/zelle/python/graphics.py Seems really easy to use. --- Arthur Endlein Correia arthur.corr...@usp.br endart...@gmail.com 55 11 968 606 174 IGc, USP On Wed, Jan 10, 2018 at 3:36 PM, Michae

Re: Simple graphic library for beginners

2018-01-10 Thread Michael Torrie
On 01/10/2018 10:22 AM, Igor Korot wrote: > Hi, > wxPython/Phoenix. > It can do everything you need and more But the OP isn't looking for a full-blown GUI toolkit. I went back and re-read his post to be sure I wasn't misunderstanding. Therefore I don't think the suggestion to use wxPython o

Re: Simple graphic library for beginners

2018-01-10 Thread Igor Korot
Hi, wxPython/Phoenix. It can do everything you need and more And it will look exactly as any other application on the system... Thank you. On Wed, Jan 10, 2018 at 11:04 AM, Michael Torrie wrote: > On 01/10/2018 09:16 AM, oliver wrote: >> Pyqt without hesitation. > > Except that people ar

Re: Simple graphic library for beginners

2018-01-10 Thread Michael Torrie
On 01/10/2018 09:16 AM, oliver wrote: > Pyqt without hesitation. Except that people are forgetting the OP is not asking about a GUI library. The subject line reads "Simple graphic[s] library for beginners." He just wants a simple graphics drawing library for beginners. Create a canvas of a certa

Re: Simple graphic library for beginners

2018-01-10 Thread oliver
Pyqt without hesitation. - I've used it in full-fledged desktop app (120k LOC) and it's just awesome, so well documented, versatile, and you can learn gradually (starting with their simpler tablewidget then later move to their tableview/model for added flexibility). - Qt is moving s

Re: Simple graphic library for beginners

2018-01-10 Thread bartc
On 10/01/2018 14:55, Antoon Pardon wrote: On 10-01-18 13:40, Jan Erik Moström wrote: I'm looking for a really easy to use graphic library. The target users are teachers who have never programmed before and is taking a first (and possible last) programming course. I would like to have the abilit

Re: Simple graphic library for beginners

2018-01-10 Thread Antoon Pardon
On 10-01-18 13:40, Jan Erik Moström wrote: > I'm looking for a really easy to use graphic library. The target users > are teachers who have never programmed before and is taking a first > (and possible last) programming course. > > I would like to have the ability to draw lines, circles, etc. Nothi

Re: Simple graphic library for beginners

2018-01-10 Thread Arthur Endlein Correia
Tkinter can look nice and not terribly hard to use, as I found out in this tutorial: http://www.tkdocs.com/tutorial/onepage.html Having said that, nowadays I pretty much always use PyQt (or Pyside) together with qtdesigner to build GUI applications. --- Arthur Endlein Correia arthur.corr...

Re: Simple graphic library for beginners

2018-01-10 Thread breamoreboy
On Wednesday, January 10, 2018 at 12:42:07 PM UTC, Jan Erik Moström wrote: > I'm looking for a really easy to use graphic library. The target users > are teachers who have never programmed before and is taking a first (and > possible last) programming course. > > I would like to have the ability

Re: Simple graphic library for beginners

2018-01-10 Thread Thomas Jollans
On 2018-01-10 13:40, Jan Erik Moström wrote: > I'm looking for a really easy to use graphic library. The target users > are teachers who have never programmed before and is taking a first (and > possible last) programming course. > > I would like to have the ability to draw lines, circles, etc. No

Re: Simple graphic library for beginners

2018-01-10 Thread Larry Martell
On Wed, Jan 10, 2018 at 7:42 AM Jan Erik Moström wrote: > I'm looking for a really easy to use graphic library. The target users > are teachers who have never programmed before and is taking a first (and > possible last) programming course. > > I would like to have the ability to draw lines, circ

Simple graphic library for beginners

2018-01-10 Thread Jan Erik Moström
I'm looking for a really easy to use graphic library. The target users are teachers who have never programmed before and is taking a first (and possible last) programming course. I would like to have the ability to draw lines, circles, etc. Nothing fancy, as little window management as possibl

Re: Tips or strategies to understanding how CPython works under the hood

2018-01-10 Thread bartc
On 09/01/2018 20:12, Alain Ketterlin wrote: ElChino writes: Chris Angelico wrote: CPython is a stack-based interpreter, which means it loads values onto an (invisible) internal stack, processes values at the top of the stack, and removes them when it's done. Is this similar to how Lua oper

Re: Tips or strategies to understanding how CPython works under the hood

2018-01-10 Thread Robin Becker
http://aosabook.org/en/500L/a-python-interpreter-written-in-python.html -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pyplot: change the number of x labels (from 6)

2018-01-10 Thread Thomas Jollans
On 2018-01-10 05:22, Paulo da Silva wrote: > Hi all. > > I want to have dates as major ticks labels of X axis. > This fragment of code works fine except that I need more dates to appear > instead the 6 I am getting. The number of dates in dtsd is for ex. 262. > > Thanks for any help. > > BTW, I

Re: python server socket file transfer

2018-01-10 Thread bingbong3334
On Wednesday, January 10, 2018 at 9:07:33 AM UTC+2, dieter wrote: > bingbong3...@gmail.com writes: > > how much client can i handel whit this code what the amount of client that > > i can handel > > the size of the file is 716 kb > > ... > > self.sock.send(l) > > Please read the documentation for