Practice your Skills
-
I just wanted to pass this along for those who are learning to code or even challenging for those who are more advanced. I know there are a number of sites like this.
I started learning Python really when I got Pythonista almost a year ago and I'm still not great with the basics but I think this kind of site is helping me learn more.
I'm not affiliated with this in any way....just want to share something for those wishing to improve Python (or other languages)
I tried to find a way to upload scripts for testing via Pythonista, but it's not easy as the site is heavily scripted. Easiest way I found is through Dropbox (save to Dropbox and then upload script on the site). Unfortunately the website is not mobile friendly and pasting into the submit form seems to not work on iOS (it does on PC).
Have fun!
-
@cook, thanks for sharing. Just doing some of the warm up problems.
A small note for others, you have to log in to use it. But you can log in easily a variety of ways including Facebook identity. I love this newish innovation of being able to sign up with established accounts.Anyway, thanks again @cook. I am sure this will be useful for me
-
@Phuket2 thanks...keep in mind too that some of the problems aren't quite clear on what is expected. So if you have a fail then check the question again to make sure you understood it correctly.
I've had a number where I can get the initial test done but then there are a load more other tests for the script that fail, and it doesn't tell you why. ....just to say....it wants a very particular solution.
-
I sometimes use http://codefights.com, it's pretty fun.
-
@Webmaster4o ...tried it....crazy. Of course the first one is against a bot. I'm sure I would get destroyed if it's against a person! It's fun!
-
@cook The daily challenges are fun too.
-
@Webmaster4o what is your level?
-
@cook No idea. I haven't used it that much. I'll check later.
-
I used codecademy.com to first learn Javascript a few years ago, eventually found my way to Python <3.
-
@Tizzy I don't really like codeacademy. A lot of my friends have struggled with it over a real teacher.
-
@Tizzy ...did you continue with JavaScript as well?
I don't really like JavaScript. I know it's also very useful to know for web development but I dislike it's lack of readability. I'm sure if I took time to learn it then it wouldn't be so bad. It's one reason why I find Python so great.
-
@cook Eh, I like JS. It's not really as unreadable as some languages.
I especially like that it makes your code accessible to a much wider audience. Exploring someone's Python project typically involves more effort than just visiting a webpage.
-
Just write your code in Python and use transcrypt to transpile it into JavaScript... http://pythonpodcast.com
Podcast.init Episode 50 - Transcrypt with Jacques de Hooge
Any programmer who has dealt with a website for any length of time knows that writing JavaScript isn't always the most enjoyable. Wouldn't you rather write that code in Python and just have it work on your website? In this episode we learn about Transcrypt with its creator Jacques de Hooge. Transcrypt is a Python to JavaScript transpiler that embraces the JavaScript ecosystem while letting you use the familiar syntax of Python for writing your logic, rather than trying to shoehorn a Python runtime into your browser
-
@ccc that is really cool. I passed it on to my brother who does a lot of web development and is interested now in Python. Thanks!
@Webmaster4o yes....I think if I took a little time to learn the basics of js is be alright. My experience with it is quite minimal. For now I don't have much need of it...not sure in the future. As far as pythonista goes it would certainly be useful in expanding webview functionality inside the webview. If I use the tool above that could be interesting to try....have my script running inside webview...could be very useful!
I've always wondered if there was some way to pass information from say a form button inside webview to the Python script and then the script does something. I'm sure there's some way....but I've not tried yet.
-
@cook You can do this if you have Pythonista running a local Flask server. Then have the form submit to http://localhost:5000. I'm sure this is also possible with Bottle, but I haven't used that.
-
@Webmaster4o ....yes! I knew about doing a server...didn't click the two together. I don't need to now but if I have some application for it later I'll give it a shot.
-
Here is another potential learning source that I stumbled upon today. LinkedIn SlideShare. They seem to have slide shows on a huge array of subjects. There is also a free app listed below.
But I did a search on Python and a lot of presentations come back. I looked through some of them, I found it good. You don't need to be a ?LinkedIn member (I am not) , I could use my Facebook to login with the app.
Anyway, it's free, nothing to lose. I often like side presentation style for getting an overview.
Hope it helps.LinkedIn SlideShare: Professional Knowledge, well presented via presentations, infographics and videos by LinkedIn Corporation
https://appsto.re/au/OlRR2.i
-
@Phuket2 ...okay downloading it... I'll check it out later.
-
Please provide some websites to learn computer programming or which sites do better, learn from it
-
last edited by ccc
-
This post is deleted!last edited by ccc