python

Latest

  • Chatbot chat AI concept, artificial intelligence Businessman using AI smart robot technology inputting commands to analyze data and build something. future technology changes.

    Natural Language Programming AIs are taking the drudgery out of coding

    Here's how the AI chatbots of tomorrow are shaping the field computer programming today.

  • World Wide Web founder Tim Berners-Lee poses for a photograph following a speech at the Mozilla Festival 2018 in London, Britain October 27, 2018. Picture taken October 27, 2018. REUTERS/Simon Dawson

    Tim Berners-Lee is auctioning off the web's source code as an NFT for charity

    Web pioneer Tim Berners-Lee will auction the original code for the modern internet as an NFT.

    Jon Fingas
    06.15.2021
  • 3d rendering of Business and communication concept. The button is blue in color and there is " translate " text on it.

    IBM's CodeNet dataset can teach AI to translate computer languages

    IBM researchers have crafted a Rosetta Stone for programming code.

  • video tool

    Eyesy is a Raspbery Pi-powered video synthesizer

    Critter & Guitari gave its Organelle music computer a major upgrade last year. This year, it's turning its attention its line of video synthesizers. The ETC visualizer is being replaced by Eyesy, a Raspberry Pi-powered computer that turns sounds and music into Atari-esque pixelated animations. Like the ETC before it, the Eyesy runs visualization programs called "Modes" written in Python -- a relatively user-friendly language. Basically it's the visual companion to the Organelle. And you can find a library of official and user-created modes hosted on Patchstorage.com.

  • Edgar Alvarez/Engadget

    DJI's first educational robot is a $500 drone tank

    Less than a month after launching its first-ever action camera, DJI is now introducing its first educational robot, The RoboMaster S1, which the company says has been in development for two years, was inspired by a robotics competition that DJI has sponsored and hosted for the past five years, called RoboMaster. DJI says that RoboMaster has been a passion project from founder and CEO Frank Wang, who figured the company could use its know-how in computer vision, artificial intelligence and camera technologies to create a robotics product that it could get "into the hands of everyone." The result of that, DJI says, is the new RoboMaster S1, or S1 for short.

    Edgar Alvarez
    06.11.2019
  • Transport Security Administration

    Snake hidden in hard drive fails to board Miami plane

    Transport Security Administration (TSA) officials have intercepted a traveler at Miami International Airport who planned to illegally smuggle a snake en route to Barbados. The female passenger was prevented from boarding the flight after security agents discovered a Ball python was concealed within an external hard drive in her possession. To make matters even more bizarre, the snake was dressed in a nylon stocking.

  • Hacker's unofficial 'Watch Dogs 2' app is incredibly appropriate

    After successfully linking GTA V to an iPhone, the same Hungarian hacker has now developed software that allows users to manipulate Watch Dogs 2 from their smartphone. Using the programming language, Python, YouTuber Planetleak DIY Projects has managed to recreate the game's Dedsec app on his iPhone -- and the irony of creating an iPhone hack for a game about hacking probably wasn't lost on him. Thanks to clever keypress emulation and screenshots mimicking the look of the game's smartphone, the custom app instantly navigates a convincing replica of Watch Dogs 2's in-game menu via the iPhone's touchscreen.

    Tom Regan
    01.11.2017
  • Warner Bros.

    Elon Musk's AI initiative opened an online dojo

    I'm going to go out on a limb here and say that the artificial intelligence you coded in your garage probably doesn't have the type of resources behind it that Google used to make DeepMind a fearsome Go competitor. That's what the Elon-Musk-backed OpenAI Gym is for. It's in open beta right now, and available test environments include Go on 9x9 and 19x19 boards, a ton of classic Atari games and robot control simulations, among others, with more to come.

  • Donald Trump gets his own blustery programming language

    Have you ever wondered what code would look like if it were dictated by a presidential candidate's grandiose statements rather than such radical concepts as accuracy and logic? No? Well, you're going to find out regardless. Rice University students Chris Brown and Sam Shadwell have created TrumpScript, a Python-based programming language that takes Donald Trump's philosophy a little too literally. For a start, it won't deal with either floating point numbers or any number smaller than 1 million -- America doesn't do anything halfway or deal with the small stuff, you see. It also won't allow users from China or Mexico (you can't even use import statements), insists on ending programs with "America is great" and refuses to admit to most of its failures.

    Jon Fingas
    01.24.2016
  • 'Stagefright' vulnerability files released to the wild

    On the heels of its Stagefright detection app, Zimperium (the outfit that discovered the Android security flaw) has released its exploit to the public. But before you get your hands dirty tinkering with it to find a fix there are a few things you need to consider. Zimperium says that it was tested on a Nexus device that was running Ice Cream Sandwich 4.0.4 and that "due to variances in heap layout" this exploit isn't entirely reliable. The Python script does work to take advantage of "one of the most critical" vulnerabilities the outfit discovered in the security flaw's library, however. Perhaps the biggest caveat, though, is that since the file was tested with Ice Cream Sandwich, Zimperium says that elements of Android 5.0 Lollipop, the fast-growing OS of choice for Android users, basically nullify its attempts to address the problem.

  • Coder wins a thousand Twitter contests using a bot

    You've probably seen "retweet to win" contests on Twitter, and maybe even won a t-shirt, concert tickets or marshmallows. But computer engineer Hunter Scott completely automated the idea and created a bot that entered every Twitter contest it could find -- 165,000 in total. As a result, he claims to have won four contests a day for nine months, for a total haul of over a thousand prizes. A lot of that swag was terrible, and a lot of it he couldn't accept. But the interesting part was how he allegedly managed to beat Twitter's system.

    Steve Dent
    08.10.2015
  • Google AirShow streams Google I/O live from several RC blimps (hands-on video)

    Yes, there's a fleet of camera-equipped, remote-controlled blimps live-streaming a bird's-eye view of Google I/O on YouTube, right now. It's called Google AirShow and it's taken over the airspace within Moscone Center. We briefly chatted with Chris Miller, a software engineer with AKQA (the company that put the dirigibles together for Google), about the technology used in each aircraft. It all begins with an off-the-shelf model airship that's flown manually via standard a 2.4GHz radio. Each blimp is outfitted with a servo-controlled USB camera and 5GHz USB WiFi dongle which are both connected to a Raspberry Pi board running Debian, VLC and Python. A custom-designed Li-polymer battery system powers the on-board electronics. The webcam encodes video as motion-JPEG (720p, 30fps) and VLC generates a YouTube-compatible RTSP stream that's broadcast over WiFi. Python's used to pan the servo-controlled camera via the Raspberry Pi's PWM output. The result is pretty awesome. But don't just take our word for it -- check out the gallery and source link below, then watch our hands-on video after the break. %Gallery-188534%

    Myriam Joire
    05.15.2013
  • Python 3.2 lets you write Python on the iPhone

    We've posted before about Codea, an iPad app that allows you to code and create LUA scripts. And now here's a new iPhone app called Python 3.2 that, as you might imagine, allows coders to write Python scripts through iOS. The app runs Python 3.2.3 and serves as a full development environment for that scripting language, complete with an interactive interpreter and a number of other Python-related bells, whistles and options. Of course, the issue with both of these script-writing apps is that you're often writing code you can't actually run on the iPhone or iPad, given Apple's restrictions on security and the way it requires apps to be sandboxed. But Python allows you to save scripts as needed and presumably you could just copy them out of the app if you wanted to run them elsewhere. We don't exactly have "Xcode for iPad" just yet, but coding on Apple's iOS platform is becoming more viable.

    Mike Schramm
    11.19.2012
  • Google toasts Dart's one-year anniversary with first stable SDK (video)

    It's not a real birthday party without a present, so Google has just pulled the wraps off the first stable version of the Dart structured programming language, one year after it was launched. Along with "thousands" of bug fixes, the rejuvenated version will have a faster virtual machine, new JavaScript translator, HTML, server-side I/O and interoperable JavaScript libraries, the Pub package manager and Dartium, a Chromium build with native Dart support. Mountain view promised to keep the improvements coming "while maintaining backward compatibility" for the language, so if you feel frisky enough to jump JavaScript's ship, check the source below (or video after the break) to see how to grab it.

    Steve Dent
    10.17.2012
  • Adafruit releases WebIDE alpha for Raspberry Pi, eases beginners into coding

    If you've been intrigued by the Raspberry Pi but were hesitant to get one because you're new to Linux, Adafruit has a solution for you. The team that brought us the Raspberry Pi Education Linux Distro has come up with a special WebIDE (Web Integrated Development Environment) designed to run on the affordable barebones computer. It's entirely web-based so there's no need to install any software -- just launch a browser, hook up your Pi, and you're ready to go. To make life easier for coders, the platform has a terminal built in, plus there's an automatic updater included to keep folks running only the freshest version of WebIDE. It's currently at the alpha stage, so only experienced users should install it for now, but Adafruit's hoping to roll out a stable release suitable for programmers of all levels sometime soon.

    Nicole Lee
    10.05.2012
  • Personal Energy Orb Arduino project knows you haven't been exercising, cripples your computer

    Spending too much time indoors? You need a Personal Energy Orb, a glowing Arduino powered ball that allows you to trade physical exertion for a tolerable mouse speed. Developed by two students at the University of Munich for a physical computing course, the PEO connects to a bike-mounted revolution counter to note how far a user rides, counting the total distance toward usable time on a computer. A fully "charged" green orb will allow a user to use their PC unhindered -- but a spent red orb will drag Windows' cursor sensitivity settings to its lowest. The idea, the project's creators say, is to annoy the user off of the computer and back on to their bike. It sure sounds aggravating to us. Check out the full homework assignment at the source link below, complete with goals, follies and Python scripts.

    Sean Buckley
    08.26.2012
  • Adafruit builds Raspberry Pi-powered light painting rig, takes trippy photos

    Taking long exposure photographs at night and painting within them using an iPad may be old hat, but building your own light painting rig? That could earn you some serious geek cred, and according to Adafruit, it isn't even all that hard. In a new walkthrough, the team fashioned such a contraption using a Raspberry Pi, a python script with under 60 lines of code, some open source software and a handful of electronic components. Not satisfied with the typical light wand, they decided to spice things up with a circular fixture built from PVC pipes and a hula hoop to hold the ribbon of LEDs. After being attached to a bike and paraded around at night, it created the 3D effect in the masterpiece above. If you're itching to make your own works of art, check out Adafruit's tutorial at the source link below.

    Alexis Santos
    08.13.2012
  • Robot plays Angry Birds (or any other touchscreen app)

    PyCon 2012 (a convention dedicated to the computer programming language Python) was held earlier this month in Santa Clara, CA, and one of the projects on display can be seen above. The "BitbeamBot" is a miniature robot that was designed to do one thing and one thing only: Play Angry Birds. Well, that's not quite true -- it was designed to interact with touchscreen devices, in order to "test" any number of tasks usually considered too repetitive for humans. As the developer says in the video below, if this thing was really testing, you'd just design tasks for it to do over and over again through an SDK. But playing Angry Birds is fun to watch, and the robot's actually pretty good at it. The original design for the robot was actually in Legos -- it's controlled with an Arduino and some homemade software. But eventually the creator decided to use Bitbeams for it, hence the bot's name. Very cool indeed. And I, for one, welcome our new Angry Birds-playing overlords.

    Mike Schramm
    03.19.2012
  • inPulse and WIMM One: the tale of two smartwatches (video)

    We're no strangers to watches here at Engadget, but smartwatches -- tiny wearable computers capable of running apps with SDKs to match -- are still a rare breed. The best known examples are probably Fossil's Meta Watch, Allerta's inPulse Smartwatch and WIMM Labs' WIMM One, all of which are primarily targeted at developers. We recently had the opportunity to spend some quality time with both the inPulse (over the holidays) and the WIMM One (during CES), and despite some similarities, each smartwatch takes a completely different approach to running apps on your wrist. While neither product is quite ready for prime time, both show promise as "fourth screen" devices, even for those of us who don't normally wear a watch. So go ahead -- hit the break and find out how these wearable computers stack up.

    Myriam Joire
    02.07.2012
  • Google takes steady aim at web programming with Dart

    Google has brought its arm up, narrowed its focus and let Dart fly. The new programming language focuses on web apps, and the internet giant is hoping that Dart will feel "familiar and natural" to developers raised on a diet of rival programming languages. The ability to execute code in either a native virtual machine (which emulates how it'd work in real-life) or a JavaScript engine means that anything can be compiled to run on current web browsers. Dart devs are also exploring the idea of cramming a virtual machine inside future versions of Chrome. Eager coders can now get their teeth into all of Google's open source development tools by targeting the second source link below.

    Mat Smith
    10.10.2011