• pyWrite - python script editor 5 1
Currently:  

Author Topic: pyWrite - python script editor  (Read 19999 times)

0 Members and 1 Guest are viewing this topic.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 713
  • Rating: +153/-23
    • View Profile
Re: pyWrite - python script editor
« Reply #15 on: October 29, 2014, 10:08:24 am »
I guess that's true. The site navigation is all in English as you say as well. However, of the French people we have had that joined, many of them say "Sorry for my bad English". I usually find this to be a false statement, as many of them speak decently well. I guess the overall population doesn't as much though. :/ I'd still encourage people to join if they have basic English skills. We try to be accommodating and open, and programming itself is somewhat universal. :) Google translate has also improved quite a bit in recent years. French to English translation is usually pretty decent these days, though I'm unsure about the other way around.
C'mon guys, that's a non-problem really. IMO, they should just join in and start participating using simple sentences. I'm pretty sure the average french student can read English quite well nowadays (speaking might be another matter, though). Especially when they do some sort of programming studies. Yeah, a bit off-topic  :P .

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: pyWrite - python script editor
« Reply #16 on: October 29, 2014, 08:41:08 pm »
C'mon guys, that's a non-problem really. IMO, they should just join in and start participating using simple sentences. I'm pretty sure the average french student can read English quite well nowadays (speaking might be another matter, though). Especially when they do some sort of programming studies. Yeah, a bit off-topic  :P .
Oh, you'd be (negatively) surprised... :P
And yeah, let alone speaking, that's for sure.

It is better (generally) after the baccalaureate, but there aren't really "programming studies" before, so it's all the same "high school english level", and a lot are just bad at it. But it's not really all the student's fault : the way languages are taught is just bad (too much theory, not enough actual practice) : simply look at other countries, people are as smart/dumb as in any other countries yet some are much better at learning/teaching them.

But anyway, we're going off-topic...
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: pyWrite - python script editor
« Reply #17 on: October 29, 2014, 10:57:08 pm »
I think it is more because of the fact the only official language in France is French, while in Canada, both English and French are official languages (although Quebec doesn't recognize English as one) and most populated Quebec areas are close to USA border. In Quebec, you start learning English in school in 4th grade and beforehand there are english-speaking TV channels on which popular kid shows like Sesame's Street air.

But yeah, back on pyWrite now :P
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #18 on: October 31, 2014, 05:12:09 pm »
Quote
But anyway, we're going off-topic...
The topic can still be changed :P

In the meantime I could implement some UI stuff and saving. I also removed the "Save&Run" menu in favor of a simple "Run" item. Only difference is, that it doesn't save.

Editing a file:


Selecting a location to save to:


File is attached. Shold run on all calc models, but not very usable on clickpad without cursor movement.Please report if you find it useful!
If anyone wants to help: http://github.com/Vogtinator/pyWrite
Todo-list:
-Syntax highligting
-Horizontal scrolling (partially implemented)
-Settings dialog (font and location of micropython)

Offline bisam

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: pyWrite - python script editor
« Reply #19 on: October 31, 2014, 07:15:50 pm »
Well, I made this post very active with only one off-topic sentence...

So let's get rid of any misunderstanding and stop talking about it.

I just wanted to specify that :
1) If I want my students to know something about their calculators I get them first to TI-Planet,
2) If they want a little more, I talk about Omnimaga too... but a bunch of my students are afraid about writing... even in french, not considering english writing as a possibility. Their abilities are maths, physics and a bit on computer science... that's it.


To get back on topic, I'm pretty impressed by this new release.
I just wanted to know if it is planned to :
1) use UTF8 encoding ?
2) let users choose the place for MicroPython run ?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #20 on: October 31, 2014, 07:29:09 pm »
Well, I made this post very active with only one off-topic sentence...

So let's get rid of any misunderstanding and stop talking about it.

I just wanted to specify that :
1) If I want my students to know something about their calculators I get them first to TI-Planet,
2) If they want a little more, I talk about Omnimaga too... but a bunch of my students are afraid about writing... even in french, not considering english writing as a possibility. Their abilities are maths, physics and a bit on computer science... that's it.
They are afraid of writing?  :o  I can't think of a single reason why. Everybody can be anonymous here, it's just the Internet.

Quote
To get back on topic, I'm pretty impressed by this new release.
I just wanted to know if it is planned to :
1) use UTF8 encoding ?
Yes, if you can suggest an input method. Latin-1 or ISO-8859-15 would be easier though and it contains most of the needed characters.

Quote
2) let users choose the place for MicroPython run ?
Yes, third item of the Todo-list. Not a very high priority, though.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: pyWrite - python script editor
« Reply #21 on: October 31, 2014, 10:32:17 pm »
I guess ISO 8859 would already be enough, yeah. Covers 99.9% of the cases I suppose.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #22 on: November 05, 2014, 05:01:19 pm »
So, this time I posted the update on ti-planet and a cross-post lands here.

pyWrite 0.2:
  • Some syntax highlighting
  • Selections
  • Bugfixes
  • Settings
  • Better scrolling (also horizontal)
Some screenshots:



Please report any bugs you can find!

Download: here
Concerning inputting characters not accessible via the usual keys, I'll probably implement a sidebar that appears if you press Var.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: pyWrite - python script editor
« Reply #23 on: November 09, 2014, 06:16:32 am »
I tried this last night, and I must say I'm impressed. It's really smooth and responsive, and the run-from-editor function is really useful. One very silly thing that could be improved (in my arrogant and honest opinion) is the mouse pointer; IMO it doesn't really fit in with the rest of the program.

But put that at the bottom of your todo list :P
I'm not a nerd but I pretend:

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #24 on: November 09, 2014, 07:42:02 am »
Quote
I tried this last night, and I must say I'm impressed. It's really smooth and responsive,
I wrote it like a game, with a main game loop, so the screen is always redrawn completely. It will drain your battery even quicker than the OS, but that's the only issue.

Quote
and the run-from-editor function is really useful. One very silly thing that could be improved (in my arrogant and honest opinion) is the mouse pointer; IMO it doesn't really fit in with the rest of the program.

But put that at the bottom of your todo list
What would you change? Behavior, appearance?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: pyWrite - python script editor
« Reply #25 on: November 09, 2014, 08:26:29 am »
What would you change? Behavior, appearance?


I think the mouse cursor is a little too large
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: pyWrite - python script editor
« Reply #26 on: November 09, 2014, 08:28:25 am »
The mouse behavior is good. But like Ivoah said, it's a little bit too large, and IMO it could just be a 2-color sprite instead of all this anti-aliased fancyness. Yes, I'm telling you that the cursor looks too good ;D

Let me whip up a quick example of what I'd find a good cursor.
I'm not a nerd but I pretend:

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #27 on: November 09, 2014, 09:20:27 am »
Quote
The mouse behavior is good. But like Ivoah said, it's a little bit too large, and IMO it could just be a 2-color sprite instead of all this anti-aliased fancyness. Yes, I'm telling you that the cursor looks too good

Let me whip up a quick example of what I'd find a good cursor.
If it's a usable license, I'll use it :)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: pyWrite - python script editor
« Reply #28 on: November 09, 2014, 09:25:49 am »
Actually I was meaning to design a cursor myself :)
I'm not a nerd but I pretend:

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #29 on: November 09, 2014, 09:30:47 am »
The license still applies :P