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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
1 hour ago
» Replies: 3
» Views: 99
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
1 hour ago
» Replies: 2
» Views: 70
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
5 hours ago
» Replies: 6
» Views: 3,177
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 243
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 128
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 90
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,525
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 174
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 81
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,147

 
  Plots issue
Posted by: shane1236 - Aug-06-2019, 07:10 AM - Forum: Data Science - Replies (1)

I'm plotting the few figures however, unable to plot below is my code. Kindly guide me.
#!/usr/bin/env python3


[python]import matplotlib.pyplot..... More

Print this item

  Appending data into a file in tab delimited format
Posted by: metro17 - Aug-06-2019, 06:46 AM - Forum: General Coding Help - Replies (1)

import datetime
from datetime import datetime
n = 5
while n > 0:
id = input("Please enter your ID: ")
file = open("C:\\Users\\abc\\def\\"..... More

Print this item

  import numpy in sub-files
Posted by: paul18fr - Aug-06-2019, 06:26 AM - Forum: Data Science - Replies (1)

Hi all

This question is (very) basic but I haven't found the answer so far: I'm calling functions from another files, using all Numpy for among oth..... More

Print this item

  random two-word domain name generator
Posted by: rootVIII - Aug-06-2019, 03:15 AM - Forum: Code sharing - No Replies

Here is the repo if you are bored and/or interested: domain_gen

I used the Godaddy API in order t..... More

Print this item

  Ratiobutton default value in a function
Posted by: cpssunnychan - Aug-06-2019, 03:05 AM - Forum: GUI - Replies (1)

I want to add a radiobutton that have a default value on my gui (switching between 'digital' and 'analog'). Therefore, I added the following lines

[p..... More

Print this item

  Rule 110 Automata
Posted by: headkase - Aug-05-2019, 11:19 PM - Forum: Code sharing - Replies (2)

[python]"""
Rule 110 Automata
-----------------
Rules:
current pattern 111 110 101 100 011 010 001 000
new cell 0 1 1 0 1 1 ..... More

Print this item

  Code Clean-up and Maya/Python Slicing issues
Posted by: mvvthology - Aug-05-2019, 10:07 PM - Forum: General Coding Help - Replies (1)

Hello. First time posting in a forum and first time independently coding something, so if this is not the correct place please let me know.

I am c..... More

Print this item

  Modifying Class values
Posted by: Tridium - Aug-05-2019, 09:23 PM - Forum: Game Development - Replies (2)

Hello, again...

You guys recently replied to my post: https://python-forum.io/Thread-Modifyin[url=https://python-forum.io/thread-20338.html]..... More

Print this item

  How to fit a 2D histogram like in ROOT?
Posted by: Zandar - Aug-05-2019, 07:35 PM - Forum: Data Science - Replies (2)

Hey, all! I'm relatively new to Python; been working in ROOT mainly for HEP stuff, but I'm still coming up in my coding skills. I've been trying to tr..... More

Print this item

  How do I get rid of the HTML tags in my output?
Posted by: glittergirl - Aug-05-2019, 07:21 PM - Forum: Web Scraping & Web Development - Replies (1)

How do I remove HTML tags from the following code? This is what I've tried:

[code]
import collections
import itertools
import sys
import csv
i..... More

Print this item

  Comparing three functions and plotting specific regions
Posted by: japrap - Aug-05-2019, 05:49 PM - Forum: Data Science - Replies (2)

Hi guys,

Assume that we have the following functions:
[python]
f_1 = ((x[2]/(5+x[1]))**((x[1]+5)/4))
f_2 = (5+x[1]*((x[2]-5)/x[1])**((x[..... More

Print this item

  How do I extract specific lines from HTML files before and after a word?
Posted by: glittergirl - Aug-05-2019, 05:45 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to extract the 10 lines before and after the word "apple" from a directory (with subdirectories) full of HTML files. I want to print out t..... More

Print this item

  5th August To 11th August 2019
Posted by: Yoriz - Aug-05-2019, 04:59 PM - Forum: Weekly Top Picks - Replies (2)

The purpose of this thread is to compile a list of posts made between Mon 29th July To Sun 4th August that are well established posts to be nominated ..... More

Print this item

  How to convert different timestamp formats?
Posted by: python_newbie09 - Aug-05-2019, 01:55 PM - Forum: General Coding Help - Replies (12)

I have timestamp values of different format. For one format, I used the function below and it worked. The original timestamp value is this format: 735..... More

Print this item

  IDLE not responding (Mac)
Posted by: Selinal - Aug-05-2019, 01:30 PM - Forum: General Coding Help - Replies (1)

Hi guys!

As a newbie in Python and coding in general, I have been having the same problem with IDLE (Python3.7.4 on MacOS Mojave 10.14.5). The wind..... More

Print this item

  [python][tkinter][pandas]
Posted by: NEL - Aug-05-2019, 12:16 PM - Forum: GUI - No Replies

Hi guys. I am finance professional who uses python in backend. Now I need to display my analysis in Tkinetr and I faced with the following problem.
..... More

Print this item

  Split pyscaffold project into packages locally
Posted by: mucrom - Aug-05-2019, 12:07 PM - Forum: General Coding Help - No Replies

Hello,

I'm new to python, more into devops, need to split our project created with pyscaffold https://pypi.org/project/PyScaffold/ into packages th..... More

Print this item

  How to populate a treeview on a GUI with a dictionary
Posted by: mart79 - Aug-05-2019, 10:47 AM - Forum: GUI - Replies (1)

I have a treeview on my GUI called 'treeView'.
I have a dictionary which contains the following:

[python]{"Pipe 1": {'1.Name': 'ABC', '2.Outside d..... More

Print this item

  Code in Periscope does not work
Posted by: switchgirl - Aug-05-2019, 10:24 AM - Forum: General Coding Help - Replies (1)

Hi all,

Am trying to modify a table wrapping the text in the cells of one of the columns with the following code in Periscope Data, but it does no..... More

Print this item

  Problem how to click a button inside a group box?
Posted by: mart79 - Aug-05-2019, 08:08 AM - Forum: GUI - Replies (2)

I have a button inside a groupbox which in turn is inside a larger group box.
How do I run a function by clicking the button inside the groupbox?

..... More

Print this item

  [python][tkinter]
Posted by: NEL - Aug-05-2019, 07:35 AM - Forum: GUI - Replies (2)

Hi guys.

I created Notebook in tkinter and put there graph and table. My graph has grey area around it and I cannot remove that extra space. This ..... More

Print this item

  Is there any way to transfer charts generated from excel to powerpoint?
Posted by: zcabaaf - Aug-05-2019, 05:48 AM - Forum: General Coding Help - Replies (1)

I modified some code that i found online which uses pandas and xlsxwriter to read an excel sheet and generate a chart. Right now it inserts the genera..... More

Print this item

  Trying to make a simple pong game.
Posted by: kevindadmun - Aug-05-2019, 05:36 AM - Forum: Game Development - Replies (1)

I wanted to try to make a simple pong game so far it looks good. but i keep getting an error first here is the code. the error that i am getting is (b..... More

Print this item

  upload big file in Django with process bar and i get error : MemoryError
Posted by: ma_norouzifar - Aug-05-2019, 04:38 AM - Forum: Web Scraping & Web Development - Replies (3)

i create a web page in Django for upload big file (any file) with process bar

i used IIS and django version 2.2.2
views.py :
[python]
def upload..... More

Print this item

  scoring issues in pong
Posted by: wildbill - Aug-05-2019, 01:29 AM - Forum: General Coding Help - Replies (1)

I have tinkered with this for too long every time I run the code it doesn't update the value of my variables that control score. any help is much appr..... More

Print this item

  Pycharm Cannot Find Pygame Module
Posted by: Myang123 - Aug-05-2019, 01:28 AM - Forum: General Coding Help - Replies (2)

I am currently having issues in the Pycharm environment regarding a possible linkage issue with Pygame. Everytime I try to import Pygame the environme..... More

Print this item

  How do I install apps from google play store? using python + selenium..
Posted by: mongo - Aug-05-2019, 12:41 AM - Forum: General Coding Help - No Replies

I am a complete python newbie, How do I install apps from google play store? using python + selenium.. using different proxies and different IMEI (Int..... More

Print this item

  pyqtdeploy
Posted by: Alfalfa - Aug-04-2019, 09:49 PM - Forum: GUI - No Replies

I did not try it yet, but pyqtdeploy seems like a good way to create executables for Py..... More

Print this item

  Can't find a proble here
Posted by: ofir_l - Aug-04-2019, 08:23 PM - Forum: General Coding Help - Replies (2)

[python]def ex10():
mark1 = int(input("Insert math score"))
mark2 = int(input("Insert Computer Science score"))
mark3 = int(in..... More

Print this item

  Dictionary comprehension Question
Posted by: Ananth - Aug-04-2019, 05:26 PM - Forum: News and Discussions - Replies (1)

[b][font=Lucida Sans Unicode, Lucida Grande, sans-serif]I want to count the number of times a word occurred in a paragraph, say I have 2D list.
If I..... More

Print this item

  Converting set of tuples to set of 2D numpy arrays
Posted by: ThemePark - Aug-04-2019, 05:07 PM - Forum: Data Science - No Replies

I have coded a function that returns a set of tuples, each tuple being of size 6, and assigned it to a var named tmp. Now I need to convert each tuple..... More

Print this item

  fsolve
Posted by: giovanna - Aug-04-2019, 03:09 PM - Forum: Homework - Replies (1)

Could someone help me with the formulas in point 2 and 3? I've already written the matrices.
And I know already the formulas of Fnew and Q but I don'..... More

Print this item

  Setting maximum value of Range() in For loop
Posted by: pmt - Aug-04-2019, 01:17 PM - Forum: General Coding Help - Replies (4)

Hello all, I am trying to use range() and for loop function to change the dictionary keys and values.
Expected output result is to create the keys and..... More

Print this item

  Help on String variable
Posted by: ashishstats - Aug-04-2019, 11:19 AM - Forum: General Coding Help - Replies (3)

Hi everyone

I am new to learn python but have experience in dealing data management and data analysis in Stata for last four years. While learning ..... More

Print this item

  Unable to access javaScript generated data with selenium and headless FireFox.
Posted by: pjn4 - Aug-04-2019, 11:10 AM - Forum: Web Scraping & Web Development - No Replies

There is a table that is being rendered by javaScript on the page. I would like to retrieve that data in my python code. Below I have include
1. Py..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 1 hour ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 1 hour ago Bummibaer Bummibaer News and Disc...
  best way to learn python 5 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579360
  Tutorial Requ... 512313
  Web Scraping ... 442277
  Newbie with P... 386330
  New Users Int... 380155
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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