Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,977
» Latest member: hoki1881
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Google, AOL, Mojeek, AOL

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Today, 07:43 AM
» Replies: 2
» Views: 304
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 936
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 984
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 670
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,997
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,426
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,004
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,445
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,345
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,676

 
  Transform Facebook Graph API insights JSON to pandas dataframe
Posted by: usman - Mar-03-2020, 05:14 AM - Forum: Data Science - No Replies

I am trying to read my Page INSIGHTS from Facebook graph API and then convert into pandas dataframe but unable to do so.

I used json_normalize func..... More

Print this item

  SHow image in a static link of Django
Posted by: pycada - Mar-03-2020, 03:03 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

How can i show the image t ?

[python]
{% for t in liste_theme_key %}[/color]
<div>

..... More

Print this item

  does yield support variable args?
Posted by: Skaperen - Mar-03-2020, 02:44 AM - Forum: General Coding Help - No Replies

does yield support variable args like:

        yield *foo
i want to make a generator that can be made to pull date from some other ge..... More

Print this item

  Free Django Dashboard Template
Posted by: jett21 - Mar-03-2020, 02:43 AM - Forum: GUI - Replies (2)

Hi is there any Django Dashboard template that is free to use, that you can recommend? I will use it for our IT portal. Thanks in advance guys

Print this item

  how to output to stderr from inside a generator?
Posted by: Skaperen - Mar-03-2020, 02:30 AM - Forum: General Coding Help - Replies (2)

how to output to stderr from inside a generator? i have some error messages and status messages to output. i get no output at all.

Print this item

  Trying to print corresponding elements in two different list
Posted by: Darthmarvolo - Mar-03-2020, 12:59 AM - Forum: General Coding Help - Replies (5)

very new to python and it is also my first programming langue. i have two list one to take in user input for how much rainfall happened each month and..... More

Print this item

  spawning enemies in pygame
Posted by: Elberg - Mar-02-2020, 09:32 PM - Forum: Game Development - Replies (2)

Hi, im making a simple game in pygame and i would like to spawn some enemies, but when i do that i get an error: 'TypeError: 'Group' object is not cal..... More

Print this item

  how to get your own ip using python (NO SOCKET:) )
Posted by: julio2000 - Mar-02-2020, 09:07 PM - Forum: Networking - Replies (3)

Hi,
I would like to create a code wich symply prints out the IP of the user running the code. I can't use socket cause socket creates an error when t..... More

Print this item

  seaborn scatterplot
Posted by: npiatti - Mar-02-2020, 09:02 PM - Forum: General Coding Help - Replies (1)

Hi im quite new with this library and I cant find the way to display this labels in a nicer way, they are all group together

[img]https://lh3.googl..... More

Print this item

  ValueError: Found input variables
Posted by: AhmadMWaddah - Mar-02-2020, 08:14 PM - Forum: Data Science - Replies (3)

OS: Ubuntu 18.04
Python3
Editors PyCharm and Jupyter Lab

hi All Pals.
i looked at the link in same title but i found that i have data same lengt..... More

Print this item

  Problem with labelling dendrograms
Posted by: sujanthapa1996 - Mar-02-2020, 07:18 PM - Forum: Data Science - No Replies

#I am trying to create a dendrogram for my ionomics research and we have thousands of data points. Basically we have 8 different species and I want to..... More

Print this item

  C:\Windows\System32\appwiz.cpl is not a valid Win32 application
Posted by: Marceepoo - Mar-02-2020, 07:12 PM - Forum: General Coding Help - Replies (8)

proc = subprocess.Popen(r"C:\Windows\System32\appwiz.cpl")
generates the following error:
OSError: [WinError 193] %1 is not a va..... More

Print this item

  Reset Button did not work
Posted by: ardvci - Mar-02-2020, 06:58 PM - Forum: GUI - Replies (2)

The code has no errors or warnings it also looks fine to me but I didn't find out why the reset button is not working.Here is the code
[python]from t..... More

Print this item

  how to store data from the soup in the loop?
Posted by: zarize - Mar-02-2020, 12:07 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys,

How can i store data from the soup in the loop?

I would append it to the empty list, however, then i can't set objects/variables by usi..... More

Print this item

  iterate json and count
Posted by: enigma619 - Mar-02-2020, 09:42 AM - Forum: General Coding Help - Replies (2)

Hi

I've a problem with a json to print all my results.. Seems a stupid problem but..

[python]
r = requests.post(
r..... More

Print this item

  Data science with Python - links with exercises
Posted by: darpInd - Mar-02-2020, 09:03 AM - Forum: Data Science - Replies (1)

Hello,
I have done basics of Python to some extent. Now, I want some link where data science problems and solutions are provided so as to improve my ..... More

Print this item

  module run on import?
Posted by: mcmxl22 - Mar-02-2020, 09:03 AM - Forum: General Coding Help - Replies (3)

I have this game I am working on. I am trying to use a config...... More

Print this item

  How to prepare a NumPy array which include float type array elements
Posted by: subhash - Mar-02-2020, 06:46 AM - Forum: Data Science - No Replies

For a Graph based machine learning task, I need to input a Numpy array in the following format.
array([array([[1., 0., 0., 0., 0.],
[0., 1.,..... More

Print this item

  trying to change variable value with a def
Posted by: pythonbegginer - Mar-02-2020, 03:31 AM - Forum: General Coding Help - Replies (11)

Hi, i am a newbie in python and am trying to make a gui to control how fast an LED blinks with a variable named "delay". i am using this code

[pyth..... More

Print this item

  Guess the number game
Posted by: jackthechampion - Mar-02-2020, 02:23 AM - Forum: Homework - Replies (5)

I have a guess the number game assignment this is my code so far was hoping someone could fix it for me


[python]import random

hidden = rando..... More

Print this item

  Displaying Image Files in a GUI
Posted by: vman44 - Mar-01-2020, 10:51 PM - Forum: GUI - Replies (1)

Hello,

I have this situation:

I'm developing a GUI.
This GUI will display an image (png file) from another folder.
There will be a button on t..... More

Print this item

  How To Find an Opening and Closing String, Copying Open/Close/Contents to New File
Posted by: davidshq - Mar-01-2020, 08:31 PM - Forum: General Coding Help - Replies (1)

Hi All,

I want to use Python to parse some old BASIC code. Basically, I'm looking to locate each subroutine within the source file and then copy ea..... More

Print this item

  RSI not Working
Posted by: firebird - Mar-01-2020, 08:12 PM - Forum: General Coding Help - Replies (2)

Hello everyone! In need of help to figure out what's not working with below code. The idea is to calculate a stock RSI by pulling data from Yahoo fina..... More

Print this item

  How can I pass a variable to another class, especially in this situation?
Posted by: Jionni - Mar-01-2020, 07:40 PM - Forum: GUI - Replies (4)

Hi,
I want to pass the result of the function calculate in line 115 to another class, in this case , PageTwo -> function: pasvariable in line 161, b..... More

Print this item

  How to remove duplicate elements in HTML?
Posted by: Xiesxes - Mar-01-2020, 06:56 PM - Forum: General Coding Help - Replies (2)

Hello to all,

I´m trying to clean an html file that has repeated paragraphs within body. Below I show the input file and expected output.

Input...... More

Print this item

  Coding a summation formula
Posted by: rafl0913 - Mar-01-2020, 06:22 PM - Forum: Homework - Replies (3)

I need to make a summation formula currently under the name "num_approx"
I keep getting some errors I cant pinpoint how to fix.
This is my code:

..... More

Print this item

  List of objects with sublist
Posted by: medatib531 - Mar-01-2020, 05:24 PM - Forum: General Coding Help - Replies (4)

Suppose I have the following code

[python]newList = []
for i in range(10):
newList.append([])

for i in range(len(newList)):
newList[i..... More

Print this item

  Generating GEOIDs
Posted by: MackGold - Mar-01-2020, 05:20 PM - Forum: Data Science - No Replies

I am trying to generate a second geoid—a shortened version derived from a full geoid—for a data set.
The original column presents GEOIDs as: 1400000U..... More

Print this item

  python 3 from command line
Posted by: Dixon - Mar-01-2020, 04:58 PM - Forum: General Coding Help - Replies (1)

Can't figure out why I cannot run these two small scripts from the command line. Pasted below is a copy of the results I get. It did work at a point..... More

Print this item

  Python/Django developer looking for remote job
Posted by: Mateusz - Mar-01-2020, 01:12 PM - Forum: Jobs - No Replies

Hello,

I am Mateusz. I have 3 years of commercial experience in web development - mostly in Django/Flask but also in desktop applications (PyQT, wx..... More

Print this item

  Problem implementing .iloc slicing in a custom function
Posted by: amjass12 - Mar-01-2020, 12:51 PM - Forum: Data Science - Replies (2)

Hello all,

I am stuck with the implementation of slicing dataframes within a custom function. I have looked on the internet and cannot find anythi..... More

Print this item

  Simple randomised AI (NOT ai learning)
Posted by: noodlespinbot - Mar-01-2020, 10:07 AM - Forum: Code sharing - No Replies

I made a simple AI with randomised movement. It will stay away from the edges of the screen.


[python]
import pygame
import random


pygame.i..... More

Print this item

  Tkinter help (color)
Posted by: Florent - Mar-01-2020, 09:52 AM - Forum: GUI - Replies (2)

Hi,
Thanks to Tkinter, I want to make a green rectangle but even I write " fill='green2' ", my rectangle still black.

Extract of my code :
[pyt..... More

Print this item

  How to use list of symbols for sympy calculation in python?
Posted by: tanmaybhise - Mar-01-2020, 08:14 AM - Forum: Data Science - Replies (1)

Here is my simple code to store string elements ['a','b'] in a list L as sympy symbols. As output, I have new list L with two Symbols [a,b] in it. But..... More

Print this item

  Selenium Random Elements Id and class
Posted by: AgileAVS - Mar-01-2020, 06:06 AM - Forum: Web Scraping & Web Development - Replies (1)

I have been trying to extract data using selenium from a website that I have an id:
https://login.systemxlite.com[url=https://python-forum.io/thread-24720.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577395
  Tutorial Requ... 500811
  Web Scraping ... 441045
  Newbie with P... 385100
  New Users Int... 369632
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
hoki1881 Today
stephaniehendrix Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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