Re: Console file manager in Python
Re: Console file manager in Python well, to be honest, I don't understand exactly why would you want this, either, but be that as it may...DK what to say about the arrow keys in terminal to work, though I think I remember some dos programs who, though they have a text interface, they can be navigated with the arrows. No idea how they were made, but considering the fakt that back then, you had to write your own drivers for your game, like sound and stuff, I suppose they just made keyboard input go directly through their app, though then how jaws would have read it? no idea again!but what I do know is that if you're looking for a good windows/linux/mac OS tts lib, you can try either accessible_output2 or pyttsx3, depends on what you want to do. Anyway, for what you're doing, I think pyttsx3 would be more than enough, just look it up, OK? URL: https://forum.audiogames.net/post/567306/#p567306 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python I mean, if you really want a console file manager written in python, guess what? One already exists. It's called ranger. Just do sudo apt install ranger and there you go. URL: https://forum.audiogames.net/post/566328/#p566328 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python Yeah you can't tell this guy anything. He always thinks he's right on any subject, even though most of his posts are asking for advice on one issue or another. URL: https://forum.audiogames.net/post/566272/#p566272 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python @11It doesn't save time, not really, but whatever you say. URL: https://forum.audiogames.net/post/566180/#p566180 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python camlorn,My friend knows Linux and the terminal. But he would like such a file manager, because it saves time.We see no problem, but we are looking for keyboard pressing in the console and one tool for both Sappy and Speach Despatcher URL: https://forum.audiogames.net/post/566177/#p566177 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python I hate NVDA's cursor timing thing. I just wish I had the skills to suggest a better way of handling things, because it's getting worse, not better. Dealing with it over SSH is one thing. I get why that's not your every day use case, but weird issues as relates to cursor tracking are cropping up in normal applications now. URL: https://forum.audiogames.net/post/566174/#p566174 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python @8NVDA can, as long as it's done via cursor movement and done fast enough that it doesn't hit NVDA's timeouts. But those caveats are pretty big, and you can't easily get two columns with it. It'd have to be done with some sort of ctrl+tab interface, which would be noisy at best when it redraws. URL: https://forum.audiogames.net/post/566172/#p566172 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python The only way this will work is on the shell with either Speakup or Fenrir. Other than that, no other screen reader has the ability to do highlight tracking.Besides which, this just doesn't sound useful to me. Just learn to use the terminal and you'll get around just fine. URL: https://forum.audiogames.net/post/566163/#p566163 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python The os module works for what you want, as well as Python's built-in file API, shutil, etc. But you will find that you have trouble getting arrow keys to work properly, and as far as I know it's also not possible to get any screen reader properly respecting any sort of split screen layout in the terminal. Better to use Wxwidgets and do a proper GUI, or to just use total commander or something and skip trying to do this.I agree with people who are questioning the utility of this. You can already get a very nice terminal file navigation experience just by properly configuring tab complete. You can't feed the output of this thing to other shell commands. You're going to spend as much effort opening it and arrowing around as just doing cat myfile where you do cat myfile as cat my tab enter. I think that your and/or your friend's time will be much better spent learning to use the terminal. I see two reasons you'd want to do this project, one is for learning and with the understanding that it's not valuable, and the other is because you don't know the terminal yet.As far as I know VO won't read this correctly either. It might work better in some aspects but it has other very annoying terminal bugs, so not sure why people are claiming it'll be great for this kind of thing. URL: https://forum.audiogames.net/post/566162/#p566162 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python you can use the os module and functions that could make a list or a dictionary with file names and paths. And pressing up and down arrow keys will cycle through the dictionary or list and print out the name. And if enter is pressed it uses the file path to open the file URL: https://forum.audiogames.net/post/566141/#p566141 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python I repeat again. ls displays a list of files on the screen. But if the user wants to move to the desired folder with the arrows, and pressing Enter open it by executing cd... URL: https://forum.audiogames.net/post/566139/#p566139 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python vo is the only screenreader that can read the output corectlybud wy do you need a console filemanager?just use cd and mkdir and mv and cp and rm.. URL: https://forum.audiogames.net/post/566136/#p566136 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python Not.NVDA and Orca read the output text.But I want to navigate the list with arrows. Because it doesn't work. URL: https://forum.audiogames.net/post/566114/#p566114 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Console file manager in Python
Re: Console file manager in Python Hi,If it's console, then you don't need any libraries for reading anything. All the main screen readers will read terminal no problem (with the possible exception of everyone's favourite OS X screen sort-of reader VoiceOver).For Linux (and presumably mac), you can use ncurses. For everything else, there's Click.If that's not enough, then here's the article I found Click on.I never managed to do much useful with Click before, but I'm sure that's more on me than it. URL: https://forum.audiogames.net/post/566108/#p566108 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Console file manager in Python
Console file manager in Python Hello.My best friend wants to develop a console file manager in Python for Windows and Linux.It should be like Total Commander. 2 directories at the same time.He wants this to work with NVDA and Orca, but we didn't find one library for that. Therefore he wants to use SAPPY and Speach despatcher.What libraries can we use to read lists of folders and files?What libraries can we use for key pressing in the console? For arrows and tab?And what libraries can help us in general?Thanks in advance! URL: https://forum.audiogames.net/post/566105/#p566105 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector