2
Argparse, setting parameters, etc.
marqyJr (1)

Hi Repl.it community, I'm on the verge of losing my mind!

Please read the following file, if you can:

https://drive.google.com/file/d/1TdhDY43dlH6meuPoiTKPkPHPwLwq2vIo/view?usp=sharing

What I need to know is if every step of this assignment can be done in repl.it - especially the 'edit configurations' part.

The issue is that my device (chromebook) can't use PyCharm. Repl.it has worked perfectly for all of our other assignments, but I'm not sure about this one. I came to my school's campus to use PyCharm to try and work on it, but I can not for the life of me understand how it works - especially since I've been using Repl this entire quarter. I'm really panicking because I don't have much longer to work on this, and it's my last quarter of college and I HAVE to pass this class (I'm doing fine right now, but I can't miss an assignment).

Also, despite what you might think, I didn't wait until last minute! I've done most of the work already. The work I've done, though, is through hard-coding in the .csv files. That's not the goal of my assignment (as you can see), my code has to work alongside some sort of run configurations. All I'd have to do is slightly modify what I have so that it runs correctly.

The only reason it seems last-minute is is because I hit a point where I don't know how to continue this assignment with Repl.it.

Any help at all would be greatly, greatly appreciated.

Again, I'm not looking for answers to my homework. I just need to know if my assignment is even possible here.

Thank you . T_T

You are viewing a single comment. View All
2
Scoder12 (315)

Yes, it is definitely possible! Just use bash instead of python for your repl language and in main.sh put something like

python3 filename.py --some-arguments-here

Good luck!

I am repl.it helper. Please mark my comment as the answer if it helped!

1
marqyJr (1)

@Scoder12 It's a Python programming class, so would this cause my final project to be saved as something other than .py? Thank you for your response.

2
Scoder12 (315)

@marqyJr The language being bash just tells repl.it what to run. All that that is for is telling repl.it to run your python program with some custom arguments. It's still saved as a .py in the repl.

1
marqyJr (1)

@Scoder12 This makes so much sense when explained that way. Thank you so much - you're a lifesaver.

1
Scoder12 (315)

@marqyJr of course - good luck. Do you mind marking my comment as the answer?

1
marqyJr (1)

@Scoder12 It's so funny that you just commented this - just refreshed my page after doing exactly that and saw this comment! lol! what timing ~

1
Scoder12 (315)

@marqyJr sorry don't have time rn tommorrow