heise + | The best Python projects: programming a game, creating a GUI, scraping a website

The best Python projects: programming games, creating GUI, scraping websites Read web pages, recognize texts, process Google Fit data Programming space shooters, creating graphical user interfaces and visualizing data The Python programming language is becoming more and more popular: Beginning 2020 Python landed at number 2 of the most popular programming languages ​​in the list of the analysis company RedMonk. The analysts examined the discussions on Stack Overflow and the programming languages ​​used for projects on Github.

Developers can usually learn Python quickly, the language is almost universally available. Countless tutorials on the net show what Python can do. If you get stuck, you will usually find dozens of discussions about special problems online. Python inherently has extensive commands and can be expanded with many libraries.

We have dug in the heise + fund and selected the best Python projects. They are as diverse as the programming language itself. You can, for example, build a small 2D space shooter, read information from any website, evaluate data via the Google Fit API, build small graphical user interfaces for your script and much more. Have fun programming!

Access to all contents of heise + exclusive tests, advice & background: independent, critically sound c’t, iX, Technology Review, Mac & i, Make, c’t read photography directly in the browser register once – read on all devices – can be canceled monthly first month free, then monthly 9, 95 € Weekly newsletter with personal reading recommendations from the editor-in-chief start FREE month Start the FREE month now Heise + already subscribed?

Sign in and read Register now and read the article immediately More information about heise +

TechStage | Mario Kart Live – Home Circuit in the test: successful AR game

Beginning Scope of delivery Preparation Racing practice Multiplayer Battery life Limitations Price Conclusion Comments by Philipp // 17. 10. 2020 15: 36 Clock

Nintendo is daring an exciting experiment with the AR-based Mario Kart for the Switch. TechStage tests the remote-controlled karts with live image transmission in practice.

The Nintendo Switch (test report) was able to convince in the tests both in the standard version and in the Switch Lite (test report). When looking at the sometimes strange accessories for the Switch (advice) it becomes clear that Nintendo is trying new and unusual things with the Switch. The mixture of software and real racetrack is not entirely new, Anki Overdrive (test report) takes a similar approach, but the implementation with live images and AR is new.

Scope of delivery & design The packaging for Mario Kart Live: Home Circuit is about as big as that the console. The game is currently available in two versions: once with a red kart and Mario as the driver, once with a green speedster and Luigi as the handlebars. Inside each package there are two packages. One is well padded and contains the controllable kart and the corresponding USB-C charging cable. In the other there are four cardboard gates and two signposts that can be set up. Otherwise a quick guide is included.

The software is not included on a storage medium and must first be removed from the Nintendo E- Shop can be downloaded – at a price of around 100 Euro that is at least questionable.

The two karts available are from Mario or controlled by Luigi. The small racing car in the classic Mario Kart design is scarce 20 cm long, 11 cm wide and 10 cm high. At first glance, it could also be a very pretty decorative item. The technology is only discovered at second glance. There is a small camera in the roll bar above Mario or Luigi’s head and a button and a small sliding door can be seen on the right side of the kart. Behind it is the USB-C port for charging the permanently integrated battery.

The karts are extremely chic, very well processed and leave behind after the first two days a sufficiently robust impression. The vehicles put away one or the other frontal crash against table or chair legs without any problems and without leaving any permanent marks. However, they are only suitable for indoor use. This works surprisingly well even with moderate lighting.

Preparation After unpacking the download and installation of Mario Kart Live follow : Home Circuit. The next step is to charge the kart and set up the first racetrack. To do this, the four cardboard gates are first opened and set up in the desired, completely freely configurable, route design. You only have to pay attention to the correct sequence of numbers. The gates can be weighed down with books, for example, to prevent them from being moved in the event of a crash. The design of the route is surprisingly a lot of fun! The youngsters in particular show creative commitment in setting up track barriers, obstacles and the grandstand.

Mario on the Race track in the nursery. After the batteries have been charged, the first practical test begins. Pairing the Nintendo Switch and the home circuit speedster works without any problems thanks to the QR code. To do this, the code shown in the game is simply scanned with the kart’s camera. The live image from the Mario Kart can then be seen on the display. Instead of the real vehicle, however, we see an animated kart with Mario (or Luigi) waving. Now a short driving tutorial and a photo for the virtual race card follow To race, the software first has to get to know the racetrack it has built itself. To do this, we place the kart in front of gate number one and press the X button. Now the desired route is driven through the gates. When you get back to the first gate, the game saves the course you have just completed.

Racing practice Our first impression of the karts: They are slow. That’s also true – at least when you compare them to classic RC cars. Thanks to the AR overlays in the display, the whole thing is gaining momentum. Not only that opponents are displayed – virtual lane boundaries, turbo stripes, bananas lying around, whirling turtle shells or sandstorms also ensure a lot of action during the race. It can quickly become too much on short, confusing and delivered routes. With all the action on the switch monitor, there is hardly anything to be seen of the actual course.

The virtual objects, such as the cloud, can of course only be seen on the switch. The hectic rush of the driver is very amusing for the spectators with regard to the kart driving comfortably around the corners. Even at the wheel you quickly forget reality and concentrate fully on the fast-paced racing. A real Mario Kart feeling sets in very quickly when you are stopped by a banana or blown to the side by a sand vortex. When colliding with real objects, such as the table leg, the racing driver loses virtual coins and slows down a bit.

Anyone who clears the enemy out of the way with the cannonball extra quickly notices that the software intervenes and steers properly. The so-called smart control can at least partially be deactivated under the options. Switching off completely does not seem to work – the kart still brakes slightly before sharp bends.

The display of the virtual racing elements works pleasantly well. Only the displayed route boundaries seem to have a certain life of their own. Otherwise, the combination of the virtual Mario world and reality works very well. The two directional signs are recognized by the camera from a distance of several meters and replaced by brightly lit arrows on the display. The four gates are also pretty, for example with castle battlements, decorated and animated. The typical Mario Kart sound reinforces the racing feeling even more.

Mario Kart Live: Home Circuit (18 Pictures) So come the game.

After the first successful race laps, there are rewards in the form of different character designs or new horn sounds. The routes can also be gradually made more challenging with more different modifications (sandstorms, icicles, etc.).

After the first few laps, your fingers itchy and the track is being rebuilt several times. The design is largely individual, but we found out a few things during the first attempts. The racing courses shouldn’t be too small and winding, because without long straights and enough space to run out, the race can quickly become confusing. A simple oval and a simple circular course become boring after a short time. As is often the case: the mix has to be right.

Multiplayer Mario Kart Live: Home Circuit can be used alone or locally with up to four other players. The prerequisite for this are four consoles plus four karts – quite expensive. There is no online mode.

So far we have not been able to test the multiplayer modes due to a missing second console. We will promptly submit a field report via an update.

Battery life and range Nintendo gives a battery life of 90 minutes when using the fast 150 – ccm class. In practice, with a few breaks in the race and modifications to the track design, we were able to gamble for over two and a half hours without any problems. Full charging via USB-C takes a good three and a half hours. The range is 4.5 to 5 meters. That sounds very little, but it is sufficient for indoor use.

The camera does a decent job even in poor lighting. Restrictions and technical requirements Playing on the TV is easily possible with the docking station and the switch – but only with the standard version. TV mode does not work with the Switch Lite. The switch’s share function has been blocked for the game by the manufacturer.

Mario Kart Live: Home Circuit supports a maximum of four goals at the same time – we hope that as further expansion stages are possible in the future. All four gates are always required for a functioning race track. Only the enclosed goals can be used for playing. Each gate has special markings that tell the camera where the kart is currently on the race track and then trigger certain actions in the game.

Price The game is currently available in two versions. But we can well imagine that other characters besides Mario and Luigi will also be offered in the future.

Conclusion The experiment of a Mario Kart game for living rooms or children’s rooms has definitely been successful. Mario Kart Live: Home Circuit is a successful mix of remote-controlled car and video game and is really fun in single-player mode. In the next few weeks we will test whether the multiplayer modes can keep up. If you have enough space and enough budget available, Home Circuit is an extraordinary and completely new racing game in

TechStage | The best accessories for iPhone 12

beginning iPhone models cases Screen protector Charging stations Power banks Headphones buy iPhone conclusion comments from Lenz // 17. 10. 2020 09: 30 Clock

Four new ones Apple introduced iPhones. We show you which accessories are best for iPhone 12, 12 Mini, 12 Pro and 12 Pro Max is suitable. It starts from 5 euros.

Apple has on 13. October 2020 presented its new iPhones. A long-awaited mini model is also included. In terms of price, the smartphones are between 512 and 1120 Euro – typical for Apple are not bargains.

If you want to get an iPhone as cheaply as possible, you will find in our contribution: This is how quickly the new models become cheaper corresponding options. In this post we show which accessories are best for the four new models.

Overview: iPhone – 12 – Models The iPhone 12 Mini is the cheapest and smallest model. It comes with a 5.4-inch display – that’s small, but still bigger than the current iPhone SE 2020. The iPhone 12 has a 6.1 inch display. When it comes to memory, however, there are no differences: 64 to 256 GByte memory should be offered by the models, plus 4 GByte RAM. 5G is also included in the cheapest devices, a third camera lens is not – it is only available from the iPhone 12 Per. The prices for the two models are 876 and 876 Euros in the smallest memory configuration; black, white, red, blue and green are available as colors.

The iPhone 12 Per will also have a 6.1 inch display on the iPhone 12 Per Max the screen has even grown to 6.7 inches. The memory equipment is also growing: Pro and Pro Max have 6 GB of RAM and 128 to 512 GByte internal memory, which of course, as always, cannot be expanded. In addition, both Pro models master 5G and have triple cameras with up to 64 Megapixels. Both models have the LiDaR (Light Detection and Ranging) sensor similar to a ToF (Time of Flight) sensor, which is used for artificial bokeh and distance measurement, among other things. The prices of the smallest memory versions are 1120 and 1218 Euro, the colors are gold, Silver, graphite and blue available. In contrast to iPhone 12 Mini and 12 is the frame at 12 Pro and 12 Pro Max made of stainless steel and not aluminum.

Sizes of the iPhone – 12 – models from left: iPhone 12 Pro Max, iPhone XS Max (reference), iPhone 12 / 12 Pro, iPhone 12 Mini covers iPhones are finally getting Magsafe chargers, i.e. charging cables that stick to the end device via magnets. The new iPhone models have Magsafe for wireless charging on the back of the smartphones. IPhone cases have to be optimized accordingly. The Apple cases are compatible with Magsafe.

You can choose from covers in colored silicone or transparent as well as leather cases for credit cards for all models that are stapled to the back of the smartphone. In terms of price, the covers are between 44 and 55 Euro. The silicone case and Magsafe wallet can be combined with one another. There is no leather cover from Apple.

Who is not round 50 Euro to protect his 876 – wants to spend the euro telephone, of course, finds cheaper alternatives. Cases and covers from the Far East that are made very cheaply cost between 5 and 9 euros. Of course, they also prevent damage in the event of falls and protect against scratches on the back, but experience has shown that they only last a limited time – after a few months it is usually over.

The compromise between as cheap and good as possible is offered by third-party brands. For example, we looked at Pitaka and Spigen cases. Pitaka (as always) only offers its cases in one design; black-gray carbon look. But the cases are very thin and support wireless charging with Magsafe. In terms of price they are around 50 Euro.

Spigen requests between 16 and 20 Euro. In terms of optics and design, the manufacturer offers a lot: Cases with reinforced edges, with transparent silicone or with an integrated stand are part of the fixed portfolio. The Spigen cases can also last a smartphone lifetime – two to three years.

Display protection Ceramic Shield is Apple’s new display glass, which is four times better than the glass of the iPhone 11 should protect. But what does that mean? The Ceramic Shield is roughly comparable to the current Gorilla Glass Victus, which is used in Samsung smartphones. That protects well against scratches, but if the iPhone 11 but falls on curb pavement, there will also be unsightly cracks in the glass. A repair by Apple is available for around 200 to 350 euros. That’s quite expensive. Replacing it yourself with spare parts from iFixit & Co. is not much cheaper as our article on Display, Battery & Co .: iPhone repair shows.

So it is worth using the additional screen protector. We generally recommend armored glass here. Compared to plastic sheeting, this not only protects against scratches, but also against cracks if you fall. The glasses are priced between 7 and 20 Euro. We recommend paying attention to models that come with a template when buying. This simplifies the installation many times over – one example is the two-pack from Spigen for iPhone 12 and 12 Pro for good 14 Euro.

Charging stations With Magsafe charging cables and stations, Apple is providing a wide range of new accessories. The original Magsafe cable costs around 30 Euro (message on heise online). Apple’s own charging station or counterparts from Apple-related manufacturers such as Belkin will probably 100 cost euros and more.

Apple also creates a problem for customers with Magsafe: Because during Magsafe loaders up to 15 watts to supply the iPhone with juice, only 7.5 watts are possible with the Qi standard (link to apple.de). This means that the charging process takes significantly longer. Accordingly, we can offer the products from our post: The best Qi chargers 1218 also only conditionally for the iPhone – 12 – Recommend models; they just load more slowly. The powerful charging stations already start here 16 Euro. At Apple you pay well twice and only get a Magsafe cable.

Power banks If you don’t have a power outlet nearby, you need a power bank to run it iPhone to charge. As with the charging stations, the following also applies here: Qi power banks are only partially suitable for the four iPhone 12. In terms of price, it goes here for 4000 mAh but at least at 12 Euros going on as we do in the article: Qi power banks from 10 show euros.

If you are looking for a power bank with additional functions, you will find in our article: Power banks with solar cells some good products. Here we tried the Xlayer Powerbank Plus Solar with 20000 mAh. That should run for d five to six charging cycles are sufficient. The integrated solar cell also provides a little more juice – a full charge with the power of the sun is not possible in a few hours.

Headphones The Apple Airpods Pro and Airpods 2nd generation lead our price comparison of the most popular true wireless headphones. Meanwhile, the models also cost significantly less: Airpods Pro are at 195 instead of formerly 279 Euro and Airpods 2nd generation at 125 instead of 140 Euro at the beginning 2020.

If you want to enjoy good music much cheaper, you should check out our article: These headphones are the best in their class. Our test winner in terms of sound is Beoplay E8 from B&O (test report) for just under 90 Euro. In addition to the rich sound, the design and feel impress us.

iPhone with contract Who is not good 1000 want to pay euros at once for an iPhone, the smartphone can also be purchased with a contract. All major providers have been offering since

MSI Optix MAG273R Review: Speed in a 27-Inch Value

Our Verdict

The MSI Optix MAG273R delivers more contrast than most IPS panels and video processing that’s without fault. HDR is lacking, but budget-minded gamers should check it out.

For

  • Excellent contrast
  • Saturated color
  • Low input lag
  • Good value

Against

  • HDR looks like SDR
  • Light gamma

Features and Specifications

In any kind of gaming competition, monitor speed is always an important factor. Resolution, pixel density and contrast all affect the image quality, but professional players need high frame rates and instant control response in their best gaming monitor.

If you want to keep gameplay above 100 frames per second (fps), a monitor with 1080p resolution is the easiest way to make it happen. Moving fewer pixels means less processing power is required. For shoppers, this approach keeps hardware costs down (no need for the top cards on our GPU benchmarks hierarchy) and still provides an excellent gaming experience.

An attractive choice for gamers on a budget, the MSI Optix MAG273R is a 1080p, 27-inch IPS monitor that provides a 144 Hz refresh rate, Adaptive-Sync, extended color and HDR for $250-$260 (as of this writing). It’s aimed at eSports enthusiasts but works equally well in all kinds of fast-moving action games. 

MSI Optix MAG273R Specifications

Panel Type / Backlight IPS / W-LED, edge array
Screen Size / Aspect Ratio 27 inches / 16:9
Max Resolution & Refresh Rate 1920 x 1080 @ 144 Hz; FreeSync: 30-144 Hz, G-Sync Compatible
Native Color Depth & Gamut 10-bit (8-bit+FRC) / sRGB+, HDR10
Response Time (GTG) 1ms
Max Brightness 250 nits
Contrast 1,000:1
Speakers 2x 3w
Video Inputs 1x DisplayPort 1.2, 2x HDMI 2.0
Audio 3.5mm headphone output
USB 2.0 1x up, 2x down
Power Consumption 21.1w, brightness @ 200 nits
Panel Dimensions (WxHxD w/base) 24.3 x 16.6-21.8 x 8.1 inches (617 x 422-554 x 206mm)
Panel Thickness 2.6 inches (65mm)
Bezel Width Top/sides: 0.4 inch (9mm); Bottom: 0.5 inch (12mm)
Weight 13.5 pounds (6.1kg)
Width 3 years

The Optix MAG273R starts with an IPS panel equipped with a flicker-free backlight capable of a claimed 250 nits of max brightness and wide color gamut, namely sRGB+. MSI takes a unique approach to extended color in this case. Most wide gamut screens simply follow the DCI-P3 spec and under-saturate the green primary by 10% or so. The MAG273R, on the other hand, follows sRGB for most of the saturation range and pumps up only the brightest hues. The net effect is a little more natural looking. We’ll explain further on page three.

AMD FreeSync is the native Adaptive-Sync for fighting screen tearing, but we were able to run Nvidia G-Sync on our test sample, even though it’s not certified by Nvidia (you can learn how i our How to Run G-Sync on a FreeSync Monitor tutorial). FreeSync runs from 30 to 144 Hz and supports Low Framerate Compensation (LFC) to ensure that you won’t see tearing at any speed.

Also included is low motion blur in the form of a backlight strobe. It also eliminates both HDR and Adaptive-Sync when engaged.

MSI’s MAG273R is billed as HDR-ready and we confirmed HDR10 support in our tests. But in terms of Adaptive-Sync, HDR only works alongside FreeSync, not the unofficial G-Sync support we uncovered.

There aren’t a ton of bells and whistles here but ultimately, performance is the key to success. At around $300, the MAG237R looks like a decent value for budget systems. Let’s take a look.

Assembly and Accessories of MSI MAG273R

Once you secure a Phillips-head screwdriver, assembling the MSI MAG273R is a simple matter. The base attaches to the upright with a captive bolt, and the panel hooks on and is secured with two screws.

Additional hardware is included for the 100mm VESA mount if you want to use your own bracket. Included cables are HDMI and USB, along with a small external power supply.

Product 360 for MSI MAG273R

Image 1 of 4

(Image credit: MSI)

Image 2 of 4

(Image credit: MSI)

Image 3 of 4

(Image credit: MSI)

Image 4 of 4

(Image credit: MSI)

The MSI MAG273R has a flush-mounted bezel that’s 9mm wide. It’s only visible when there’s an image on-screen. A wider strip runs across the bottom with the MSI logo in the center. The screen is free of grain or artifacts and prevents reflection of all but the brightest room lights. The stand is a quality piece with a 5.2-inch height adjustment and -5/20 degrees of tilt. There is no swivel or portrait mode. Movements are firm and free of play.

The power toggle is a tiny key underneath the right side, and other controls are all under the management of a single joystick which is on the back. Also in the back is an attractive shield-shaped graphic showing a dragon against a red background.

Across the top, above the upright is an LED lighting feature. You can toggle it in the on-screen display (OSD) or use MSI’s Gaming OSD desktop app. The RGB can be coordinated with MSI’s Mystic Light products for a system-wide light show.

The MSI MAG273R’s input panel offers two HDMI 2.0 ports and a single DisplayPort 1.2a (for gaming comparisons, see our HDMI vs DisplayPort article). You can run FreeSync at 144 Hz over either interface, but the unofficial G-Sync support requires DisplayPort. Both input types also support HDR but only with FreeSync. A 3.5mm audio port provides sound for headphones or powered speakers. There are no speakers built in. You also get three USB 2.0 (one upstream and two down) for peripheral hookup.

OSD Features of MSI MAG273R

Pressing the joystick brings up the MAG273R’s OSD, which fills a large portion of the screen. At the top of each menu is information on resolution, refresh rate, HDR and FreeSync status and active input.

(Image credit: Tom’s Hardware)

The Gaming menu offers five picture modes aimed at different game types. User is the default and best mode, as it allows for image adjustments. Night Vision raises the black level to make shadow detail more visible. Response time is a three-level overdrive. We ran it on its maximum without visible ghosting.

Anti-Motion Blur is a backlight strobe that takes out overdrive and Adaptive-Sync. It also reduces brightness by 50%. We noticed visible phasing when using it, so we recommend leaving it off. Refresh Rate is an FPS counter you can place in any corner of the screen. Alarm Clock is a countdown timer, and Screen Assistance offers an array of aiming points. You get five different reticle shapes in either red or white, and you can place it anywhere on the screen using the joystick.

(Image credit: Tom’s Hardware)

The Professional sub-menu repeats the backlight strobe option and adds dynamic contrast (HDCR) and four more picture modes. The last one, HDR, attempts to simulate the effect of HDR with SDR content. We weren’t fans of it, but users should try it for themselves before deciding. Image Enhancement adds ringing around high-contrast objects. We suggest leaving it off.

(Image credit: Tom’s Hardware)

The Image menu has the MAG273R’s calibration controls. You get three color temp presets, plus a set of RGB sliders. We were able to achieve excellent grayscale tracking with them. We wish there were extra gamma presets because we found the default luminance curve to be a little light; measuring closer to 1.9 rather than 2.2.

MSI Optix MAG273R Calibration Settings

We stuck with the MAG273R’s User mode for our calibration and testing. After selecting the User color temp, we tweaked the RGB sliders to achieve a very accurate white point. There are no color gamut options, so DCI-P3 is the gamut used for all content, SDR and HDR.

Below are our recommended settings for the MSI Optix MAG273R.

Picture Mode User
Brightness 200 nits 49
Brightness 120 nits 20
Brightness 100 nits 14
Brightness 80 nits 8 (minimum 56 nits)
Contrast 70
Color Temp User Red 92, Green 100, Blue 93

Applying an HDR10 signal automatically switches the monitor into HDR mode, where all image controls are locked out.

Gaming and Hands-on

The first thing we noticed when starting up Windows on the MSI MAG273R is its excellent contrast. Though contrast on this IPS panel isn’t quite in the same league as a VA monitor, the MSI has a little more dynamic range than most IPS panels, and the difference was visible in a side-by-side comparison. The MAG273R also makes very good use of its wide color gamut to enhance SDR content without going too far into over-saturation. This quality makes it easy to forget you’re looking at an FHD screen. Though pixel density is just 81 pixels per inch (ppi), it fools the eye into thinking resolution is higher.

Detail in tiny fonts and icons is solid, but you can see the occasional jagged line. If you spend most of your time editing documents and spreadsheets, a 27-inch 1440p or 4K resolution monitor, like those on our Best 4K Gaming Monitors list, is a better tool.

But when viewing graphics, photos or videos; we became less aware of the MAG273R’s lesser resolution. Moving images rendered cleanly with the overdrive set to its maximum speed. There was no ghosting, and motion blur was minimal at 60 Hz and even less at 144 Hz.

Moving into the jungles and caves of Tomb Raider, we were again struck by the MAG273R’s contrast. Though our tests show only about 15% more dynamic range, it looked like a lot more to the naked eye. MSI engineered the color tracking to make excellent use of the wide gamut, and it showed in this SDR-encoded game. Detail popped nicely with sharp rendering of textures and surfaces. Specular highlights shined brightly while dark scenes came close to true black with easily seen shadow detail.

For video processing, we stuck with FreeSync and max overdrive, since we saw no benefit to the MAG273R’s backlight strobe option. The backlight strobe dimmed the picture too much, and the loss of Adaptive-Sync was easily noticeable. With either FreeSync or (unofficial) G-Sync active though, we had no issues. Control response was instantaneous with no stutter, tearing or ghosting. The MAG273R has a top-of-the-line overdrive implementation. Motion resolution was always high regardless of how fast the action was.

Frame rates in all cases stayed maxed at 144 fps when paired with a system using either a Radeon RX 5700 XT or GeForce GTX 1080 Ti graphics card. Many systems with less processing power than ours will be able to run the MAG273R at 144 Hz, thanks to its FHD panel. Speed is this monitor’s forte for sure.

HDR gaming is pretty much a non-starter here. There is no visual benefit to running in HDR mode because contrast was no higher than it is in SDR mode. HDR worked fine with FreeSync, but we turned on G-Sync, despite lacking Nvidia certification, HDR didn’t work. HDR is best reserved for movie watching; it isn’t of any use while gaming.

Current page:

Features and Specifications

Next Page Brightness and Contrast