Coder Social home page Coder Social logo

Comments (9)

komad1na avatar komad1na commented on May 15, 2024 1

I am on it 👍 :)

from instapy.

komad1na avatar komad1na commented on May 15, 2024 1

I will do my best.

from instapy.

sdiepend avatar sdiepend commented on May 15, 2024 1

@timgrossmann I'm trying to build a web gui using flask(I want to do more than just generate a quickstart.py file), but currently running into trouble. I import the InstaPy in a view class but when trying to instantiate an InstaPy object it says

FileNotFoundError: [Errno 2] No such file or directory: './logs/logFile.txt'

Which is normal because relative from my view class there indeed isn't an ./logs/logFile.txt.

So I'm thinking that logging should move outside the repo to an appropriate system location. It would also probably be better to use the Logger module from the standard python library.

For persistent data in the JSON files, maybe something like discussed here:
https://stackoverflow.com/questions/1011337/relative-file-paths-in-python-packages
https://stackoverflow.com/questions/30660003/unable-to-import-text-file-with-python-module

I can try and have look at using Logger when I have time.

from instapy.

littleswany avatar littleswany commented on May 15, 2024

https://github.com/Nemixalone/GUI-tool-for-InstaPy-script

@timgrossmann or @Nemixalone Looks like this issue is sorted so can be closed?

from instapy.

timgrossmann avatar timgrossmann commented on May 15, 2024

@littleswany Problem is, that GUI is only for windows users 😉
Would be awesome if someone could build like a web GUI or something platform independent

from instapy.

littleswany avatar littleswany commented on May 15, 2024

@timgrossmann With you on that, on the other repo I commented saying because I am on OSX I couldn't test.

I will look into doing something like a web GUI, would it downloading a .py file be something that could work, if so I can do it with relative ease.

from instapy.

komad1na avatar komad1na commented on May 15, 2024

Or I could (try*) to switch to QT (C++) instead of C#.

*try - cause never done that in C++ but why not try it right, it's all about learning :)

Or web GUI however i'll try to contribute.

from instapy.

timgrossmann avatar timgrossmann commented on May 15, 2024

@Nemixalone Do whatever you can!
It'll definitely will be useful!

from instapy.

timgrossmann avatar timgrossmann commented on May 15, 2024

@sdiepend Sounds great!

Yes, I think that's an important advancement of the script to improve the logging here...
Sorry for the problems.

from instapy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.