Affichage des articles dont le libellé est Shell. Afficher tous les articles
Affichage des articles dont le libellé est Shell. Afficher tous les articles

dimanche 23 février 2014

jeudi 30 janvier 2014

Re: Python shell wont open IDLE or an exisiting .py files topic




On 1/29/2014 11:16 PM, Ben Finney wrote:
> Terry Reedy <(E-Mail Removed)> writes:
>
>> On 1/29/2014 6:26 PM, (E-Mail Removed) wrote:
>>> > If I launch the Python GUI it opens a Python Shell fine. But as
>>> > soon as I try to open a file (including a "new" file), it closes
>>> > the Shell.

>>
>> This I do not. What is 'Python GUI'? What is 'Python Shell'?

>
> Those are (part of) the names of menu entries created by the Python
> installer for MS Windows. I am not sure exactly what programs they
> invoke.


One entry is 'IDLE (Python GUI)'. I have never seen Idle referred to as
'Python GUI' as the later is non-specific and could refer to wxpython or
pyqt or some other Python GUI.

Idle open a window called Python x.y.z Shell (until recently just Shell).

The other menu entry is 'Python (Command line)' and I am guessing that
the paragraph above has nothing to do with this entry.

--
Terry Jan Reedy






mercredi 29 janvier 2014

Re: Python shell wont open IDLE or an exisiting .py files topic




On 1/29/2014 6:26 PM, (E-Mail Removed) wrote:
> I am on Windows 8, Python 3.3.4 and 3.3.3 and all previous versions
> exhibit the same problem on my Windows 8 PC. This problem occurred out
> of nowhere overnight. It was working fine for months until today.


Try the following, which I believe I said before.

1. Start the normal console interpreter 'Python (command interpreter)'
in the Start Menu.
2. In the interpreter, type
>>> import idlelib.idle

3. Open a file. If Idle quits,
4. If Idle quits, look in the console for an exception message.
5. If you do not understand it, *copy and paste the entire message* here.
6. If the Python console also closes, report here.


> > I tried to open a file and nothing happened. If I tried to open a

> .py file
> > (any .py file) from an existing instance of IDLE, it briefly flashed up a
> > new window and then closed both the new window and the existing window
> > (normally it opens the requested in a new window leaving the existing

> window
> > untouched).


This much I understood.

> > If I launch the Python GUI it opens a Python Shell fine. But as soon as I
> > try to open a file (including a "new" file), it closes the Shell.


This I do not. What is 'Python GUI'? What is 'Python Shell'?


> > I rebooted the machine. Same problem.
> >
> > I repaired the Python installation and rebooted. Same problem.
> >
> > I uninstalled Python. Rebooted. Deleted the Python33 directory entirely.
> > Rebooted. Installed Python. Rebooted. Same problem.
> >
> > Everything else on the system appears to be working just fine.
> >
> > Any ideas what the problem might be or how else I might go about fixing
> > things?

>
>
>
> Sent from Windows Mail
>
>
>



--
Terry Jan Reedy






[Q] Running multiple 'adb shell' commands through 'CreateProcess' on Windows PC topic




Hi All,

This query is about running 'multiple adb commands' on 'single adb shell' opened using CreateProcess.

Currently we are able to run single command on adb shell which is created using CreateProcess API. This works fine.

But our requirement is, opening up of single adb shell and executes set of adb commands on that same shell. (ie., reusing of already opened adb shell for executing further adb commands on it)

Kindly let me know if anyone has an idea on this.

Thanks and Regards,
Sridevi.





jeudi 23 janvier 2014

Interactive Shell Vs Proper Root topic




Hi guys

Something slightly concerning, when rooting with the 4.3 upgrade, it doesnt actually provide full root.
Things like adfree, etc etc do not retain their root functionality. Because of the "interactive shell" only, this is the cause.
Any idea to set it to run with full SU permissions?