abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 19:44 | IT novinky

    Samsung na akci Galaxy Unpacked July 2026 (YouTube) představil své nové telefony Galaxy Z Fold8 Ultra, Fold8 a Flip8, hodinky Galaxy Watch Ultra2 a Watch9 a chytré brýle ve spolupráci s Gentle Monster a Warby Parker.

    Ladislav Hagara | Komentářů: 0
    dnes 16:11 | IT novinky

    Po pěti letech vývoje vyšla česká počítačová hra Scarlet Deer Inn (ProtonDB). Scarlet Deer Inn je vyšívaná temná středověká pohádka. Zatímco život ve zdánlivě obyčejné vesnici se točí kolem běžných povinností a sousedských drbů, v podzemí se skrývají zlověstná tajemství.

    Ladislav Hagara | Komentářů: 1
    dnes 13:33 | IT novinky

    Představen byl Raspberry Pi Touch Display 2 s uhlopříčkou 10 palců a rozlišením 1200 × 1920 pixelů. Cena je 80 dolarů.

    Ladislav Hagara | Komentářů: 1
    dnes 13:22 | Komunita

    RPCS3 (Wikipedie), tj. open source emulátor Sony PlayStation 3, snížil minimální požadavky. Nově jsou podporovány starší grafické karty ATI Radeon řady HD 2000, 3000 a 4000 z let 2007 až 2009. Na PC běží už 75 % všech her pro PlayStation 3. V budoucnu bude RPCS3 fungovat bez firmwaru z PS3. V RPCS3 byl implementován systémový modul cellSysmodule (𝕏).

    Ladislav Hagara | Komentářů: 0
    dnes 11:00 | Zajímavý software

    Vyšel open-source nástroj winetop (MIT) — nativní CLI/TUI pro sledování a ukončování Wine, Proton, Lutris, Heroic a Bottles sezení. Seskupuje procesy podle WINEPREFIX / Steam AppId, umí bezpečně zabít jen hru (včetně Steam reaperu) a nabízí i skriptovatelné příkazy (list, kill, orphans, …). Balíčky jsou mimo jiné na crates.io, Copru (dnf copr enable kovariadam/winetop), PPA ppa:kovariadam/winetop a AUR (winetop-bin).

    kovariadam | Komentářů: 0
    dnes 02:44 | IT novinky

    Ve spolupráci společností OpenAI a Work Louder byla představena (𝕏) hardwarová klávesnice Codex Micro pro práci s AI agenty. Cena klávesnice je 230 dolarů.

    Ladislav Hagara | Komentářů: 1
    včera 20:00 | Nová verze

    Byl vydán Mozilla Firefox 153.0. Přehled novinek v poznámkách k vydání a poznámkách k vydání pro vývojáře. Řešeny jsou rovněž bezpečnostní chyby. Nový Firefox 153 bude brzy k dispozici také na Flathubu a Snapcraftu.

    Ladislav Hagara | Komentářů: 0
    včera 13:44 | Bezpečnostní upozornění Ladislav Hagara | Komentářů: 11
    včera 13:11 | Nová verze

    Byla vydána nová verze 5.44 programovacího jazyka Perl (Wikipedie). Do vývoje se zapojilo 71 vývojářů. Změněno bylo přibližně 270 tisíc řádků v 1 300 souborech. Přehled novinek a změn v podrobném seznamu.

    Ladislav Hagara | Komentářů: 0
    včera 12:33 | Pozvánky

    Na 23. září 2026 je do bratislavské Nové Cvernovky naplánovaná jednodenní konference #nobullshit.camp pro tech leadery, DevOps a platform inženýry. Mají tu zaznít upřímné příběhy z praxe o tom, co v produkčních systémech reálně fungovalo, co se pokazilo a co si z toho lidé odnesli. Témata pokrývají tři oblasti – DevOps a platformy (Kubernetes, cloud, provoz systémů), firemní kulturu a leadership. Program běží ve dvou formátech: hlavní

    … více »
    alian | Komentářů: 0
    Které desktopové prostředí na Linuxu používáte?
     (11%)
     (7%)
     (2%)
     (17%)
     (30%)
     (5%)
     (6%)
     (2%)
     (15%)
     (24%)
    Celkem 2204 hlasů
     Komentářů: 30, poslední 3.4. 20:20
    Rozcestník



    Vložit další komentář
    Jiří P. avatar 10.4.2007 09:40 Jiří P. | skóre: 24 | blog: programování
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    Pro skládání reg. výrazů a jejich odladění se mi velice osvědčil prográmek kodos.
    In a world without fences and walls, who needs Gates and Windows?
    10.4.2007 10:17 happy barney | skóre: 34 | blog: dont_worry_be_happy
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    re.match(r"(19|20)[0-9]{2}", retezec)
     # vyhleda letopocet mezi roky 1900 a 2050
    
    hmm, možno tak v pythone :-)) Všade inde by bolo treba opraviť buď prvý riadok
    m/(?:19\d{2})|(?:20[0-4]\d)|2050/
    
    alebo druhý riadok
     # vyhleda letopocet mezi roky 1900 a 2099 (vrátane)
    
    10.4.2007 14:26 Jakub Matys
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    Omlouvam se - chybicka se vloudila. V komentari melo opravdu byt 1900 az 2099.
    10.4.2007 14:38 happy barney | skóre: 34 | blog: dont_worry_be_happy
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    btw, aj tie hexa čísla sú nejaký zvláštny regexp. Autor mohol predviesť ignore-case match :-)
    m/^(?:0|(?!0)[0-9a-f]+)$/i
    
    mj41 avatar 10.4.2007 18:13 mj41 | skóre: 17 | blog: mj41 | Brno
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    Jak se da v Pythonu jednoduse udelat Perlovske:

    die "Zadany retezec neobsahuje letopocet od 1900 do 2099.\n" if $retezec !~ /(19|20)[0-9]{2}/;

    ?
    10.4.2007 20:26 Jan Martinek | skóre: 43 | blog: johny | Brno
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    třeba takhle
    #!/usr/bin/env python
    import re
    year_str = '1801d'
    if not re.match('(19|20)[0-9]{2}', year_str):
        raise SystemExit, 'Chyba formatu letopoctu'
    
    nebo takhle
    year_str = '1801d'
    try:
        rok = int(year_str)    
    except ValueError:
        raise SystemExit, '"%s" nelze prevest na cislo.' %year_str
    
    if rok < 1900 or rok > 2099:
        raise SystemExit, 'Rok %d je mimo interval 1900 a 2099.' %rok
    
    11.4.2007 13:37 Michal Vyskočil | skóre: 60 | blog: miblog | Praha
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    Afaik volání die prostě ukončí interpreter Perlu, takže v Pythonu by tomu odpovídalo exit. Výjimka se dá pomocí except zachytit a zpracovat ... <rejp>
    Při vyvolávání výjimky si typicky objekt reprezentující výjimku vytvářím -- doporučuje se zápis vyjadřující konstrukci nového objektu ;-)
    py.cz
    </rejp>
    When your hammer is C++, everything begins to look like a thumb.
    10.12.2021 12:03 ahmedsayeed1982
    Rozbalit Rozbalit vše Re: Standardní knihovna pro Python - 8 (regulární výrazy 1)
    some periods, Nvidia can squeeze new ones among the existing card models. In such cases, the newly announced graphics card(s) are slightly more powerful than the cards of the same model. Nvidia has leaked graphics card a new graphics card model, in the 497.09 graphics card driver version. The new graphics card was leaked in the patch notes of the 497.09 driver published on Nvidia's site on Wednesday. It turned out that Nvidia's new graphics card model, the 12 GB RTX Nvidia's site 2060 Super, is supported with the 497.09 driver. Although Nvidia has not officially introduced the graphics card yet, the phrase in the patch notes winks at the future of a new graphics card. You can see the statement GeForce RTX 2060 of GeForce RTX 2060 12 GB graphics card on page 8 of the PDF at this link. Nvidia introduced some RTX 2060 Super offerings to the market in early 2021. The company did not perform a promotion for users, their purpose was only to survey RTX Super 2060 the market. Meanwhile, Nvidia continued to produce RTX 3000 series cards. For a long time, rumors of a 12GB RTX 2060 variant had excited users. Some rumors that appeared on Twitter and YouTube also pointed to the future of the new graphics Nvidia card. Still, users preferred to approach the rumors carefully. Since then, this new graphics card has remained a rumor until Nvidia's minor bug was revealed. Although Nvidia has not yet officially announced the 12 GB RTX 2060 12 GB RTX 2060 Super graphics card, the phrase in the PDF gives a certainty to the graphics card. Normally, RTX 2060 Super models have 8 GB of VRAM, and this new 12 GB model will be able to offer wider usage areas. The price and availability of the new graphics card are not yet known. It is also unknown whether Nvidia Nvidia card is planning a launch for the card. It is thought that Nvidia made this leak on purpose to prepare the market for the new graphics card. Since then, this new graphics card has remained a rumor until the minor error that Nvidia new graphics card made was revealed. Although Nvidia has not yet officially announced the 12 GB RTX 2060 Super graphics card, the phrase in the PDF gives a certainty to the graphics card. Normally, RTX 2060 Super models have 8 GB of VRAM, and this new 12 GB model will be able to offer wider usage areas. 12 gb graphics card The price and availability of the new graphics card are not yet known. It is also unknown whether Nvidia is planning a launch for the card. It is thought that Nvidia deliberately made this leak to prepare the market for the new graphics card. The price and availability of the new graphics card are not yet known. It is also unknown whether latest graphics card Nvidia is planning a launch for the card. It is thought that Nvidia deliberately made this leak to prepare the market for the new graphics card. In some periods, Nvidia can squeeze new ones among the existing card models. In such cases, the newly announced graphics card(s) are slightly more powerful than the cards Nvidia and amd of the same model. Nvidia has leaked a new graphics card model, in the 497.09 graphics card driver version. The new graphics card was leaked in the patch notes of the 497.09 driver published on Nvidia's site on Wednesday. It turned out that Nvidia's new graphics card model, the 12 GB RTX 2060 Amd graphics card Super, is supported with the 497.09 driver. Although Nvidia has not officially introduced the graphics card yet, the phrase in the patch notes winks at the future of a new graphics card. You amd graphics can see the statement of GeForce RTX 2060 12 GB graphics card on page 8 of the PDF at this link. Nvidia introduced some RTX 2060 Super offerings to the market in early 2021. The company did not perform a promotion for users, their purpose was only to survey the market. Meanwhile, Nvidia continued to produce RTX 3000 series cards. For rtx 2060 a long time, rumors of a 12GB RTX 2060 variant had excited users. Some rumors that appeared on Twitter and YouTube also pointed to the future of the new graphics card. Still, users preferred to approach the rumors carefully. Since then, this new graphics card super rtx has remained a rumor until Nvidia's minor bug was revealed. Although Nvidia has not yet officially announced the 12 GB RTX 2060 Super graphics card, the phrase in the PDF gives a certainty to the graphics card. Normally, RTX 2060 Super models rtx 2060 super have 8 GB of VRAM, and this new 12 GB model will be able to offer wider usage areas. The price and availability of the new graphics card are not yet known. It is also unknown whether Nvidia is planning a launch for the card. It is thought that Nvidia made this leak on purpose to prepare the market for the new graphics card. Nvidia Since then, this new graphics card has remained a rumor until the minor error that Nvidia made was revealed. Although Nvidia has not yet officially announced the 12 GB RTX 2060 Super graphics card, the phrase in the PDF gives a certainty to the graphics card. Normally, RTX 2060 super graphics cards Super models have 8 GB of VRAM, and this new 12 GB model will be able to offer wider usage areas. The price and availability of the new graphics card are not yet known. It is also unknown whether Nvidia is planning a launch for the card. It is thought that Nvidia deliberately made this leak to prepare the market for the new graphics card. The price graphics cards 2021 and availability of the new graphics card are not yet known. It is also unknown whether Nvidia is planning a launch for the card. It is thought that Nvidia deliberately made this leak to prepare the market for the new graphics card.

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.