Jump to content


Photo

I got out of school this week, Python based programming course


  • Please log in to reply
28 replies to this topic

#1 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 June 2016 - 08:57

Hi

I got out of school this week the bases of programming course, on the face of Python. I'll add here my thesis, which was a time to make within 100 minutes. The plan is to make a game for enigma2. So far, I've seen a Sudoku and a few more of the simple games. I do try with card game.

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 18 June 2016 - 09:51

They start teaching you programming using Python?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: I got out of school this week, Python based programming course #3 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 June 2016 - 10:36

Yes, it was the name of the course of 'Programming fundamentals'. To solve came to ca 40 lighter or more complex exercises (programming in Python). The course lasted for two months.

Edited by zeros, 18 June 2016 - 10:39.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #4 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 18 June 2016 - 12:40

Well let me put it this way, IMHO an interpreted language, that is very liberal in using types and constructs, might not be the best choice to learn as first programming language. We learned Pascal as first language. Actually for most of us it wasn't the first, but it proved very useful. Sometimes the strength of something is in it's limitations, not it's possibilities.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: I got out of school this week, Python based programming course #5 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,790 posts

+186
Excellent

Posted 18 June 2016 - 14:17

ah Pascal ;) first TP6 then BP7


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

Many answers to your question can be found in our new and improved wiki

Note: I do not provide support via PM !.


Re: I got out of school this week, Python based programming course #6 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 June 2016 - 14:21

I think it all depends on the method used to teach programming.

 

Sloppy and spaghetti code is seldom caused by the language, but always by the programmer. The fact that a language allows you to get away with something doesn't mean you should, I reject PR's for this reason on a weekly basis...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: I got out of school this week, Python based programming course #7 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 18 June 2016 - 16:32

I see this the other way around - if you are willing to accept to suffer from your own dumbness, then C is the perfect programming language  ...



Re: I got out of school this week, Python based programming course #8 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 June 2016 - 17:09

I have to agree with gutemine, I'd like the next, in addition to learn C or C++.
In school taught me the basic and in University Fortran and Assembler.
I'll add here one more of my program/ card pack mixing. I intend to use this structure to the game.
Whether I can use a graphic with tkinter in enigma2?

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #9 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 21 June 2016 - 08:22

Certified and I'm really proud of it! Have a nice summer!

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #10 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 21 June 2016 - 11:27

Congratulations!


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: I got out of school this week, Python based programming course #11 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 23 February 2017 - 18:43

I finished recently the JavaScript course, and I add in the same way the same program for cards mixing in JavaScript. A happy testing! You just need a Web browser to launch the URL index.html, which you load onto your computer with the js file.
https://bitbucket.or...dipaki-segamine

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #12 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 24 February 2017 - 17:08

"Real programmers can write Fortran in any language."

(Google can probably dig up the hilarious story of "Mel", a must read for beginning programmers.)

Edited by MiLo, 24 February 2017 - 17:14.

Real musicians never die - they just decompose

Re: I got out of school this week, Python based programming course #13 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 24 February 2017 - 18:03

Instead of Fortran I would suggest today the Matlab - this is a much more powerful and more convenient in my opinion. But I'm just a Sunday programmer!

Edited by zeros, 24 February 2017 - 18:04.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #14 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 24 February 2017 - 19:53

I don't think MiLo was entirely serious here ;)


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: I got out of school this week, Python based programming course #15 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 26 February 2017 - 12:25

Here I am doing with MATLAB. Actually, it's a very, very powerful tool.

%http://www.divilabs....you_19.html?m=1

clc

clear all

a=input('Enter a number 4fun (1=logo or 2=cruller or 3=truss): ');

 

disp(['The value of fun is ' num2str(a)]);

 

a

if a<0

disp('warning: the number 4fun must be a positive :-)');

elseif a==1

disp('OK, logo, it will show MATLABs logo in a new figure. It Plots the L-shaped membrane logo with MATLAB® lighting.');

logo % It will show MATLAB's logo in a new figure. It Plots the L-shaped membrane logo with MATLAB® lighting.

elseif a==2

disp('OK, this cruller command will fetch you a 3-D shape, that is rotatable ( Just use the hand tool ).')

cruller % This command will fetch you a 3-D shape, that is rotatable ( Just use the hand tool ).

elseif a==3

disp('truss % Animation of a bending bridge truss.')

truss

else

disp('OK: you have to enter something else :-(');

end

 

About Maya Embedded Language- I found out interesting reading :)


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #16 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 26 February 2017 - 12:45

Programming in MATLAB versus C is much like driving a car versus building one.

Part of my daily work is making something that takes a matlab program 20 minutes to compute run in 1 second in a battery-powered device.
Real musicians never die - they just decompose

Re: I got out of school this week, Python based programming course #17 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 27 February 2017 - 19:06

Here one challenge ;-)
http://codegolf.stac...o-moo-moonlight

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: I got out of school this week, Python based programming course #18 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 27 February 2017 - 23:40

There are some horrible programming languages in this world... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: I got out of school this week, Python based programming course #19 bril

  • Senior Member
  • 204 posts

+2
Neutral

Posted 28 February 2017 - 06:50

What do you think of Cobol and IBM Rpg(le). Very old but still standing, like me. Using it every day.


Edited by bril, 28 February 2017 - 06:51.

Mut@ntHD51 STB 4K 2x,  Openpli 7.1 release  , 60 cm schotel 2x duo-lnb, 19.2/23.5 vaste opstelling, Panasonic TXL55DT50E


Re: I got out of school this week, Python based programming course #20 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 28 February 2017 - 13:14

I've done both (was a systems programmer on 4341/4381 mainframes and S36 midranges). I feel very sorry for you.  :D  :P


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users