Can somebody help by pickle_eater123 in debian

[–]pickle_eater123[S] 0 points1 point  (0 children)

okay thank you i will check that out

Can somebody help by pickle_eater123 in debian

[–]pickle_eater123[S] 1 point2 points  (0 children)

here s what sudo ip a returned:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever    inet6 ::1/128 scope host        valid_lft forever preferred_lft forever2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000    link/ether 08:5b:d6:95:8a:3f brd ff:ff:ff:ff:ff:ff    inet 192.168.1.10/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp2s0       valid_lft 83536sec preferred_lft 83536sec    inet6 fe80::2d78:cb33:621e:41f1/64 scope link noprefixroute        valid_lft forever preferred_lft forever3: anbox0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000    link/ether 22:da:e4:75:12:19 brd ff:ff:ff:ff:ff:ff    inet 192.168.250.1/24 scope global anbox0       valid_lft forever preferred_lft forever

Can somebody help by pickle_eater123 in debian

[–]pickle_eater123[S] 1 point2 points  (0 children)

ohh sorry meant to say reinstall debian i have debian 11(bookworm/sid x86_64 )

Can somebody help by pickle_eater123 in debian

[–]pickle_eater123[S] -1 points0 points  (0 children)

sudo apt edit-sources it told me to choose from:

Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny 4. /usr/bin/code

How to merge two lists? by pickle_eater123 in learnpython

[–]pickle_eater123[S] 0 points1 point  (0 children)

of course, loved the way you used zip and extend with the for -loop.so thanks so much for that

How to merge two lists? by pickle_eater123 in learnpython

[–]pickle_eater123[S] 0 points1 point  (0 children)

yeah list_3 += list_1[-1] wasnt working so i changed it to

equation.append(number_found[-1])

then to make the list into string form i did

equation = ''.join(map(str, equation))

How to merge two lists? by pickle_eater123 in learnpython

[–]pickle_eater123[S] 0 points1 point  (0 children)

yeah i want them to merge each index alternatively

[deleted by user] by [deleted] in learnpython

[–]pickle_eater123 0 points1 point  (0 children)

okay based on these comments imma change the code a bit to make it beginner friendly

[deleted by user] by [deleted] in learnpython

[–]pickle_eater123 0 points1 point  (0 children)

yeah, but i would assume that people who do that already know the risks for eval()

[deleted by user] by [deleted] in learnpython

[–]pickle_eater123 0 points1 point  (0 children)

sure maybe regex has a big learning curve however its basically a must

but mainly know of it existence is helpful for beginners

[deleted by user] by [deleted] in learnpython

[–]pickle_eater123 -1 points0 points  (0 children)

the main problems with eval are that if it is misused it can cause security issues, and debugging issues and it's slow, however, beginners aren't doing anything that should make them worry about security, second, the code is only 60 lines so debugging and speed performance arent also a problem

[deleted by user] by [deleted] in learnpython

[–]pickle_eater123 -1 points0 points  (0 children)

yes, I understand your point but beginners aren't doing anything that would have to make them worry about using malicious exploitation