GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    💜 AdoraBeryl 🩷 (rasp@raru.re)'s status on Sunday, 16-Jun-2024 02:24:33 JST 💜 AdoraBeryl 🩷 💜 AdoraBeryl 🩷
    in reply to
    • mixed berry social anxiety disorder 🍓
    • Dave

    @anathem @monorail

    This might actually be the best solution

    In conversation about a year ago from raru.re permalink
    • Embed this notice
      Dave (anathem@toot.kif.rocks)'s status on Sunday, 16-Jun-2024 02:24:35 JST Dave Dave
      in reply to
      • mixed berry social anxiety disorder 🍓

      @monorail @Rasp Following up on that with a method to read the table from file (which you then can create and maintain in LibreOffice Calc and export to CSV file format to read here): https://stackoverflow.com/questions/47128105/how-to-get-data-from-csv-into-a-python-object#47129807

      In conversation about a year ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: cdn.sstatic.net
        How to get data from csv into a python object
        I am a beginner python user. Having trouble getting data from csv into python in the required object format to satisfy a python function. If I manually created the data in python (rather than bring...
    • Embed this notice
      mixed berry social anxiety disorder 🍓 (monorail@glaceon.social)'s status on Sunday, 16-Jun-2024 02:24:36 JST mixed berry social anxiety disorder 🍓 mixed berry social anxiety disorder 🍓

      @Rasp like a class?

      class Character:
      def __init__(self, name, desc)
      self.name = name
      self.desc = desc

      my_character = Character('Todd', 'This is Todd')

      print(my_character.name) # Todd

      there's obviously a lot more you can do with classes (and there are shortcuts for classes that only do stuff like this) but this is kind of the most barebones use case

      In conversation about a year ago permalink

      Attachments



Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.