question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module 'os' has no attribute 'startfile'

See original GitHub issue

Operating system : Android 8.1.0 Environment : Termux

>>> text = "Hello world"
>>> pywhatkit.text_to_handwriting(text,rgb=[0,0,0])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pywhatkit/chr_to_handwriting.py", line 9, in text_to_handwriting
    os.startfile(save_to)
AttributeError: module 'os' has no attribute 'startfile'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ns23kcommented, Aug 18, 2022

@Akash-nath29 i don’t think it will work on android

1reaction
aaryanrrcommented, Jan 8, 2021

@TheShubhendra Please close this issue if it is resolved or of no use now. 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'module' object has no attribute 'startfile'
On Linux you can use: import subprocess, sys opener = "open" if sys.platform == "darwin" else "xdg-open" subprocess.call([opener, filename]).
Read more >
[Tutor] Why is startfile unavailable on my mac?
os.startfile() AttributeError: 'module' object has no attribute 'startfile' Why is this unavailable to me? I am trying to open a url in a...
Read more >
LungCTAnalyzer in macOS: missing os.startfile - Support
modules/LungCTAnalyzer.py", line 843, in onCreatePDFReportButton ... AttributeError: module 'os' has no attribute 'startfile'.
Read more >
Question #680991 “os.startfile() doesn't work”
Sometimes App.open () doesn't work. As a workaround i like using the python command: os.startfile('Link to .exe')....but for some reason it ...
Read more >
launching an application - python - Daniweb
someone knows how to launch an app in mac?? [CODE] import os class LaunchApp: def launch(self): os.startfile("/Applications/QuickTime ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found