omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. low
    3. Posts

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by low

    • Finding CSS files inside HTML source

      I am trying to make a script that caches websites so I can easily scrape data without have to use proxies (I scrape enough to the point where my traffic would get blocked). My first step is using urllib2 to get the page source:

      cc = urllib2.urlopen(args.site)
      source = cc.read()
      

      Once I have the page source, I need to look through the source code to find any CSS files that are linked relatively to the site. The two tags I would be looking for are <link, href=, and stylesheet. The "rel" is where the CSS is relatively linked, the stylesheet proves that the file is CSS, and directly after the hyper-refrence (href) is the name of the css file in quotes that I need.
      An example;

      <link rel="stylesheet" type="text/css" href="main.css" />
      

      How could I get this information?
      edit: I need to pick this css file out of all the HTML code that the webpage has.

      posted in Pythonista
      low
      low
    • RE: Cannot import numba

      i'm pretty sure that numba is not created in raw python, therefor it cannot be used with pythonista, especially if you are downloading it using stash.

      posted in Pythonista
      low
      low
    • RE: pythonista UI

      I'm not sure if the forum is glitching, but I think you posted this 3 times. Please don't spam, and goodluck making your app!

      posted in Pythonista
      low
      low
    • RE: Stash pip update ...

      Make sure that stash has the ability to overwrite the existing version. Make sure stash is updating the correct directory, and then maybe rename the existing version or delete it.

      posted in Pythonista
      low
      low
    • RE: Pandas wanted

      Many people are buying this app expecting pandas, I think there might need to be a warning that pythonista can mostly only support pure python scripts and modules... because a lot of people can't seem to grasp that.

      posted in Pythonista
      low
      low
    • RE: Google Drive support?

      You can upload the files to icloud and then transfer them to google drive. See this article here for an example on how to do this.

      Edit: This will only work if you have a mac hooked up to icloud. To do this straight from your phone you can:

      1. Save the file to icloud straight from pythonista
      2. Make sure you have the google drive app, and that you are logged in
      3. Go to icloud and click the share button (box with the arrow pointing up)
      4. Click the "drive" icon, and your file will be stored on your drive

      I hope this helps, let me know if you have any further questions (@coreos @AndyCWB)

      posted in Editorial
      low
      low
    • RE: iPhone auto login code

      Are you trying to fill passwords on mobile apps, or on websites?

      posted in Pythonista
      low
      low
    • Sharing .pyui files?

      If I wanted to share a .pyui file that I created on pythonista, how would I do that? Also, how would I be able to download other .pyui files and use them?

      posted in Pythonista
      low
      low
    • inverting colors with pythonista?

      Hello everyone, before we start, I am very new to python & I have also just purchased pythonista, so I'm sorry if this question is obvious but I couldn't find a previous answer for it. With objc_util, you can do things like change the screen brightness which is changing a setting. I was wondering if it is at all possible to do this with colors, because I want to try to mess with the inverted colors settings. Once again, sorry if this is an obvious or stupid question, but thanks for any help that you can give!

      posted in Pythonista
      low
      low