Python 3.7 - Reading text from Terminal window

2019-07-25 Thread nir . zairi
Hi, I want it to wait for a specific text on the terminal window that it opens (putty.exe), how can i do it? from pywinauto.application import Application from pynput.keyboard import Key, Controller print('Configuring') app = Application().start(cmd_line=u'"C:\\...putty.exe" ') puttyconfigb

A bioinformatics module similar to DEseq in R

2016-08-08 Thread nir . yakovi1
Hi! is there a Python module equivalent\as similar as possible to 'DEseq' in R? It's just that my team's (many) scripts use it, and to start modifying them all to support some different bioinformatics module would be a nightmare. Thanks! -- https://mail.python.org/mailman/listinfo/python-list

Re: Packaging multiple wheels in the same package

2016-07-14 Thread Nir Cohen
Appreciate it! Will do! -- https://mail.python.org/mailman/listinfo/python-list

Re: Packaging multiple wheels in the same package

2016-07-13 Thread Nir Cohen
On Thursday, July 7, 2016 at 7:47:22 AM UTC+3, Nir Cohen wrote: > On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: > > On 07/06/2016 11:43 AM, Nir Cohen wrote: > > > > > We decided that we want to package sets of wheels together created or > &g

Re: Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote: > On 07/06/2016 11:43 AM, Nir Cohen wrote: > > > We decided that we want to package sets of wheels together created or > > downloaded > > by `pip wheel`, add relevant metadata, package them together

Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
Hey all, As part of working on Cloudify (http://github.com/cloudify-cosmo) we've had to provide a way for customers to install our plugins in an environment where PyPI isn't accessible. These plugins are sets of Python packages which necessarily depend on one another (i.e. a regular python pack

Why is the interpreter is returning a 'reference'?

2014-02-17 Thread Nir
>>> k = ['hi','boss'] >>> >>> k ['hi', 'boss'] >>> k= [s.upper for s in k] >>> k [, ] Why doesn't the python interpreter just return ['HI, 'BOSS'] ? This isn't a big deal, but I am just curious as to why it does this. -- https://mail.python.org/mailman/listinfo/python-list

Re: Simple Object assignment giving me errors

2014-02-12 Thread Nir
Thank you Jerry. And thank you to the rest of you. You all have been tremendously helpful. PS Chris, next time I will do just that. -- https://mail.python.org/mailman/listinfo/python-list

Re: Simple Object assignment giving me errors

2014-02-12 Thread Nir
Those two classes are from this code here(pasted below). Quite frankly, I don't understand this code. Also, UserDict is a built in module. I just typed it out so as to give reference or any clue as to why I cant instantiate jeez.

Simple Object assignment giving me errors

2014-02-12 Thread Nir
This is from the book 'dive into python'. I am trying to define jeez as being an instance of FileInfo. class UserDict(object): def __init__(self, dict = None): self.data = {} if dict is not None: self.update(dict) class FileInfo(UserDict): def __in

Re: debugger on system with Python 2 and 3

2009-11-29 Thread Nir
rpdb2 should be compatible with Python 3.x. And once you start a debugging session with rpdb2 (running with Python 3.x) you can attach to it from a winpdb instance (running with Python 2.x) On Nov 29, 2:29 pm, Yo Sato wrote: > If there's no other choice I don't mind using winpdb, but it is > ins

Re: Cannot use Winpdb (or PyDev) to trace embedded Python script in MSVC++ application - ImportError: No module named _socket

2008-06-06 Thread Nir
and see if the problem is resolved. Nir On Jun 6, 11:25 am, [EMAIL PROTECTED] wrote: > On Jun 6, 1:13 am, Nir <[EMAIL PROTECTED]> wrote: > > > > > You seem to be having a problem with the import path of the embedded > > interpreter. I suppose the embedded interprete

Re: Cannot use Winpdb (or PyDev) to trace embedded Python script in MSVC++ application - ImportError: No module named _socket

2008-06-06 Thread Nir
interpreter before attempting to import rpdb2. Does this work? Nir On Jun 5, 2:52 pm, [EMAIL PROTECTED] wrote: > I am embedding Python in a MSVC++ (2005) application. The application > creates some environment and then launches a Python script that will > call some functions exported from

Re: About reading Python code

2008-03-17 Thread Nir
On Mar 17, 5:54 am, WaterWalk <[EMAIL PROTECTED]> wrote: > Hello. I wonder what's the effective way of figuring out how a piece > ofpythoncode works. With C I often find it very useful to be able to > run the code in step mode and set breakpoints in adebuggerso I can > watch how the it executes, ho

Re: Getting a Foothold on the IDLE Debugger

2008-02-12 Thread Nir
On Feb 12, 7:15 am, "W. Watson" <[EMAIL PROTECTED]> wrote: > I thought I try to step through some simplePythoncode I wrote with IDLE > using Debug. I'm at the early stages of learningPython. I used the shell to > Run, then clicked on Debug->Debugger. That brought up a window with Stack > and Locals

Re: I don't understand what is happening in this threading code

2008-01-20 Thread Nir
planation is welcome. > > TIA > > Matt It does not check a different variable. You can open a Python session and try the following: Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> a = True >>> id(a) 135527852 >>> a = False >>> id(a) 135527840 The problem is that the waiter is locked waiting for new food and never looks at the variable. You should add hot_food.release() after you set the keep running flag to False. Nir -- http://mail.python.org/mailman/listinfo/python-list

Re: New to Python Would like debug advice

2007-12-20 Thread Nir
On Dec 17, 9:17 pm, PatrickMinnesota <[EMAIL PROTECTED]> wrote: > Yep, I'm new to the language, it's been a couple of months. > > I opted for gvim and console window for developing on a Windows XP > box. I'm not a huge fan of IDEs except for when I need some > debugging. I've done my googling and

Re: How to debug Python program with GUI (Tkinter)?

2007-12-05 Thread Nir
e. How can I know where the program is > processed? > > Any suggestions are welcome! > Best regards, > Davy Try Winpdb http://www.digitalpeers.com/pythondebugger/ With Winpdb you can pause (break into) and inspect the state of the Python script even if it is doing some C code. Nir -

Re: Looking for a good Python environment

2007-11-13 Thread Nir
On Nov 11, 11:39 pm, Paul Rubin wrote: > Russell Warren <[EMAIL PROTECTED]> writes: > > Wing now has multi-threaded debugging. > > Cool, is it windows-only? I'm using Linux. > > > A quick look at the current state of SPE shows that it now has multi- > > threaded debuggin

Re: pdb attach?

2007-09-21 Thread Nir
On Sep 20, 3:26 pm, Hynek Hanke <[EMAIL PROTECTED]> wrote: > Hello, > > please, is there something like 'attach' in pdb yet? My application uses > threads > and when it freezes (e.g. due to a deadlock situation), I'd like to get > the traceback > of all threads and inspect at which point did the ap

Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
Martin v. Löwis wrote: > Nir Aides wrote: >> If few people use file names not in their respective CP_ACP as you say, >> why did Microsoft bother to make Windows XP a unicode OS? > > Because it simplifies their implementation, in the long run. > >> It is because of

Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
altered to work around the problem, but the fact remains: Python is Broken. Martin v. Löwis wrote: > Nir Aides wrote: >> Actually, I already managed to make a Patch for this problem. >> I will post it soon on my website and in this group. >> >> But I find it strange that

Re: sys.path and unicode folder names

2006-02-08 Thread Nir Aides
Actually, I already managed to make a Patch for this problem. I will post it soon on my website and in this group. But I find it strange that this problem even exists, and that I could not find any workarounds on the Internet. Nir Martin v. Löwis wrote: > Nir Aides wrote: >>

Re: sys.path and unicode folder names

2006-02-07 Thread Nir Aides
I can not restrict the name to CP_ACP. I am interested in the general case of Unicode. Windows XP is a native Unicode OS. Martin v. Löwis wrote: > Nir Aides wrote: >> Is there a solution or a work around for the sys.path problem with >> unicode folder names on Windows XP? >>

sys.path and unicode folder names

2006-02-07 Thread Nir Aides
Hello, Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able to import modules from a folder with a non-ascii name. Thanks, Nir -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a Python mentor

2005-10-13 Thread Nir Aides
Hello Len, You should try the #python IRC room. It is always very active and helpful. Nir LenS wrote: > Hello > > Was wandering if there is any place where some one could go to get > mentoring on python coding. I have started coding in python but I am > the only one in the

tracing crash

2005-05-29 Thread Nir Aides
Hi, I am facing a strange problem. I will appreciate an explanation and a work around for the problem. Look in the following code paste. It seems that taking a reference to the frame object crashes python in some scripts: # # trace_hell.py # # crashes with spe (stani's python editor) v0.7.3.a #

tkinter and threads

2005-05-04 Thread Nir Aides
Hello, In Tkinter, is it safe to call widget.after(time, callback) from another thread (other than the gui thread)? Thanks, Nir -- http://mail.python.org/mailman/listinfo/python-list

Tkinter and Windows XP themes (via manifest files)

2005-05-03 Thread Nir Aides
, Nir -- http://mail.python.org/mailman/listinfo/python-list