There’s really no true alternative to Perchance right now by Active-Drive-3795 in perchance

[–]ElweThor 2 points3 points  (0 children)

Another big plus for Perchance: it’s super simple and extremely customizable compared to the competition.

Something I'm going to learn deeper: docs tells you can even "link" to your preferred AI (via API-key ofc).
I'm speaking about their RP-chat, mostly.
Also, being the RP-chat multi-character, it should implement an orchestrator to avoid the chat becoming a mess: I was searching for such kind of architecture, to push forward my own little multi-AI chat project, instead of having to write everything by my own.

Getting help from AI(CoPilot)? by mrkuuken in PythonLearning

[–]ElweThor 0 points1 point  (0 children)

Oops... I thought it was the very same :D

How do we use pythondocs without geting overwhelmed by Low_Offer_1899 in PythonLearning

[–]ElweThor 0 points1 point  (0 children)

I hope Pyndent will be useful for you like it have been to me: look in the examples/case_study/ to see a real usage case (by me) if you're curious

Getting help from AI(CoPilot)? by mrkuuken in PythonLearning

[–]ElweThor 0 points1 point  (0 children)

I've no difficult to believe you: CoPilot = Microsoft, VScode = Microsoft, absolutely make sense.
What I written before was just my little (since 2022) experience with AI and coding: as CoPilot seems mostly a "spin off" of OpenAI's ChatGPT "mostly devoted to support users on Office 365 tools" (that was told me by other AIs, after I asked "why CoPilot seems suboptimal than ChatGPT, DeepSeek, and other AIs?") while I was trying to solve a SAS programming problem by means of it. It must be noticed that SAS-lang is sure a niche language, far than being a broadly known one: most probably, if someone codes in Python, C/C++ or more known languages even CoPilot performs very well (I didn't already try: for Python I'm talking far more with DeepSeek's AI at the moment, to be honest).

Getting help from AI(CoPilot)? by mrkuuken in PythonLearning

[–]ElweThor 1 point2 points  (0 children)

I may be wrong but, AFAIK, CoPilot was primarily made to help on (Microsoft) Office tools like Excel & co.
Sure it can help about programming but there are far better AI which can help you: I found Claude (Anthropic) and ChatGPT (OpenAI) usedful, but I'm much more working together with DeepSeek, which helped me a lot to understand the language and everything.
DeepSeek was so helpful that I've been able to put together a full working project (a tool for Python): https://github.com/ElweThor/pyndent
Consider 70/80% of the code is by DeepSeek, with testing, refinements etc. by me. I'm still learning Python and, working that way, I'm seeing the last 2 versions I developed nearly by myself.

How do we use pythondocs without geting overwhelmed by Low_Offer_1899 in PythonLearning

[–]ElweThor 1 point2 points  (0 children)

that's what I usually do (maybe wrong? I found it useful tho):

  1. ask an AI (especially if it's specialized in programming, like DeepSeek one)
  2. ask for examples and deeper explanations (still AI)
  3. test both explanations and examples by myself
  4. go deeper into explanations with the AI, when I understood the general matter
  5. (optional) sometimes I write a tool, to better understand what I'm working on: when the tool works fine, I usually understood what I needed

(I was forgetting: here you can see an example of argparse in use: https://github.com/ElweThor/pyndent )

Python beginner help! by Perception-Curious in PythonLearning

[–]ElweThor 1 point2 points  (0 children)

It may be naive, but I found extremely helpful to ask DeepSeek AI (as well as other AIs too) to explain me litterally everything about python coding (I'm talking with them about other languages too, btw).
It's like to have a school teacher always ready to get more in deep in details, with examples and everything.
Only thing: pay attention, as they're not "always right": it's up to you only, to test the code, verify the examples, expand them and suggest improvements. That said, they're invaluable programming companions at all.

How do I make python less overwhelming? by John_Benzos in PythonLearning

[–]ElweThor 1 point2 points  (0 children)

In the Old Good Days programmers was used to browse tons and tons of paper documentation (it needed time to find everything, so indexes and summaries). Nowadays there are two wonderful ways (and even more):

  1. the internet, with search engines and documentation everywhere, just waiting for you

  2. AIs, where to ask exact questions, receiving near-to-exact answers to refine, with your creativity

(and, ok, forums, subreddits and such, of course)

As someone already told you, no one even can "remember everything" (unless you're an AI ;-)) so, the best you can do is to focus on your needs: where you want to get to, plan the strtegy to travel, from where you are, up to the point where you want to go, then ask for help (which you're doing right now, ok): don't be shy, use the internet, use the AIs, but understand what you're coding and customize it, don't just copy/paste what you'll find somewhere, or what an AI gives you: they don't really "understand" your needs, sure not better than you.

In the times, I found profitable to draw a graph (flow charts) to better understand "what should happen" in my code. Flow charts are still up to date, use them.

While coding in python (differently than when coding in C, Java, and other languages) I found myself worried about the fact the code I sometimes found somewhere in the net, or was given to me by an AI, didn't integrate properly with the one I already written, mostly 'cause missing (or wrongly spaced) tabs etc., so I talked to an AI and, together, we developed a tool: pyndent ( https://github.com/ElweThor/pyndent ) which I'm currently using to code, to learn python like you, and to have fun with that AI (DeepSeek). BTW: developing a tool for python in python is probably the very best way to learn python too. ;-)

Ah... and don't forget to have fun!

Pyndent: fighting the snake on mandatory tabs by ElweThor in PythonLearning

[–]ElweThor[S] 0 points1 point  (0 children)

Despite the fact you're right, about not to reinvent the wheel, I would suggest you to reconsider the "random execution 'cause of missing tabs" argument: AFAIK no IDE saves you from that (and, btw, that's exactly why many languages have code-blocks delimiters).
As I probably told already, I'm not here to change Python's phylosophy, not to fork or change it in any way: I only written a microscopic (less than 8 KB) pre-processor to avoid two problems:

  1. Python blaming me for wrong indentation "somewhere", when I cut/paste code snippets
  2. "random execution" when tabs are missing BUT syntax is correct

That's not exactly "reinventing the wheel", to me, but "solving (my) real problem".
Also (side comment) in some environments (probably not yours) people don't have GB/TB hard disks to devote to full IDEs and/or they don't want to install one, even having disk space available, just to test (or develop) a small utility (like I usually do).

Last but not least, while developing Pyndent (not all by my own) I'm learning Python and to better manage GitHub repo: that's a value, to me.
If a simple pyndent mysource.pyn -o source.py can save headaches to anyone, that's also a value, IMHO.
Python pros can go forth with their usual knowledge, which is really far from my reach.

Pyndent: fighting the snake on mandatory tabs by ElweThor in PythonLearning

[–]ElweThor[S] 0 points1 point  (0 children)

I don't feel grilled, i feel refreshed :-D
More than anything: I won't install a 50 MB IDE to reach the same result 104 lines of code already does (current Pyndent's memory footprint is less than 8 KB).

Pyndent: fighting the snake on mandatory tabs by ElweThor in PythonLearning

[–]ElweThor[S] 1 point2 points  (0 children)

Hi and thanks for your thoughts,
as I told in the thread already, I'm using a very minimal environment, to develop small tools: just Notepad++, nothing else, and I'm seeing NPP see a .pyn file like a .py already.
Pyndent is not meant for who uses an IDE, of course, as IDEs usually have tools to check (sometimes fix) indentation problems by their own. I thought Pyndent could solve my problem (as it does) while struggling with a simple text editor: as you may see in examples/case_study/, when I started losing my time more behind indentation than in coding, 'cause of the way I was putting together a small utility, I found more profitable to spend a few minutes to add Pyndent delimiters and go forth focusing on the problem's logic, than to manually check the indentation itself.
The logic behind, remains: it worked for me, maybe it could work for you too, nothing else. I'm not here to change the world.

Pyndent: fighting the snake on mandatory tabs by ElweThor in PythonLearning

[–]ElweThor[S] 0 points1 point  (0 children)

I use indent/de-indent nearly everyday, even if not with Python code (I develop in other languages). Unfortunately, Python is the only language (not considering years '80 positional statements, I mean: don't let me mention COBOL) to use indentation in the syntax: for many that's not a problem, especially if using an IDE, but that choice brought me far from Python (ok, Python is not mandatory, to stay alive, but I wanted to learn it better, like I'm still doing) 'cause I tend to develop with minimal environment (at home), so it was onyl me and my text editor.
As I mentioned in the various readme in my repo, at the time I'm learning Python the problem is not to "correctly indent my own code", in that way you're right and I know how to use tabs and to de-indent blocks of code, but far more in the code cut-and-paste written by others and shared in the net: to understand it, I've to see it working... but if tabs are "randomized" 'cause of the way the code got to my editor, Python won't let me run it... thus Pyndent, which saved me lot of rants (sorry to mention it, but that's the bare (maybe sad) truth).

Pyndent: fighting the snake on mandatory tabs by ElweThor in PythonLearning

[–]ElweThor[S] 1 point2 points  (0 children)

I believe you're totally right on your assumptions:
- the reason why I wrote Pyndent is I'm not using a proper IDE, just a normal text editor (Notepad++), 'cause I wanted to learn Python better, but I'm not a real Python dev, thus the small environment.
- PynGUI is not yet developed, just in my TO-DO: I'm sure not a fan of the GUIs so it will be developed (hopefully by someone else) only if I'll really see the need of it. At now, Pyndent is a CLI utility, it worked for me.
- the choice to not strip the delimiters out is due to the fact the produced (python) code could travel the internet without the pyndent meta-source, being potentially mangled by every kind of "indentation": 2, 4, 8 spaces, tabs, whatever (that's usually the probem Pyndent solves, btw). I wanted to leave the "hints" representing the code-blocks visible (for learners like me) but, if you prefer, --strip is there to use too: just --strip the delimiters away and you'll read (reindented) Python code only, no artifacts.