Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Phasing a tabbed file?
Post: RE: Phasing a tabbed file?

(Dec-14-2017, 12:44 AM)ODIS Wrote: If you are using dictionary as your "nested array", you'll have a problem with syntax because this is not a valid dictionary: { "value", "key": "value" }You canno...
Joseph_f2 General Coding Help 5 3,160 Dec-14-2017, 11:44 PM
    Thread: Phasing a tabbed file?
Post: RE: Phasing a tabbed file?

(Dec-13-2017, 09:51 PM)j.crater Wrote: What in particular is the trouble you are having? Post the code of your attempt of tackling the problem in Python code tags, and potential error messages in er...
Joseph_f2 General Coding Help 5 3,160 Dec-14-2017, 01:43 PM
    Thread: Phasing a tabbed file?
Post: Phasing a tabbed file?

Hi there, I am having trouble with what I believe is a very simple problem. I have a text file which looks like this: Cat 1     Sub Cat 1     Sub Cat 2     Sub Cat 3         Testing Cat 2     Sub Cat...
Joseph_f2 General Coding Help 5 3,160 Dec-13-2017, 09:35 PM
    Thread: I need help with this code
Post: RE: I need help with this code

(Apr-03-2017, 05:59 PM)TEST1 Wrote: #put you Tumblr API keys hereYou should NOT put your personal API keys. Please blank these out and allow other uses to generate their own set to test out the code...
Joseph_f2 General Coding Help 2 3,167 May-12-2017, 11:47 AM
    Thread: Sending Hex Code to Machine from Laptop using TCP/IP Protocal
Post: RE: Sending Hex Code to Machine from Laptop using ...

Ideally, we need to know what the server-side code is like. Are you using a preexisting application which is closed source or have you made the application running on the server itself using Python? I...
Joseph_f2 General Coding Help 2 9,619 May-12-2017, 11:32 AM
    Thread: Compiler fault or some kind of weird referencing bug?
Post: RE: Compiler fault or some kind of weird referenci...

(May-08-2017, 12:43 AM)micseydel Wrote: You only ever create two lists. On line 23, when you append(), you're always appending the same object. Python passes around object references, as you mention...
Joseph_f2 General Coding Help 11 9,059 May-08-2017, 12:32 PM
    Thread: Scrape Facebook page user posts text
Post: RE: Scrape Facebook page user posts text

(May-08-2017, 03:00 AM)metulburr Wrote: last i recall their API would allow everything from posting on your behalf to changing settings. I personally prefer BeautifulSoup and scraping HTML as i am c...
Joseph_f2 Web Scraping & Web Development 6 8,281 May-08-2017, 12:24 PM
    Thread: Python + OpenCV + Tkinter playing video help
Post: RE: Python + OpenCV + Tkinter playing video help

I could be wrong here, but I think you're attempting to resize the area you are grabbing from the camera. However, you should be stretching the image after grabbing the normal resolution camera feed. ...
Joseph_f2 General Coding Help 1 17,914 May-08-2017, 01:25 AM
    Thread: Fun games to help with
Post: RE: Fun games to help with

Sounds like good fun. Maybe consider adding helpful tutorials and references to things like PyGame to your post too. I don't really have the time with exams, but I'm sure other people will (and not to...
Joseph_f2 Game Development 2 4,049 May-08-2017, 01:21 AM
    Thread: Scrape Facebook page user posts text
Post: RE: Scrape Facebook page user posts text

(May-08-2017, 12:51 AM)metulburr Wrote: facebook has its own API. It would be wise to scrape posts via their API verses logging in via selenium...otherwise you could find yourself blocked from faceb...
Joseph_f2 Web Scraping & Web Development 6 8,281 May-08-2017, 01:17 AM
    Thread: Adding regedit value to glob.glob
Post: RE: Adding regedit value to glob.glob

Here you go. I rewrote your code just a little bit. But it should do what you wanted now: from winreg import * import glob, os   key = OpenKey(HKEY_CURRENT_USER, r'SOFTWARE\Ubisoft', 0, KEY_ALL_ACCES...
Joseph_f2 General Coding Help 2 3,242 May-08-2017, 01:11 AM
    Thread: Alphabeta pruning error
Post: RE: Alphabeta pruning error

Your code does not appear to be complete, which makes helping you much harder. Please double check your posted source code and make sure it's the latest version you have.
Joseph_f2 Homework 1 2,704 May-08-2017, 12:49 AM
    Thread: Scrape Facebook page user posts text
Post: RE: Scrape Facebook page user posts text

Hey there. I'll see what I can do for you tomorrow morning once I am on my computer, but I believe I should be able to create what you want fairly easily and then submit the source code. However, scan...
Joseph_f2 Web Scraping & Web Development 6 8,281 May-08-2017, 12:40 AM
    Thread: set font from dialog box pyside python
Post: RE: set font from dialog box pyside python

Your question is clear, however, I would like to know exactly what packages you're using? Would it be possible to supply your source code, or at least some keys parts of it and your imports?
Joseph_f2 GUI 1 3,562 May-08-2017, 12:25 AM
    Thread: Compiler fault or some kind of weird referencing bug?
Post: Compiler fault or some kind of weird referencing b...

So below is my Python code. I'm just messing around with what I was going to use as base for a new project. But after only 2 minutes of writing, I hit a wall. I've been trying various methods to fix i...
Joseph_f2 General Coding Help 11 9,059 May-08-2017, 12:07 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020