GoLUG meeting features Python threads and thread discussion

2022-12-06 Thread Steve Litt
Hi all, The Wednesday, December 7, 2022 GoLUG start at 7pm Eastern Standard time. It will be at https://meet.jit.si/golug. Full information is at http://golug.info. Come Join us on December 7th, for an introductory course to Go. No experience required, we'll cover some of the basics of Go syntax,

GoLUG meeting features Python threads and thread discussion

2022-11-01 Thread Steve Litt
Hi all, The Wednesday, November 2, 2022 GoLUG start at 7pm Eastern Daylight time. It will be at https://meet.jit.si/golug. Full information is at http://golug.info. In order to seed our threading discussion, Steve will show an ultra-simple threading example in Python during the first 30 minutes

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
I apologize about the subject. Feel free to change it. The main post was about almost crashing my computer with the command _py -c "print(2**64**3)". אורי u...@speedy.net On Tue, Jan 4, 2022 at 8:01 AM Michael Shiloh wrote: > Interesting discussion, but the subject seems quite wrong. > > ‪On T

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread Michael Shiloh
Interesting discussion, but the subject seems quite wrong. ‪On Tue, Jan 4, 2022 at 9:32 AM ‫אורי‬‎ wrote:‬ > From checking also powers of 3, I can't find more than c==5 (for 3**20 and > 3**124). > > אורי > u...@speedy.net > > > ‪On Tue, Jan 4, 2022 at 7:24 AM ‫אורי‬‎ wrote:‬ > >> Thank you, tha

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
>From checking also powers of 3, I can't find more than c==5 (for 3**20 and 3**124). אורי u...@speedy.net ‪On Tue, Jan 4, 2022 at 7:24 AM ‫אורי‬‎ wrote:‬ > Thank you, that's interesting. So all such numbers are divisible by 9. I > didn't think about it. > > You might be interested in my relate

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
Thank you, that's interesting. So all such numbers are divisible by 9. I didn't think about it. You might be interested in my related question: https://math.stackexchange.com/questions/4348279/what-is-the-highest-number-of-digits-so-that-this-number-of-digits-in-a-specific >From checking about th

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread Daniel Shahaf
אורי wrote on Tue, 04 Jan 2022 04:07 +00:00: > Are there powers of 2 which give exactly 10% of each of the digits 0 to 9 (in > decimal form)? No, because then the sum of the digits would be a multiple of nine, so the number wouldn't be a power of two. _

Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread Shlomo Solomon
NOT an answer to your question, but instead of a link to python3.8, I added 2 lines to .bash_aliases: alias p="python3.8" alias p2="python2.7" On Tue, 4 Jan 2022 06:07:43 +0200 אורי wrote: > Hi, > > /usr/bin/python is defined on my server as a link to the

Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
Hi, /usr/bin/python is defined on my server as a link to the deprecated python2.7, and I didn't want to break anything, so I defined /usr/bin/_py as a link to python3.8. I wanted to check how many bytes a giga and tera is, so I ran _py -c "print(1024**3)" and _py -c "pri

Re: multiple python versions

2021-07-26 Thread Yedidyah Bar David
021 20:07:20 +0300 > Omer Zak wrote: > > > FALSE ECONOMICS ALERT! > > FALSE ECONOMICS ALERT! > > FALSE ECONOMICS ALERT! > > > > You say that "most modules DO work when moving to a newer version of > > Python". > > However when they do not work, i

Re: Python and Ubuntu versions

2021-07-25 Thread אורי
;> >> I have a production server with Ubuntu 18.04 LTS (currently upgraded >> to Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python >> 3.6.9. I'm using Django and I read that from Django 4.0, a minimal version >> of Python 3.8 will be required. I would

Re: Python and Ubuntu versions

2021-07-23 Thread Rami Krankurs
You can download it's source compile and install wherever you want in your system. Then refer your django to it. On Fri, Jul 23, 2021, 05:53 אורי wrote: > Hi, > > I have a production server with Ubuntu 18.04 LTS (currently upgraded > to Ubuntu 18.04.5 LTS) and I use Pyt

Re: Python and Ubuntu versions

2021-07-23 Thread Rabin Yasharzadehe
Many tools in the os are based on Perl or Python, so I won't recommend changing the base version which comes with the OS. Go with containers (e.g docker), and decuple the code from the os. -- Rabin ‪On Fri, 23 Jul 2021 at 05:53, ‫אורי‬‎ wrote:‬ > Hi, > > I have a producti

Python and Ubuntu versions

2021-07-22 Thread אורי
Hi, I have a production server with Ubuntu 18.04 LTS (currently upgraded to Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python 3.6.9. I'm using Django and I read that from Django 4.0, a minimal version of Python 3.8 will be required. I would like to know how I use the l

Re: multiple python versions

2021-07-22 Thread yochai
Another option is Nix, which with some effort can be installed in Ubuntu and can provide you with different environments for many languages. You can use it to create as many python installations as you want. On 22/07/2021 20:05, Dan Yasny

Re: multiple python versions

2021-07-22 Thread Shlomo Solomon
s and wait for Kubuntu to move to 3.9, which will probably not be too far in the future. Again - thanks On Thu, 22 Jul 2021 20:07:20 +0300 Omer Zak wrote: > FALSE ECONOMICS ALERT! > FALSE ECONOMICS ALERT! > FALSE ECONOMICS ALERT! > > You say that "most modules DO work whe

Re: multiple python versions

2021-07-22 Thread Omer Zak
FALSE ECONOMICS ALERT! FALSE ECONOMICS ALERT! FALSE ECONOMICS ALERT! You say that "most modules DO work when moving to a newer version of Python". However when they do not work, it is a lot of work diagnosing the problem and finding which module needs to have both versions installed i

Re: multiple python versions

2021-07-22 Thread Dan Yasny
lace and hop in/out > > > > > > On Thu, Jul 22, 2021 at 12:37 PM Shlomo Solomon > > wrote: > > > > > Omer Zak wrote: > > > > The answer to your prayers is pyenv. > > > > It allows you to install multiple Python versions in parallel, >

Re: multiple python versions

2021-07-22 Thread Omer Zak
odule named 'scapy' > > but the module does exist in 3.8: > > sudo pip3 install scapy > Requirement already satisfied: scapy in > /usr/local/lib/python3.8/dist-packages (2.4.4) > > > So how do I tell the 3.9.6 environment to look for modules in the 3.8 > d

Re: multiple python versions

2021-07-22 Thread Shlomo Solomon
On Thu, 22 Jul 2021 19:50:46 +0300 Omer Zak wrote: > Why do you want to avoid having to re-install modules for each > version/environment? > The short answer: too much work The slightly longer answer: Although there are certainly changes between versions of Python and/or modules, mos

Re: multiple python versions

2021-07-22 Thread Shlomo Solomon
> > The answer to your prayers is pyenv. > > > It allows you to install multiple Python versions in parallel, > > > and for each version you can maintain several virtualenvs. > > > > Dan Yasny wrote: > > > How about using virtualenv for alternative

Re: multiple python versions

2021-07-22 Thread Omer Zak
Why do you want to avoid having to re-install modules for each version/environment? In the general case, a module version is compatible only with a subset of Python versions, due to API changes from Python version to Python version. You also want to let each project decide with which module

Re: multiple python versions

2021-07-22 Thread Dan Yasny
why reinstall? Keep your versions venvs in place and hop in/out On Thu, Jul 22, 2021 at 12:37 PM Shlomo Solomon wrote: > Omer Zak wrote: > > The answer to your prayers is pyenv. > > It allows you to install multiple Python versions in parallel, and for > > each ver

Re: multiple python versions

2021-07-22 Thread Shlomo Solomon
Omer Zak wrote: > The answer to your prayers is pyenv. > It allows you to install multiple Python versions in parallel, and for > each version you can maintain several virtualenvs. Dan Yasny wrote: > How about using virtualenv for alternative versions? Yes, I know about pyenv an

Re: multiple python versions

2021-07-22 Thread Omer Zak
The answer to your prayers is pyenv. It allows you to install multiple Python versions in parallel, and for each version you can maintain several virtualenvs. For more information: https://github.com/pyenv/pyenv https://ostechnix.com/pyenv-python-version-management-made-easier/ On Thu, 2021-07

Re: multiple python versions

2021-07-22 Thread Dan Yasny
How about using virtualenv for alternative versions? On Thu, Jul 22, 2021 at 12:05 PM Shlomo Solomon wrote: > The default Kubuntu installation is 3.8.10 and I do not want to > uninstall it since that could potentially "break" something. > > But for various reasons (not relevant to this discussio

multiple python versions

2021-07-22 Thread Shlomo Solomon
The default Kubuntu installation is 3.8.10 and I do not want to uninstall it since that could potentially "break" something. But for various reasons (not relevant to this discussion), I also have 3.9.6 installed. I can run either one of them, but in some cases, imports of modules that work in 3.8

Re: Python - getch() and kbhit()

2018-01-10 Thread Shlomo Solomon
On Tue, 9 Jan 2018 10:36:51 +0200 > Shlomo Solomon wrote: > > > Since import msvcrt in Python is Windows specific, I adapted some > > code I found to provide kbhit() and getch() in Python under Linux. > > > > I'm attaching KBHIT.py which replaces msvcrt and

Re: Python - getch() and kbhit()

2018-01-09 Thread Steve Litt
On Tue, 9 Jan 2018 10:36:51 +0200 Shlomo Solomon wrote: > Since import msvcrt in Python is Windows specific, I adapted some code > I found to provide kbhit() and getch() in Python under Linux. > > I'm attaching KBHIT.py which replaces msvcrt and a small program to > demon

Re: Python - getch() and kbhit()

2018-01-09 Thread Shlomi Fish
10:36 AM, Shlomo Solomon > > wrote: > > > > > Since import msvcrt in Python is Windows specific, I adapted some > > > code I found to provide kbhit() and getch() in Python under Linux. > > > > > > I'm attaching KBHIT.py which replaces msvcrt and a s

Re: Python - getch() and kbhit()

2018-01-09 Thread Shlomo Solomon
Hi Shlomi, Thanks for your feedback - my reply below. On Tue, 9 Jan 2018 12:21:51 +0200 Shlomi Fish wrote: > Hi Shlomo, > > On Tue, Jan 9, 2018 at 10:36 AM, Shlomo Solomon > wrote: > > > Since import msvcrt in Python is Windows specific, I adapted some > > code I f

Re: Python - getch() and kbhit()

2018-01-09 Thread Shlomi Fish
Hi Shlomo, On Tue, Jan 9, 2018 at 10:36 AM, Shlomo Solomon wrote: > Since import msvcrt in Python is Windows specific, I adapted some code > I found to provide kbhit() and getch() in Python under Linux. > > I'm attaching KBHIT.py which replaces msvcrt and a small program to >

Python - getch() and kbhit()

2018-01-09 Thread Shlomo Solomon
Since import msvcrt in Python is Windows specific, I adapted some code I found to provide kbhit() and getch() in Python under Linux. I'm attaching KBHIT.py which replaces msvcrt and a small program to demonstrate how to use it - KBHIT-test.py. The KBHIT.py documentation includes

Weka.IO is looking for front-end, python and system developers

2016-09-27 Thread Shachar Shemesh
lution and point out strengths and weaknesses. You can hear me talk about D and Weka on the reversim podcast, where I was a guest: http://www.reversim.com/2016/03/293-d-with-shahar-shemesh.html Python: There are several python jobs for various proficiency levels, open. Feel free to check the we

Re: python pygame keyboard input

2016-02-16 Thread Shlomo Solomon
irtual machine (Mageia 4) the program runs properly > > > > 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] > > > > 3 - I tried: > > LC_ALL=en_US.UTF-8 python tst.pyand > > LC_ALL=en_GB.UTF-8 python tst.py but still have the same strange > > b

Re: python pygame keyboard input

2016-02-16 Thread E.S. Rosenberg
2016-02-16 14:59 GMT+02:00 Shlomo Solomon : > 1 - On a virtual machine (Mageia 4) the program runs properly > > 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] > > 3 - I tried: > LC_ALL=en_US.UTF-8 python tst.pyand > LC_ALL=en_GB.UTF-8 python tst.py but still

Re: python pygame keyboard input

2016-02-16 Thread Shlomo Solomon
1 - On a virtual machine (Mageia 4) the program runs properly 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] 3 - I tried: LC_ALL=en_US.UTF-8 python tst.pyand LC_ALL=en_GB.UTF-8 python tst.py but still have the same strange behaviour with alphabetic characters. 4 - I'm not

Re: python pygame keyboard input

2016-02-14 Thread Shlomi Fish
Hi Shlomo! On Sun, Feb 14, 2016 at 1:06 AM, Shlomo Solomon wrote: > I'm having a problem getting text input with pygame. > Here's a simple program and the results I'm getting. Digits and special > keys work but I'm getting strange results for alphabet keys. > Any idea what my problem is? > > > i

Re: python pygame keyboard input

2016-02-14 Thread E.S. Rosenberg
Did you try changing it? It is pretty clear from those local variables that you have a nice DE sitting on your mageia box customized for Hebrew/English use while the rPI is just a vanilla install (en_GB). Did you try running your python script on a virtual console away from xkb and all the other

Re: python pygame keyboard input

2016-02-14 Thread Shlomo Solomon
.UTF-8" LC_ALL= On Sun, 14 Feb 2016 11:28:52 +0200 "E.S. Rosenberg" wrote: > I think your question shouldn't be what distro but rather: > - what version of python > - what localization was set when running the program (LC_* env vars) > > 2016-02-14 11:17 GMT

Re: python pygame keyboard input

2016-02-14 Thread E.S. Rosenberg
I think your question shouldn't be what distro but rather: - what version of python - what localization was set when running the program (LC_* env vars) 2016-02-14 11:17 GMT+02:00 Shlomo Solomon : > Meir - thanks. What distro are you running? > > I can now add that the problem exist

Re: python pygame keyboard input

2016-02-14 Thread Shlomo Solomon
wrong with my setup. On Sun, 14 Feb 2016 06:10:36 + Meir Michanie wrote: > It works for me. > python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y 116 - > t 306 > - left ctrl 99 - c > > On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon > wrote: > > >

Re: python pygame keyboard input

2016-02-13 Thread Meir Michanie
It works for me. python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y 116 - t 306 - left ctrl 99 - c On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon wrote: > I'm having a problem getting text input with pygame. > Here's a simple program and the results I'm gettin

python pygame keyboard input

2016-02-13 Thread Shlomo Solomon
I'm having a problem getting text input with pygame. Here's a simple program and the results I'm getting. Digits and special keys work but I'm getting strange results for alphabet keys. Any idea what my problem is? import pygame pygame.init() pygame.display.set_mode((100, 100)) while True:

Re: Python for Kids

2016-01-13 Thread דוד חי גוטויליג
Hi, I don't know how old is your oldest but this <http://www.cyber.org.il/python/python.pdf> might be good for him. --dhg On Sun, Jan 10, 2016 at 4:11 PM, Justin wrote: > Has anyone discovered good resources for teaching kids python? Hebrew? > (Ages 8-11) > > Code.org

Re: Python for Kids

2016-01-13 Thread E.S. Rosenberg
Not quite python but for the (really) young kids there's Linda Luikas' Hello Ruby... 2016-01-13 13:43 GMT+02:00 Shlomo Solomon : > These are in English, but may interest you: > > https://inventwithpython.com/inventwithpython_3rd.pdf > https://drive.google.com/file/d/0BxJ4y

Re: Python for Kids

2016-01-13 Thread Shlomo Solomon
Amos Shapira wrote: > I'd be interested to hear about resources for these ages in English > too. > > On 11 January 2016 at 01:11, Justin wrote: > > > Has anyone discovered good resources for teaching kids python? > > Hebrew? (Ages 8-11) > > > > Code.org

Re: Python for Kids

2016-01-12 Thread Justin
. On Mon, Jan 11, 2016 at 2:16 PM, Amos Shapira wrote: > I'd be interested to hear about resources for these ages in English too. > > On 11 January 2016 at 01:11, Justin wrote: > >> Has anyone discovered good resources for teaching kids python? Hebrew? >> (

Re: Python for Kids

2016-01-11 Thread Amos Shapira
I'd be interested to hear about resources for these ages in English too. On 11 January 2016 at 01:11, Justin wrote: > Has anyone discovered good resources for teaching kids python? Hebrew? > (Ages 8-11) > > Code.org has great resources for abstract programing. They even transl

Python for Kids

2016-01-10 Thread Justin
Has anyone discovered good resources for teaching kids python? Hebrew? (Ages 8-11) Code.org has great resources for abstract programing. They even translate into Hebrew. But very little to teach kids skills they can use on their own. Now I want to teach my oldest Python but I can't fin

Re: Python 'mentoring'

2015-12-15 Thread Shlomi Fish
Hi Zvi, On Tue, Dec 15, 2015 at 7:59 AM, Steve G. wrote: > I am not a professional programmer, but after taking a couple of Python > online courses, I am trying to put the knowledge to good use. I am working > on a few study-aids for learning English words. > > Currently I wr

Re: Python 'mentoring'

2015-12-14 Thread David Suna
For an IDE I would recommend PyCharm (https://www.jetbrains.com/pycharm/). It is not free software but they do have a Community Edition which is free. The Community Edition is limited to only being focused on Python. The Professional Edition includes support for full

Re: Python 'mentoring'

2015-12-14 Thread Dimid Duchovny
Hi Zvi, Regarding IDE, I personally use vim with a plugin called python-mode, but if you want a full-fledged IDE, you have pycharm or pydev (can be used as an Eclipse plugin). You're welcome to join us in the public knowledge workshop, we use python for most of the projects and have meetin

Python 'mentoring'

2015-12-14 Thread Steve G.
I am not a professional programmer, but after taking a couple of Python online courses, I am trying to put the knowledge to good use. I am working on a few study-aids for learning English words. Currently I write the code in gedit or nano/pico, then run the script in a terminal, using "p

Re: [Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django

2015-07-23 Thread Uri Even-Chen
*Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: u...@speedy.net Website: http://www.speedysoftware.com/uri/en/ > Speedyped

Re: [Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django

2015-07-23 Thread Daniel Shahaf
Uri Even-Chen wrote on Thu, Jul 23, 2015 at 16:24:57 +0300: > Which protocols we should use to connect to the mail server? I understand > that IMAP has folders but not labels/tags, does it mean we can't use it? Is > it better to use POP3? IMAP does have labels, via the FLAGS command. (There are "

[Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django

2015-07-23 Thread Uri Even-Chen
To Linux-IL people, I'm interested in creating a new webmail platform based on Python and Django, which will be free software & open source - Speedy Mail 2.0 (Speedy Mail 1.0 and 1.1 were based on a Perl software - Endymion MailMan web-mail, from 2000 to 2005). I want Speedy Mail 2.0&#

[HAIFUX LECTURE] Topics in advanced Python -- Hai Zaar

2014-11-29 Thread Eli Billauer
On Monday, December 1st at 18:30, Haifux will gather to hear a talk by Hai Zaar: Topics in advanced Python Abstract * (Advanced) decorators * Descriptors * Multiple inheritance * The magic of "type" * Metaclasses * Slots vs dictionaries * Generators in depth

Re: APL-like python for fun

2013-06-06 Thread Dov Grobgeld
Though the idea of bridging is nice, I doubt that it is as simple as just a question of providing syntactic sugar for the "scientist". Any scientist worth calling himself such, can deal with a spelled out lambda as well as with λ. I think the problem is rather that some mathematicians don't care fo

Re: APL-like python for fun

2013-06-06 Thread Oleg Goldshmidt
> Is this a good idea? Probably absolutely not, but it is quite fun. :-) Besides being cool clean fun, I wonder - only semi-jokingly - if it may be useful to streamline the interface between "algorithmists" and "developers". In many organizations "scientists" are supposed to produce algorithms in

APL-like python for fun

2013-06-06 Thread Dov Grobgeld
I remember we discussed compactifying perl on this list a long time ago, and this time I decided to have some fun with emacs overlays with python. The resulting mode is attached below. With this mode, when typing the following: f = lambda x: x**2 for i in range(5): print f(i) v = range(10,20,2

Re: Python question - first call is slower?

2012-07-03 Thread Baruch Siach
Hi Nadav, On Tue, Jul 03, 2012 at 05:02:50PM +0300, Nadav Har'El wrote: > On Thu, Jun 21, 2012, Nadav Har'El wrote about "Re: Python question - first > call is slower?": > > My example program actually *forked* right before that first call. > > >

Re: Python question - first call is slower?

2012-07-03 Thread Nadav Har'El
On Thu, Jun 21, 2012, Nadav Har'El wrote about "Re: Python question - first call is slower?": > My example program actually *forked* right before that first call. > > It turns out that (at least, this is my understanding now) memory allocation - > in Python but a

Re: Python question - first call is slower?

2012-06-21 Thread Nadav Har'El
On Wed, Jun 20, 2012, Nadav Har'El wrote about "Python question - first call is slower?": > Hi, I have run across a puzzling issue in Python, and I wonder if anyone > on the list can explain it. >... > But strangely, it doesn't - the first call takes 14 millisec

Re: Python question - first call is slower?

2012-06-20 Thread Dan Kenigsberg
On Wed, Jun 20, 2012 at 09:20:04AM +0300, Nadav Har'El wrote: > On Wed, Jun 20, 2012, Meir Kriheli wrote about "Re: Python question - first > call is slower?": > > > I considered, and discredited, the following attempted "explanations": > >... >

Re: Python question - first call is slower?

2012-06-20 Thread Daniel Shahaf
Nadav Har'El wrote on Wed, Jun 20, 2012 at 09:20:04 +0300: > On Wed, Jun 20, 2012, Meir Kriheli wrote about "Re: Python question - first > call is slower?": > > Is it a generator ? > > What does this mean? Sorry, but my level of knowledge of Python is well >

Re: Python question - first call is slower?

2012-06-20 Thread Amos Shapira
On 20 June 2012 16:46, Nadav Har'El wrote: > On Wed, Jun 20, 2012, Oleg Goldshmidt wrote about "Re: Python question - > first call is slower?": > > I would - naively! - think that "stuff (not only, or necessarily, the > > python code stuff, but also what

Re: Python question - first call is slower?

2012-06-19 Thread Nadav Har'El
On Wed, Jun 20, 2012, Oleg Goldshmidt wrote about "Re: Python question - first call is slower?": > I would - naively! - think that "stuff (not only, or necessarily, the > python code stuff, but also what it needs from the system) would indeed be > loaded dynamically wh

Re: Python question - first call is slower?

2012-06-19 Thread Oleg Goldshmidt
On Wed, Jun 20, 2012 at 12:27 AM, Nadav Har'El wrote: > Hi, I have run across a puzzling issue in Python, and I wonder if anyone > on the list can explain it. > > I have a python function which takes some input and produces some > output - it doesn't keep permanent stat

Re: Python question - first call is slower?

2012-06-19 Thread Nadav Har'El
On Wed, Jun 20, 2012, Meir Kriheli wrote about "Re: Python question - first call is slower?": > > I considered, and discredited, the following attempted "explanations": >... > > its code gets done in 6 milliseconds; It's not a 12 millisecond pause

Re: Python question - first call is slower?

2012-06-19 Thread Meir Kriheli
Hi. On Wed, Jun 20, 2012 at 12:27 AM, Nadav Har'El wrote: > Hi, I have run across a puzzling issue in Python, and I wonder if anyone > on the list can explain it. > > I have a python function which takes some input and produces some > output - it doesn't keep perman

Python question - first call is slower?

2012-06-19 Thread Nadav Har'El
Hi, I have run across a puzzling issue in Python, and I wonder if anyone on the list can explain it. I have a python function which takes some input and produces some output - it doesn't keep permanent state, and presumably running it twice would do exactly the same thing twice, and take ex

[HAIFUX LECTURE] Scientific Python by Uri Barkan

2012-05-05 Thread Eli Billauer
On Monday, May 7th at 18:30, Haifux will gather to hear a talk by Uri Barkan Scientific Python Abstract (For a longer description in Hebrew, see http://haifux.org/lectures/277/ ) In scientific programming, software is used for the purpose of research of processes. This method is used

Re: python, beagle, and gmail

2012-02-24 Thread Michael Shiloh
On 02/23/2012 10:09 PM, Baruch Siach wrote: Hi Michael, On Thu, Feb 23, 2012 at 02:56:58PM -0800, Michael Shiloh wrote: 2) How can I add SSL support to my version of imaplib, or is there a version of imaplib for ARM that supports SSL? Am I missing a totally obvious solution? Have you consi

Re: python, beagle, and gmail

2012-02-24 Thread Michael Shiloh
y favorite distribution as a solution to every possible development problem. This said, you seem to have python built without ssl support. You'll have to jump through whatever hoops Angstrom has prepared for you to recompile or replace it. On the other hand, Gentoo has an ARM target and you can

Re: python, beagle, and gmail

2012-02-23 Thread Michael Vasiliev
y possible development problem. This said, you seem to have python built without ssl support. You'll have to jump through whatever hoops Angstrom has prepared for you to recompile or replace it. On the other hand, Gentoo has an ARM target and you can tune and strip your system to whatever your hear

Re: python, beagle, and gmail

2012-02-23 Thread Baruch Siach
Hi Michael, On Thu, Feb 23, 2012 at 02:56:58PM -0800, Michael Shiloh wrote: > 2) How can I add SSL support to my version of imaplib, or is there a > version of imaplib for ARM that supports SSL? > > Am I missing a totally obvious solution? Have you considered stunnel? baruch -- http://ba

python, beagle, and gmail

2012-02-23 Thread Michael Shiloh
Short version: I'm using Python on a Beagle Board xM to read gmail using imaplib, e.g. http://www.doughellmann.com/PyMOTW/imaplib/ http://stackoverflow.com/questions/6282976/download-parse-email-with-python However, it turns out that imaplib.IMAP4_SSL is not present in the versi

Fwd: [Python-il] Reminder: GarlicSim lecture

2010-07-21 Thread Shlomi Fish
-- Forwarded Message -- Subject: [Python-il] Reminder: GarlicSim lecture Date: Wednesday 21 Jul 2010, 13:48:47 From: "cool-RR" To: "python-il" Hello all, Just a reminder: Tomorrow I'll be giving a talk about GarlicSim<http://garlicsim.org>, a

Re: Convert Perl/Tk to Python TkInter

2010-04-02 Thread Omer Zak
Without looking at the relevant code: 1. Which version of Tk is there in Perl/Tk? And in the Python Tkinter version which you use? Maybe upgrading to a newer Tkinter version will solve your problem? 2. How is the widget implemented in Perl/Tk - is it implemented purely in Tcl (i.e. in the Tk

Convert Perl/Tk to Python TkInter

2010-04-02 Thread David Harel
Hi there, On perl/Tk I use a widget of the type BrowseEntry which does exactly what I need. Converting to Python TkInter, I couldn't find any similar widget. Any idea? -- Regards. David Harel, == Home office +972 77 7657645 Cellular: +972 54 4534502

[JOB] Python software developers

2010-03-25 Thread Baruch Even
Hi, XIV-IBM is looking for Python software developers for two positions: GUI Developer - Description: Web tool GUI Developer Requirements: • Java Script - 2 years - MUST Web 2 dev - at least 18 months - MUST • Dojo - high advantage. • GUI development - advantage. • Quick

Re: [Python-il] Fwd: [svlug] Freenode

2009-04-20 Thread Shai Berger
While Freenode is indeed a noble goal to donate to, the fundraising campaign discussed in this message has concluded in success[1] four days before the date of Mr. Bowman's message. Thought it was worth a mention, Shai. [1] http://blog.freenode.net/2009/03/update-on-the-pdpc-20082009-do

Re: Fixing the PySolFC Build Process With Python 2.6

2008-12-28 Thread Shlomi Fish
On Sunday 28 December 2008, Shlomi Fish wrote: > Hi all! > > When I try to run "python setup.py bdist_rpm" on the PySolFC trunk: > > https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk/ > > I'm getting the following errors: > Found it!

Fixing the PySolFC Build Process With Python 2.6

2008-12-28 Thread Shlomi Fish
Hi all! When I try to run "python setup.py bdist_rpm" on the PySolFC trunk: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk/ I'm getting the following errors: {{{ running build_scripts creating build/scripts-2.6 copying and adjusting pysol.py ->

Re: [off] job offer - Softwa re Engineer in R&D – Python Specialist

2008-12-11 Thread guy keren
gs for Windows system programmers, but as far as I'm concerned, anything FOSS related flies. Shachar i only mentioned this, because someone else from my workplace posted this job opening on the python-il mailing list earlier - and i wanted to explain why i'm sending this to linux-il.

Re: [off] job offer - Softwa re Engineer in R&D – Python Specialist

2008-12-10 Thread Shachar Shemesh
guy keren wrote: (note: the work is in a linux environment - which is why i'm also sending this message on this list). I speak for myself here, but I don't think, especially in this rocky era, that we should be too picky. I wouldn't like to see openings for Windows system programmers, but as

[off] job offer - Software Eng ineer in R&D – Python Specialist

2008-12-10 Thread guy keren
(note: the work is in a linux environment - which is why i'm also sending this message on this list). A Sequoia backed company located in the north is looking for an experienced software engineer with extensive knowledge of Python Title: Software Engineer in R&D – Python S

Re: good python IDE for linux?

2008-11-04 Thread Amit Aronovitch
On Sun, Nov 2, 2008 at 12:56 PM, Dvir Volk <[EMAIL PROTECTED]> wrote: > hi all > i'm starting a python project, and need a good IDE with debugging and all > (GUI based) > eclipse pydev seems a bit too heavy for my taste and CPU, kdevelop doesn't > have debuggi

good python IDE for linux?

2008-11-02 Thread Dvir Volk
hi all i'm starting a python project, and need a good IDE with debugging and all (GUI based) eclipse pydev seems a bit too heavy for my taste and CPU, kdevelop doesn't have debugging (at least by default). any personal recommendations?

So this is the end of Python?

2008-06-21 Thread Amos Shapira
"Python found in toilet": http://www.reuters.com/article/oddlyEnoughNews/idUSN2042875420080620 :) --Amos = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g.,

[Haifa Lecture] Programming Epiphany Plugins with Python and PyGTK - Ohad Luztky

2007-11-15 Thread Orr Dunkelman
Next Monday, 19/11, at 18:30 the Haifa Linux Club, will gather to hear Ohad Lutzky's talk about: Programming Epiphany Plugins with Python and PyGTK The lecture will cover the following topics: * Basic Python programming * Basic PyGTK programming * Working with Python threads,

PYTHON DEVELOPERS

2007-09-16 Thread Moshit Rotenberg
Hi all SuperDerivatives is a company developing software products for option pricing We are currently seeking motivated and experienced Python/Apache on Linux developers who are looking for a challenging and dynamic position in a successful company. Please do not hesitate to contact me if you

[Python-IL] Meeting - this Thursday 19:00 at Egloo

2007-08-07 Thread Amit Aronovitch
תזכורת - פגישת משתמשי פייתון תתקיים השבוע ביום חמישי 9/8/2007, במשרדי Egloo, רח' הסדנאות 3 בהרצליה. בתכנית: * הרן פלפל יספר על שפת Lua * לאחר מכן נמשיך בדיון הפתוח מהפעם הקודמת פרטים נוספים באתר: http://wiki.python.org.il/Upcoming_Meeting והערה אחרונה - דרוש מחשב נייד להרצאה. מי שמגיע ו

[Python-IL] next python meeting - Wednesday 11/7/07 18:30

2007-07-08 Thread Amit Aronovitch
פגישת משתמשי פייתון תתקיים ב- 11/7/07, בשעה 18:30 במשרדי Egloo, רחוב הסדנאות 3 בהרצליה. הנושאים להפעם: * מאיר קריחלי על "להק" ו- Django * דיון פתוח - "שאלות לפורום". בין הנושאים שהוצעו: סביבות פיתוח, איסוף אשפה ועוד. פרטים ועדכונים באתר http://wiki.python.org.il/Upcoming_Meeting בברכה,

[Python-IL] next python meeting - Wednesday 28/3/07 18:30

2007-03-25 Thread Amit Aronovitch
פגישת משתמשי פייתון לחודש מרץ תתקיים ב- 28/3/07, בשעה 18:30 במשרדי Egloo, רחוב הסדנאות 3 בהרצליה. הנושאים להפעם: בני צ'רניאבסקי על metaclasses Simon Robins על SOAP בפייתון (קצר) פרטים ועדכונים באתר http://wiki.python.org.il/Upcoming_Meeting בברכה, עמית

[Python-IL] next python meeting - Tuesday 30/1/07 18:30

2007-01-28 Thread Amit Aronovitch
פגישת משתמשי פייתון לחודש ינואר תתקיים ב"איגלו", רחוב הסדנאות 3, קומה ג', הרצליה. בתכנית להפעם: 18:30 : שחר יצחקי על Robin 19:45 : בני צ'רניאבסקי על "Pygame, Numeric and Magic Fields" פרטים/עדכונים בויקי: http://wiki.python.org.il/Upcoming_Meeting בברכה, עמית ===

Python-IL Meeting: Wednesday, 27/12

2006-12-23 Thread Amit Aronovitch
פגישת הפייתונאים לחודש דצמבר תתקיים ביום ד' 27/12/06, בשעה 19:30. הפגישה תערך במשרדי חברת Egloo, ברחוב הסדנאות 3 בהרצליה, קומה 3. הנושאים להפעם: * נדב סמט ידבר על TurboGears * תומר פיליבה ידבר על pyconstruct לפרטים נוספים, מומלץ להתעדכן בדף הפגישה: http://wiki.python.org.il/Meeting_27_Dec

[pythonil] Python-IL Meeting: Monday, 26/6, new location

2006-06-24 Thread Amit Aronovitch
פגישת הפייתונאים לחודש יוני תתקיים הפעם בחברת Kashya. שימו לב למיקום החדש: רחוב אבא הלל 7, רמת גן (ליד צומת "עלית"), בית סילבר, קומה 8. תודה לאנשי Aduva/Sun שארחו אותנו עד היום, ובמיוחד לליאור. על סדר היום: 18:30 - רוני מאור על SQLAlchemy 20:00 - "קצרים" - לפי הצע וביקוש פרטים באתר http:/

[Python-IL] reminder - 29/5/06 יום שני

2006-05-22 Thread Amit Aronovitch
‫שלום, ברצוני להזכיר שפגישת הפייתונאים הבאה תתקיים ביום שני הקרוב, 29/5/06 במשרדי אדובה ברמת גן. http://www.python.org.il/mediawiki/index.php/Upcoming_Meeting על הפרק: * 18:30-19:30 - אלי גולובינסקי על wxPython ‫* 20:00-21:00 - רוני מאור על Twill או על SQLAlchemy‬ פרטים, עדכונים, קשר - בו

  1   2   >