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,992
» Latest member: maribita
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 44 Guest(s)
Applebot, Bing, Google, AOL, Facebook, maribita

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
3 hours ago
» Replies: 1
» Views: 69
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 2
» Views: 95
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,537
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 99
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 216
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,047
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 463
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,096
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,168
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 851

 
  How to print the map correctly
Posted by: janaki26794 - Aug-06-2019, 11:00 PM - Forum: General Coding Help - No Replies

I wanted to create an HTML file which would depict the map of the world.I have written the sample code as shown below:

[python]#Create a map object..... More

Print this item

  optimalization of code
Posted by: storzo - Aug-06-2019, 10:05 PM - Forum: GUI - Replies (5)

Hi guys can someone help me with optimalization of this code?
i got 5 chechk box (named Px) and 5 other (named Rx)
I wish: on begin all check box got ..... More

Print this item

  Default setting for custom name input characteristics?
Posted by: beardelune - Aug-06-2019, 08:36 PM - Forum: General Coding Help - Replies (2)

This is kind of a complicated question, but here goes. I'm trying to make a visual novel with RenPy that has a custom name input feature, and I want c..... More

Print this item

  me again...:)
Posted by: raymond2688 - Aug-06-2019, 07:52 PM - Forum: Homework - Replies (4)

ok for once this is not for homework but to make my output look better

[python] elif option == 3:
for item in FAQ:
print("..... More

Print this item

  Lab Assignment with Array's & Loops
Posted by: jonstryder - Aug-06-2019, 06:17 PM - Forum: Homework - Replies (14)

Well I'm at a loss on this one now, and of course it doesn't help that I'm not that good at python. I got a lot of good help with the last assignment..... More

Print this item

  socket.gaierror: [Errno 11001]
Posted by: Johnygo - Aug-06-2019, 05:45 PM - Forum: Networking - Replies (4)

Hello everyone. In my path to learning Python I want to use the code mentioned to telnet into 3 different switches with different IP addresses and add..... More

Print this item

  Rock Paper Scissor GAME
Posted by: inamullah9 - Aug-06-2019, 05:07 PM - Forum: Code sharing - Replies (3)

I learned basic python in 1 week and here is what i developed. It is a basic rock paper scissor game between user and computer. One who scores 5 point..... More

Print this item

  Offensive user titles?
Posted by: metulburr - Aug-06-2019, 03:16 PM - Forum: Board - Replies (14)

Who all feels that some user titles are offensive? Things like "Silly Frenchman", "Span..... More

Print this item

  Using a GUI Designer vs. hard coding
Posted by: 357mag - Aug-06-2019, 01:47 PM - Forum: GUI - Replies (9)

After looking at some videos it appears that these GUI Designers like Glade and FormBuilder are to be used outside of your Python IDE. I have Wing Pro..... More

Print this item

  creating new time series based on giving mean, standard deviation and skewness
Posted by: Staph - Aug-06-2019, 12:29 PM - Forum: Data Science - Replies (1)

I have a time series like

ts = [1,50,10,...,600]

I calculate the mean as

mean = 10

standard deviation = 100

skew = 5

I want to inc..... More

Print this item

  Underline title
Posted by: paul18fr - Aug-06-2019, 09:18 AM - Forum: General Coding Help - Replies (8)

All

I'm still trying to dinf the good synthax in order to underline the title; I tried Latex methode with $\underline{My Title}$ but it's not recog..... More

Print this item

  what is wrong with this code?
Posted by: markayala - Aug-06-2019, 07:50 AM - Forum: Web Scraping & Web Development - Replies (3)

Smile

I made a python script to take data from a file, visit a web site using the data in the request, and save a specific text returned from ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 3 hours ago glestwid Larz60+ General Codin...
  print does not open conso... 8 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577478
  Tutorial Requ... 501334
  Web Scraping ... 441104
  Newbie with P... 385163
  New Users Int... 369897
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday

User Panel Messages

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