• MustaphaBen

    import os
    import shutil
    
    
    def main():
        p = os.path.abspath(os.getcwd())
        path = p+"/"
        files = os.listdir(path)
        for file in files:
            path_to_file = path+file
    
            type_of_file = file.split(".")
            path_to_dir = path+type_of_file[1]
            print(file, "-- type -- ",type_of_file[1])
            try:
                try:
                    os.makedirs(type_of_file[1])
                    shutil.move(path_to_file, path_to_dir)
                    print(f"--{file}-- in {path_to_dir}")
    
                except:
                    pass
            except:
                print(type_of_file[1]," already exists")
                pass
    
    if __name__ == "__main__":
        main()
    
    

    posted in Pythonista read more
  • MustaphaBen

    First : split screen And multitasking trust me those things are not the best in ios 10.3.3 and there is no split screen so if i wanna watch a turorial i need to go to youtube and then to pythonista.
    Sec : the version its old now I can't even install youtube lol.
    Third : my ipad its old so I can't even update it.

    Thats why i wanted to do the jbk cuz i can use all these features without cost

    posted in Pythonista read more
  • MustaphaBen

    I think jb's progrmmers are creative more than apple's programmers

    posted in Pythonista read more
  • MustaphaBen

    I agree, but ios have some limitations i have an ipad 4 ios 10.3.3 and trust me it sucks its old and so limited

    posted in Pythonista read more
  • MustaphaBen

    Thanks but i cant anymore i broke my ipad, i did the jbk and i installed a bad tweak and it deleted all the stock apps, but ill do that for sure when i fix my ipad

    posted in Pythonista read more
  • MustaphaBen

    thanks for testing my script

    posted in Pythonista read more
  • MustaphaBen

    not a game , something like a cli or a tool

    posted in Pythonista read more
  • MustaphaBen

    but the app play.js can install reac
    so its not even possible to install it on pythonista
    And like when you install it you can see you're output on a localhost or something?

    posted in Pythonista read more
  • MustaphaBen

    hey is it possible to install react using pythonista

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!