ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. python 3
    Log in to post
    • All categories
    • mlnewsM

      Python versus C for Embedded Development

      Watching Ignoring Scheduled Pinned Locked Moved News python python 3 c and c++ programming embedded opensource.com
      9
      1 Votes
      9 Posts
      2k Views
      scottalanmillerS

      @travisdh1 said in Python versus C for Embedded Development:

      @scottalanmiller said in Python versus C for Embedded Development:

      It does...

      http://playground.arduino.cc/CommonTopics/PyMite

      Really? Cool!

      Haven't used it myself. But it is out there and specially designed for this use case. Can call C libraries directly too.

    • RamblingBipedR

      Python 3 Script/Project

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion python 3 web scraping google apps
      8
      1 Votes
      8 Posts
      3k Views
      tonyshowoffT

      @RamblingBiped said:

      Github repo created: https://github.com/ramblingbiped/google-apps-status

      Looks good.

    • mlnewsM

      What is Coming in Fedora 23

      Watching Ignoring Scheduled Pinned Locked Moved News linux fedora fedora 23 python python 3 wayland red hat
      1
      2 Votes
      1 Posts
      1k Views
      No one has replied
    • scottalanmillerS

      Reversing a List in Python

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion python 3 python
      2
      0 Votes
      2 Posts
      1k Views
      scottalanmillerS

      And here is a similar one but this time, both lists remain...

      months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] newMonths = [] monthlen = len(months) for i in range((monthlen - 1),-1,-1): month = months[i] newMonths.append(month) print(newMonths)
    • scottalanmillerS

      Easy Guide to Python Recursion

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion python python 3 recursion
      2
      0 Votes
      2 Posts
      1k Views
      scottalanmillerS

      The most common sample of recursion is always doing factorials, of course. So here it is in Python.

      def main(): num = int(input("Please enter a non-negative integer.\n")) fact = factorial(num) print("The factorial of", num, "is", fact) def factorial(num): if num == 0: return 1 else: return num * factorial(num - 1) main()
    • scottalanmillerS

      Adding a Simple Main Function in Python

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion python python 3
      2
      0 Votes
      2 Posts
      1k Views
      scottalanmillerS

      I do the same technique when I am working in BASH. It just makes coding cleaner and easier. I find that even for small programs and quick scripts that it is a good habit to get into.

    • scottalanmillerS

      Calling Complex System Commands from Python

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion python bash shell python 3
      9
      2 Votes
      9 Posts
      3k Views
      tonyshowoffT

      @Alexis Another reason I like single quotes for my strings, less escape confusion

    • 1 / 1