How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object having no attribute ‘read’ after running my … A module that comes with Python, doesn´t register? Programming Web Development by Audun Hi Title: A module that comes with Python, doesn´t register. This is the error message: %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 1, in <module> import cv2 # OpenCV for image processing ModuleNotFoundError: No module named 'cv2' I double-checked to … Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun Thanks. That sorted it. Now, I have a new problem.. I tried the two variations of quotation marks, without the backslash, and got this: >>> %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures\… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun I tried that using Thonny, and I´m getting the same result. I tried the same in the "CMD" that opens when I press Python 3.12, and what happened was, it just said nothing and went back to an empty "line", or whatever. I suppose that´s a good sign? It says syntax error a lot on there too. What sort of programs do you use … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… Re: A module that comes with Python, doesn´t register? Programming Web Development by Reverend Jim I tried installing python 3.12 and had the same problem. I typically wait a bit before installing the latest and greatest because I have found it can take a while before packages are upgraded to be compatible (usually wxpython). I was able to install the individual packages under python 3.10. I know that the "next to latest and greatest" … Help with functions - basics Programming by verrandhack So im working on functions for the first time in vscode using … Re: Htaccess Problem Url Friendly Programming Web Development by Dani I suppose I’m not properly understanding your question. Do you mean when you go to the URL in your browser localhost/mysite/readlex.php?slug=Le-mura-di-Lucca it doesn’t load, but when you go to the rewritten URL it works fine? Re: Help with functions - basics Programming by rproffitt Rather than dive into c++ like that, try tutorials like we see at https://www.w3schools.com/cpp/cpp_functions.asp Re: Help with functions - basics Programming by jkon It seems that the issue has nothing to do with C++ or with functions. If you are new to programming why not try some tutorials in an easy accessible language (like JavaScript for example) and when you understand a few basics ( like null , functions , variables , loops , conditions ) move to a C++ tutorial for beginners ? Re: Help with functions - basics Programming by learnerya Starting from the basics, I have just started learning Re: Problem with the external hard drive Hardware and Software Microsoft Windows by Dani I’m glad you were able to recover your important files. Re: import image from database image folder to pdf using fpdf Programming Web Development by thir hai, dani thank for your reply. currently im trying to set up the pdf report using fpdf that … on it. after googling the best solution for my problem im still cant get it and getting worse. MY CODE IS… %Upgrading processor Hardware and Software by ilhamsesat09 Guys im asking, Can my old laptop extensa 4630 change the processor? Or maybe a recommended processor? import image from database image folder to pdf using fpdf Programming Web Development by thir hai. i would like to know is there have any video that can teach how to import image from database image folder to pdf using fpdf php. i already read some post here regarding to that issue by im not very clear and blur. actually i am very new in coding. hope that anyone can help. Re: What is easier, PHP or Python? Programming Web Development by Dani I wholeheartedly agree with cored0mp when it comes to library support. As a PHP’er, it’s been a lifesaver for me knowing that anything I might need, and any popular API I might want to use, can find documentation and extensive support on. At least for everything I’ve tried to do over the past 20 years, I’m not so sure I could say the same for … Re: Mysidia Adoptables PHP Help Programming Web Development by jkon PHP is pretty good and expressive with warning , error and exception messages. If you don't understand anything from the messages that you get please write more about what exactly you don't understand and we could make it clearer. But ... ignoring warnings is a bad practice because there is a probability to lead in fatal errors , so first fix the … Re: %Upgrading processor Hardware and Software by rproffitt If you research this, there have been zero such upgrades reported. Example: https://www.daniweb.com/hardware-and-software/hardware/threads/360437/intel-core-2-quad-on-acer-extensa-4630z About all you can do is be sure the HDD has been replaced with SSD and if you can do it free or cheap, max out the RAM. This Core2 CPU is woefully out of date … Re: import image from database image folder to pdf using fpdf Programming Web Development by Dani Here's an article that should help you: https://www.geeksforgeeks.org/how-to-generate-pdf-file-using-php/ Please let me know if there's something specific in that article that is confusing you, and I can try my best to explain it in better detail. Re: import image from database image folder to pdf using fpdf Programming Web Development by Dani You errors are showing undefined variables on line 821 and 825 of VK.php, and then a fatal error on line 267 of fpdf.php. What code are on and around those lines? Re: import image from database image folder to pdf using fpdf Programming Web Development by gottaloveit it's complaining the index "gambarvk_image" is not defined on line 821 which is code we can't see. I assume that the HTML form file input field is not named exactly "gambarvk_image" or maybe is named "gambarvk_image[]" or some variant or the form is not the right encoding. So check that first. All the rest of the … Re: update NEWS portion on website via EMAIL? Programming Software Development by pjrey im still here... Re: Is it possible to truly hide a url? Programming Web Development by patk570 Im about to IM BACK Community Center by Warrens80 IM BACK!!!!!!!!!!!!!!!!!!!!!! During my time of my ban I rethought about everything. Mandela is still a radical that caused more trouble than peace Paul walker, great actor but died because of his stupid action. I'm here and ready to troll.......lol Re: IM BACK Community Center by diafol >IM BACK!!!!!!!!!!!!!!!!!!!!!! During my time of my ban I rethought about … Im new, Hello all Community Center Say Hello! by firestorm613 …old (my birthday is a month away so im excited to be 21 soon!) I go to … computers cuz i love computers, so I think im gonna do networking and data communication, but i …know anything about that. so im still lost. lol. Im single and looking, lol. Im almost done my major in …psychology, but im gonna do a double major and thats where… Im a newbie here... Community Center Say Hello! by watcher101 Im a newbie here, by the way im Philip. Just call me Phil. Im 25, living here in the Philippines. Got this forum from google... so, as an IT got interested on this community's description. So I registered and tried to post my problem on the forums... and a few minutes later, got an answer already. Thanks for this community... im buying a book tommorow onm C++ Programming Software Development by Sphyenx im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers im sorry this is off topic but want to know this Programming Computer Science by zemezman im sorry this is off topic but want to know this im wondering if anybody knows how to convert IFO files to AVI ? Im New Community Center Say Hello! by blessed07 Im new. Basically. Im a future ICT student, going to start study soon. I have a lot of questions on ICT and hope to get the answers here. Thank you. :)