Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type xterm in python #69631

Closed
reema mannequin opened this issue Oct 20, 2015 · 2 comments
Closed

type xterm in python #69631

reema mannequin opened this issue Oct 20, 2015 · 2 comments

Comments

@reema
Copy link
Mannequin

reema mannequin commented Oct 20, 2015

BPO 25445
Nosy @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2015-10-20.11:59:41.322>
created_at = <Date 2015-10-20.06:15:29.640>
labels = ['invalid']
title = 'type xterm in python'
updated_at = <Date 2015-10-20.11:59:41.320>
user = 'https://bugs.python.org/reema'

bugs.python.org fields:

activity = <Date 2015-10-20.11:59:41.320>
actor = 'r.david.murray'
assignee = 'none'
closed = True
closed_date = <Date 2015-10-20.11:59:41.322>
closer = 'r.david.murray'
components = []
creation = <Date 2015-10-20.06:15:29.640>
creator = 'reema'
dependencies = []
files = []
hgrepos = []
issue_num = 25445
keywords = []
message_count = 2.0
messages = ['253207', '253216']
nosy_count = 2.0
nosy_names = ['r.david.murray', 'reema']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue25445'
versions = ['Python 2.7']

@reema
Copy link
Mannequin Author

reema mannequin commented Oct 20, 2015

python xterm give output /usr/bin/xterm when used in unix shell script.
Need to get same output in python for:
type xterm
similarly for type textedit

When trying to do it with subprocess.Popen, i am getting an error:
type object 'type' has no attribute 'rfind'
or xterm not defined.
Kindly help urgently

@bitdancer
Copy link
Member

For programming help you should post to the python-tutor or python-list mailing lists. This issue tracker is for reporting bugs.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant