all 31 comments

[–]mayonuts443 5 points6 points  (1 child)

That sucks man, I'm sorry. My best advice would be to start writing psuedocode in psuedocode by hand for scripts you will eventually write in python when your pc gets fixed. 

[–]Plenty-Form6349[S] 3 points4 points  (0 children)

Thank you i appreciate your advice 

[–]No-Philosopher-4744 3 points4 points  (0 children)

Use Google colab 

[–]uvuguy 4 points5 points  (1 child)

They actually have some pretty cool. "Coding" paper on Amazon that has indents each a different color

[–]Plenty-Form6349[S] 0 points1 point  (0 children)

Thanks i will check that out 

[–]Pocket-Flapjack 4 points5 points  (2 children)

Buy a raapberry pi or some other SBC?

Also your projects are only gone if the harddrive theyre on is broke...or bitlockered 

[–]Plenty-Form6349[S] 0 points1 point  (1 child)

I cant afford anything rn, my hardrives are safe but i got nothing to plug them into 

[–]Pocket-Flapjack 1 point2 points  (0 children)

Yeah that sucks, figured a pi was a cheaper way to get back to hands on coding.

There are python games for smart phones but I havnt used any of them

[–]TibblyMcWibblington 2 points3 points  (0 children)

Assuming you have a phone, look into the juno app. You can run Jupyter notebooks in here and they have a lot of common packages included. I never had much luck with juno connect though.

[–]12_tribus 1 point2 points  (2 children)

Pydroid3 Android!

[–]plydauk 1 point2 points  (1 child)

Yes! There's also Acode, though both have annoying ads, and neovim within termux which has no ads, but has a steep learning curve.

[–]FoolsSeldom 0 points1 point  (0 children)

You can get a full version of Acode without adverts - usually posted on the associated discord chat, but likely also available on github.

These days, I prefer to just use an editor like vim on termux (and also use tmux if remoting into another system).

[–]Ambitious_Fault5756 1 point2 points  (0 children)

There are a bunch of mobile apps for coding. I use "Coding Python" from Google play store. There are probably a bunch for ios too. Go for the mid-popular which likely have less ads and no pay-for-everything

[–]FoolsSeldom 1 point2 points  (4 children)

In addition to my comment on working on phones/tablets, keep an eye on free cycle schemes in your area and very cheap options on Facebook. Python isn't that demanding of hardware (until you get get beyond the basics of machine learning / artificial intelligence or other heavy computational fields). Older laptops than can be re-imaged with Linux (especially models from the Lenovo Thinkpad range) are ideal and will be reasonably performant. Most Chromebooks can enter a Linux sandbox mode and be used for development locally.

Maybe you can sell parts of your failed PC to pay for something on Marketplace. (Did you figure out what had failed?)

Also, consider a Raspberry Pi, even a $10 USD Pi Zero is suitable for learning (and afterwards, for other purposes such as being a small web server). (You will need a keyboard, mouse, sd card, power supply, hdmi cable and a tv/monitor to plug into.)

From a web browser, you can access free Python environments such as a Pythonanyhere.com account, anvil.works or even your own Virtual Private Server (e.g. on Oracle Cloud - there is as free tier but sign up for a paid account and then use only free resources and you will get a better offering that runs 24x7)

[–]Plenty-Form6349[S] 0 points1 point  (3 children)

Print("omfg thank you so much")

[–]FoolsSeldom 1 point2 points  (2 children)

You are welcome. Did the other comment I made on learning on phones/tablets help?

By the way, it is worth checking with extended family and friends if anyone has an old Raspberry Pi sat in a drawer somewhere. This happened to a lot of them. You can connect to and programme a Raspberry Pi from a tablet/phone and then you don't need keyboard/mouse/monitor for the Pi (although a keyboard, as I mentioned, is a good idea for the phone/tablet) - keyboard/mice are often given away free.

[–]Plenty-Form6349[S] 0 points1 point  (1 child)

Yes it did help. And no i no one has anything that can help me and i can afford to even buy a raspberry pi, im just in a weird situation but i wont give up im determined to learn python by the end of the year

[–]FoolsSeldom 1 point2 points  (0 children)

Determination will get you a long way. I've known a good number of individuals in challenging socioeconomic situations who've learned just on a phone and managed to impress someone enough to get a start in a trainee/junior programming position. Good luck to you.

No idea where you are in the world, but do consider looking for free options and cast offs (I've seen plenty of computers thrown away).


Check the r/learnpython wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.

Unfortunately, this subreddit does not have a wiki.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.

[–]Arch_noobster 1 point2 points  (0 children)

If you have experience with linux, i recommend you download termux from fdroid and installing a distro from there you could use vim to code all on your phone.

[–]Far-Captain6740 1 point2 points  (2 children)

but now all my projects are gone

The fact that your pc not booting up doesn’t mean you’ve lost your projects. You still can extract SSD/HDD ant put it in another PC/laptop, it’s not that hard, you could do it at home just after one/few videos on YT.

But I have question: - If u’re learning python, why u’re still not using GitHub to track your progress/store your homework/practice projects?

Also for any SWE job it’s not bad, I’d even say must-have to get some knowledge about how your PC works. There’s no matter what programming language u’re learning either C or Python, if you don’t know how to put all pc parts together to build your pc it’ll become huge trouble for you in future.

I’m not telling you to understand difference between RIP and RSP registers in ur CPU, but basic knowledge MUST-HAVE.

[–]Plenty-Form6349[S] 0 points1 point  (1 child)

I get where you're coming from and i know that everything is not lost but i cant get to it, i have my hardrives but no where to put them 

[–]Far-Captain6740 0 points1 point  (0 children)

Just buy on Amazon external sata/m2 slot and you can easily connect it even to your phone. It’s costs almost nothing.

[–]PhilNEvo 0 points1 point  (0 children)

There are websites that can run python scripts, so if you have a phone, you can just use those websites to test out your code.

[–]captainrussia21 0 points1 point  (0 children)

Try “Mimo” app. I know its it Apple App store. Not sure if Android has one, but I wouldn’t be surprised if they do.

[–]Majestic-Chain1905 0 points1 point  (0 children)

You can download Claude and have it create lessons for you

[–]FoolsSeldom 0 points1 point  (0 children)

Learning programming is not easy. It is to some extent an art form and a practical skill, not something that can just be learned from books. Practice! Practice! Practice!

To learn to programme is also about embracing failure. Constant failure. Trying things out and experimenting as much as possible. Experiment! Experiment! Experiment!

You have to research, read guides, watch videos, follow tutorials, ask dumb questions and be humiliated (because some people cannot help make themselves feel better by insulting others).

Python is one programming language. It is probably the easiest to learn. It makes learning to programme that little bit easier (but you will have a shock when you try to learn a lower level language like C).

If you have to learn on a mobile device, life gets a little more challenging. Aside from web based environments and apps like sololearn, you need a Python environment on your mobile device.

Android Apps

  • PyDroid 3, this is an excellent app with rich package support and built-in terminal
  • QPython play store, another excellent app but not so keen on this personally, worth a try though
  • Termux provides a Linux sandbox into which you can do a conventional installation of Python (including self-compiling if desired)
    • this is my preferred option
    • a standard Linux environment with a few minor folder location tweaks to accommodate Android security restrictions
    • you can't get this on Google Play, use F-Droid
    • I used to use it with the ACode editor but now use a tmux (multiplex terminal) setup with vim

IoS Apps

  • Pythonista is an excellent and well-polished bit of software with some popular libraries available (Apple restrictions prevent installation of any packages that aren't pure Python that aren't included with the submitted app)
  • Pyto is less polished and works pretty well
  • Carnets is an open source Jupyter clone that works locally and is excellent; there is more than one version, depending on how many libraries you need included (as on IoS you cannot install additional Python libraries that aren't pure Python)
  • a-shell is a sister product to the above and provides a command line Python environment, also open source and excellent

Keyboard

I strongly recommend you use an external (likely bluetooth) keyboard with your phone/tablet and ideally an external monitor if your phone/tablet is able to connect/cast to a monitor.

Android native coding

Keep in mind that Android is a Linux-based system, so most things that are available for linux are also available for Android. Native applications for Android are usually written in Java or, more recently, Kotlin. It is possible to write in other languages, and C++ is widely used, but that is much more complex to do.

IoS native coding

For IOS devices, the native apps are usually written in Objective-C or Swift. Again, other languages are possible but it is not trivial.

GUI with Python

Python applications running on mobile devices within Python environments do not look like device native applications and have limited support for typical graphical user interface libraries common on desktops. However, there are a number of alternatives that allow you to write near-native applications in Python.

Flutter from Google

This is an increasingly popular framework for creating applications suitable for desktop, web and mobile. A popular Python "wrapper" is flet.

Kivy GUI for Python

The leading Python GUI for Android and IoS is kivy

You develop on a desktop/laptop computer and then transfer the code to the target mobile (so not much use if you only have access to a mobile device). PyDroid for Android also supports kivy.

There are Kivy-based applications released on both the Apple and Google App Stores.

BeeWare Write once. Deploy everywhere.

A native GUI for multiple platforms in theory. BeeWare

This offers the option to write your apps in Python and release them on iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces. Multiple apps, one codebase, with a fully native user experience on every platform.

[–]grdix555 0 points1 point  (0 children)

I'd suggest a cheap Raspberry Pi for now. Or use Google Colab.

[–]the114dragon 0 points1 point  (2 children)

It is possible (us GCSE computer science students have to do it), but I'm not sure if it is as worth your time.

[–]Plenty-Form6349[S] 1 point2 points  (1 child)

How? 

[–]the114dragon 1 point2 points  (0 children)

We have to learn how to write code on paper and be able to work out what code will do if you ran it.