Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 20 19:54
    gnsiva closed #920
  • Sep 20 19:54
    gnsiva commented #920
  • Sep 20 19:26
    gnsiva edited #920
  • Sep 20 19:22
    gnsiva opened #920
  • Sep 20 13:18
    tjguk commented #892
  • Sep 20 13:12
    tjguk assigned #917
  • Sep 20 13:12
    tjguk commented #917
  • Sep 20 13:07
    tjguk closed #918
  • Sep 20 13:07
    tjguk commented #918
  • Sep 20 13:01
    tjg-global commented #918
  • Sep 20 13:00
    tjg-global commented #918
  • Sep 20 12:51
    pintman commented #689
  • Sep 19 20:35
    erniebose commented #473
  • Sep 19 14:35
    ntoll commented #473
  • Sep 18 20:55
    erniebose commented #473
  • Sep 17 17:59
    tjguk commented #895
  • Sep 17 17:58

    tjguk on master

    Use flake8 rather than flake/py… In the spirit of eating our own… Merge pull request #919 from tj… (compare)

  • Sep 17 17:58
    tjguk closed #919
  • Sep 16 05:03
    tjguk opened #919
  • Sep 16 04:57
    tjguk commented #918
Nicholas Tollervey
@ntoll
@dybber hurrah and many congratulations..! Are there photos..? Write up... :-D
???
Zander
@ZanderBrown
socializing doesn't even look like a word anymore
ZanderBrown @ZanderBrown has been translating en_US to en_GB and is extra sensitive to iz-s at the moment
Nicholas Tollervey
@ntoll
iz that so..?
ᴄᴀʀʟ ᴛᴜʀʟᴀɴᴅ
@CarlTurland_twitter
Anyone else had the problem when you launch Mu-Editor and the text is ridiculously small? Even when I zoom in to maximum, each letter is barely a dot on the screen...
Nicholas Tollervey
@ntoll
@CarlTurland_twitter hmmm... that's not good, and it's the first I've heard of this sort of thing. What sort of OS are you using and what version of Mu..?
ZanderBrown @ZanderBrown suspects hidpi
anecdata
@anecdata
What's the best way to submit a feature request? I almost always have multiple Mu tabs up with the same code in each, but it gets confusing which tab corresponds to which device. Would be great to see the USB name or some other identifier.
Nicholas Tollervey
@ntoll
@anecdata submit an issue via GitHub -> https://github.com/mu-editor/mu/issues Thank you!
anecdata
@anecdata
Cool, thanks!
mateusz1648
@mateusz1648
I installed mu on the computers in my classroom. The installation was successful. When I try start program on desktop show a information: “THIS APPLICATION FAILED TO START BECAUSE IT COULD NOT FIND OR LOAD THE QT PLATFORM PLUGIN “WINDOWS” IN””
What can I do?
Nicholas Tollervey
@ntoll
@mateusz1648 what version of Windows are you using? Is it completely up-to-date..?
Given the error message you report, a quick Google suggests this might help: https://forum.qt.io/topic/90293/could-not-find-or-load-the-qt-platform-plugin-windows-in/2
please do let us know how you get on..!
Best of luck
KKawase0104
@KKawase0104

Hello.

We have developed "Studuino:bit", a microcomputer board with ESP32, and we would like to use a modified version of the Mu editor for the Studuino:bit system.

We were planning to add a Studuino:bit mode to Mu and create pull request. However, it was necessary to change the common source (serial port) used by standard mode, and we are worried that the changed code will adversely affect Mu Editor Standard Mode.

Therefore, we are considering redistributing the modified Mu editor on our site. Are there any restrictions on redistribution? For example, that the Mu logo and name cannot be used in secondary works to prevent confusion with the original Mu editor.

Thank you for your time.

Nicholas Tollervey
@ntoll
@KKawase0104 the Mu editor is licensed under the GPL v3 as per the details in the LICENSE file in the source code. Please please please, rather than fork Mu, submit your pull request and we can try to work out what the problem is with you code change. We're a friendly and collaborative group..!
KKawase0104
@KKawase0104

@ntoll
All right, we will try to make pull request if that's what you prefer. However, if our pull request is accepted, I'm concerned because the Mu download page is CC BY-NC-SA. Would we be able to link to the Mu site from our company's website? (https://www.artec-kk.co.jp/artecrobo2/en/software/python.php)

I believe that since we've been customizing Mu under gitHub's public settings, with GPL v3, redistribution should be allowed? I was just concerned that distributing similar-looking software might cause confusion for Mu's users, so I wanted to ask you whether using the Mu name and logo would be a problem.

martybillingsley
@martybillingsley
Quick question on Mu "check": is it possible to configure the check so that it ignores style issues and only reports actual syntax errors? For example, print ( 'hello' ) is legal Python, yet Mu complains about the extra spaces. Another example is that x=1 won't pass the check; Mu insists on x = 1. My students are having trouble finding the actual Python errors among the noise. Any way to change what check looks for?
Matt Bone
@ThisisMattBone_twitter
Any way to play a video file using the Mu Editor?
Nicholas Tollervey
@ntoll
@martybillingsley we had a big debate about this about 18 months ago and the outcome was that since there is a well understood Python "style" (i.e. PEP8) the checker should nudge people in that direction.
@ThisisMattBone_twitter not sure what you mean. Are you asking how to play a video in a text editor (you can't), or can you write a Python application in the Mu text editor (you can) which can play videos.
If the latter, this forum isn't really the right place to ask such questions -- we're all about how folks use Mu itself rather than help on particular Python programming problems.
Although, the first reply to my Google search of "How to play a video in Python" is this: https://stackoverflow.com/questions/18648221/how-to-play-a-video-clip-from-python#18648287
best of luck
Matt Bone
@ThisisMattBone_twitter
Thanks! I am using the Mu Editor in Pygame Zero mode, and only see images, fonts, sounds, and music so I was concerned.
Nicholas Tollervey
@ntoll
Ahh... ok. With PyGameZero, you should be able to access the underlying PyGame library quite easily and use the technique linked to above. Best of luck!
Matt Bone
@ThisisMattBone_twitter
Hmm, let me know if this isn't this place for this but I'm looking into that technique and getting a "movie module not available" error. Would that mean playing video on Mu isn't possible right out of the box, or more likely I'm just typing something wrong? I'm testing by using this guy's post here: http://bluegalaxy.info/codewalk/2018/08/29/python-how-to-play-a-video-with-sound-in-pygame/
martybillingsley
@martybillingsley
@ntoll -- thanks for the reply. Unfortunately, the students I'm using this with are 12 years old and experience cognitive overload when they check their code. They aren't able to pick out syntax errors in a sea of style errors. (I did read the previous debate, but didn't see whether a conclusion had been reached.) Maybe different categories of error could be printed in different colors? If syntax errors were red while style errors were blue, that would help students debug their programs.
Nicholas Tollervey
@ntoll
@ThisisMattBone_twitter OK... so it looks like the pygame.movie module has been deprecated and will no longer work. :-/ https://bitbucket.org/pygame/pygame/issues/238/no-module-named-pygamemovie
@martybillingsley aha... good call. I see you've raised an issue on GitHub about this. Let me have a think and see what I can do. My intuition is to have a setting somewhere to toggle style related feedback on and off.
Any progress made will be annotated onto your issue so you'll be able to see how things progress.
Sorry I can't be more immediately helpful.
martybillingsley
@martybillingsley
@ntoll -- a setting would be great! I was poking around in Mu looking for exactly that. Thanks.
Kev Hacker
@WebNosis75_twitter
Hi all. Just a quick question. Is there any way to change the location of the resources folder? Our students are blocked from accessing the C Drive.
Matt Bone
@ThisisMattBone_twitter
So as a beginner, tackling video in Mu seems far out of scope?
Zachary
@Zachary77750602_twitter
sup
how do I make an if else statement?
Zander
@ZanderBrown
if thing:
    print('thing')
else:
    print('not thing')
But this is the place for help with Mu, the WWW is full of tutorials for learning Python
Zachary
@Zachary77750602_twitter
okay thank youu
Nicholas Tollervey
@ntoll
@WebNosis75_twitter the answer is here: https://codewith.mu/en/tutorials/1.0/configuration
Nicholas Tollervey
@ntoll
@ThisisMattBone_twitter well, it's more a case that PyGame won't let you do it rather than Mu. There may be plenty of ways to do it using other Python frameworks.
Matt Bone
@ThisisMattBone_twitter
Would I need to switch out of PyGame mode to use those other frameworks?
Nicholas Tollervey
@ntoll
@ThisisMattBone_twitter yup
To Python3 mode
Tim Golden
@tjguk
@martybillingsley @ntoll I'm quite a fan of removing the style-related checks out of the way especially now that we have a [Tidy] button to invoke Black. I like to encourage the youngsters to use the [Check] button to help find their issues, but since their code is fairly untidy, having a bunch of "you haven't put enough spaces here..." warnings isn't really helping.
Nicholas Tollervey
@ntoll
@tjguk good point (especially with relation to the "tidy" button).
martybillingsley
@martybillingsley
@ntoll @tjguk Just downloaded the alpha version. The "tidy" button does the trick! Click it before clicking the "check" button and all is well. No need now for a new setting for the "check" feature. Haven't thoroughly put the alpha version through its paces -- stable enough to deploy to classrooms?
Tim Golden
@tjguk

@martybillingsley Pretty stable. It's only "alpha" in the sense that it's the previous release with not-yet-formally-released changes. In principle we might withdraw or alter some new change if a big drawback emerged which we hadn't seen. But in terms of stability: we have 100% test coverage and tests run on every deployment and before every package is built. So, insofar as that gives you confidence... go for it.

And we'd definitely like to hear how the [Tidy]/[Check] combination works in a live classroom :)