TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

Пронајдени 49 слични објави

Пребарај: #makeinindia

当前筛选 #makeinindia清除筛选
Indian Development News 🇮🇳

@developmentnewsindia · Post #44266 · 01.05.2026 г., 02:20

Carrier Global to invest ₹863 crore in Sri City plant for chiller systems; project to create 721 jobs. Move aligns with Andhra Pradesh 6 GW data centre target, localising cooling infra for hyperscale facilities and reducing supply chain dependence. #MakeinIndia

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #44220 · 30.04.2026 г., 06:19

🇷🇺🤝🇮🇳 Rosatom deploys RusBeam 2800 industrial 3D printer in India using EBAM technology for aerospace components. System can produce metal parts up to ~2.8 m and ~4 tonnes, marking entry into India’s additive manufacturing market. #MakeInIndia https://t.co/BNRzsaWaUx

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #44080 · 26.04.2026 г., 06:04

Azad Engineering inaugurates 7,600 sq m Hyderabad facility to support Baker Hughes global supply chain. Plant is its 4th unit, integrated with Centre of Excellence; partnership with Baker Hughes spans ~8 years. Focus on aerospace, defence, energy manufacturing expansion. #MakeInIndia https://t.co/ZxbXjq1xQo

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43904 · 22.04.2026 г., 04:21

🇮🇳🤝🇯🇵Now, JSW has brought in another partner, Japan’s JFE Steel, with a combined ₹30,000 crore investment in Odisha. This JV with JFE will expand Bhushan Power & Steel (BSPL) to 10 MTPA capacity. JSW’s upcoming steel projects in Odisha: 1. Paradip - 13.2 MTPA (WIP) 2. Keonjhar - 5 MTPA 3. Dhenkanal - 6 MTPA 4. Sambalpur - 6 MTPA expansion (from 4 to 10 MTPA) #MakeInIndia

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43788 · 18.04.2026 г., 15:24

JSW Steel has approved a joint venture with South Korea’s POSCO Group to set up a 6 MTPA integrated steel plant in Odisha. The project will be executed through Saffron Resources, which will become a 50:50 JV between the two companies. This JV is for the Keonjhar steel plant. #MakeInIndia

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43591 · 14.04.2026 г., 14:09

Karnataka plans Mandya industrial hub with ARAI facility; ecosystem size proposed ~500 acres vs initial 100 acres. Site options include ~105 acres at Basaralu and ~425 acres at Bellur; separate proposal seeks 2,550 acres for electrical equipment manufacturing. #MakeInIndia

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43393 · 09.04.2026 г., 03:33

Japan's Daikin Industries is setting up its first R&D centre outside Japan in India . The ₹1,000 crore hub will be focused on chillers and AC systems for data centres, residential, and commercial use. The centre, likely near its existing Neemrana plant, will hire 500 engineers from top Indian institutions. Beyond R&D, Daikin is also building a compressor plant, setting up a local refrigerant production entity, and investing ₹200 crore to locally manufacture data centre chillers #MakeInIndia

Hashtags

MyGov Newsdesk

@MyGovCoronaNewsdesk · Post #13382 · 22.04.2025 г., 05:43

Indian Automobiles, Global Dreams! 🌍🚗 India’s auto exports race ahead with a massive 73% surge from 2014 to 2025! #MakeInIndia

Hashtags

ПретходнаСтраница 1 од 5Следна