module 'os' has no attribute 'startfile'
See original GitHub issueOperating 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:
- Created 3 years ago
- Comments:10 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Akash-nath29 i don’t think it will work on android
@TheShubhendra Please close this issue if it is resolved or of no use now. 🙂