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,296
» Latest member: nicos18
» Forum threads: 38,795
» Forum posts: 175,886

Full Statistics

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

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 1
» Views: 50
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 55
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 230
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 121
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 81
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,518
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 170
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,137
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,320

 
  Accessing Entry with get Function
Posted by: nexgenskydiver - Oct-06-2019, 10:22 PM - Forum: GUI - Replies (1)

Hello,
New to Python. Below is my code for a multipage GUI using tkinter. I have classes set up for my Frames and more through them with Buttons...... More

Print this item

  XPATH element does not change its value
Posted by: Martinelli - Oct-06-2019, 07:02 PM - Forum: General Coding Help - No Replies

Hi, all!

I am developing a robot that get into in a Website, do the logon and make somethings on that.

I put it in a loop using the for c..... More

Print this item

  Create a dictionary from a list
Posted by: klllmmm - Oct-06-2019, 04:26 PM - Forum: General Coding Help - Replies (3)

I have some data in a dictionary but its values are in a list. I want to create a dictionary from these values.

[python]data = {'data':[{'Info':100..... More

Print this item

  Change start date of stock web page
Posted by: petrov94 - Oct-06-2019, 03:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi I'm new with Python and I want to know how to interact with the web Page with BeautifulSoup and change the startdate of the financial data in this ..... More

Print this item

  Class for Vector
Posted by: no_named_nobody - Oct-06-2019, 02:16 PM - Forum: Homework - Replies (4)

[font=Arial, Helvetica, sans-serif]Hello! Angel
I am new in programming in python. I got a homework to create class MyVector,
- constructor wi..... More

Print this item

  How to use pool.map effectively?
Posted by: AlekseyPython - Oct-06-2019, 11:11 AM - Forum: General Coding Help - Replies (10)

Python 3.7.3

[python]if self.multiprocessing:
quantity_process = multiprocessing.cpu_count()
else:
quantity_process = 1

pool = mult..... More

Print this item

  Input while interation in a list
Posted by: doug2019 - Oct-06-2019, 07:57 AM - Forum: General Coding Help - Replies (6)

Hi! How do I code an while iteration and input its values ​​in a list? Example:
[python]count=0
while (count<5):
print(count)
count+1..... More

Print this item

  Problem Solving
Posted by: PistAchiYo - Oct-06-2019, 03:34 AM - Forum: News and Discussions - Replies (6)

What do you think about before writing code for anything? What's your process?I need some tips :)

Print this item

  How to convert "str" to "int"
Posted by: colt - Oct-06-2019, 01:57 AM - Forum: General Coding Help - Replies (12)

Hello I am currently reading a file in binary mode.

I do the reading with [python]with open (args.rom_path, 'rb') as file:
rom_bytes = file.read..... More

Print this item

  List sort - alphanumeric?
Posted by: papsphilip - Oct-05-2019, 08:55 PM - Forum: General Coding Help - Replies (2)

Hello,
i ve just started learning python and i have bumped into a problem when reading folder names from a directory. they are not sorted the same wa..... More

Print this item

  Chick if object exists.
Posted by: Martinelli - Oct-05-2019, 07:25 PM - Forum: General Coding Help - Replies (2)

Hi, everybody!

I did a robot that run procedures on a website. But, I face 04 page configurations, as follow:

[python]
nav.find_element_by_xpat..... More

Print this item

  While loop struggle
Posted by: joshp2709 - Oct-05-2019, 06:21 PM - Forum: General Coding Help - Replies (3)

How can I have a loop continue until a user presses the enter button

Print this item

  Turtle canvas background
Posted by: joshp2709 - Oct-05-2019, 05:07 PM - Forum: General Coding Help - Replies (1)

Is there a way to set a custom image as my turtle background on python

Print this item

  Breakdown CIDR with netaddr
Posted by: wfsteadman - Oct-05-2019, 04:26 PM - Forum: General Coding Help - Replies (1)

Was wondering if anyone out here has created an IP based subnet script that will take a CIDR address and then break it down into all the subnets betwe..... More

Print this item

  Python script modification
Posted by: rajannn - Oct-05-2019, 03:38 PM - Forum: General Coding Help - Replies (1)

Greetings

I had a python script written for me that downloads data from a website called punter.au.com which is an Australian site

The script works ..... More

Print this item

  Insert scrypt inside file.py ?
Posted by: JohnnyCoffee - Oct-05-2019, 02:59 PM - Forum: Web Scraping & Web Development - Replies (11)

Do I need to insert a python script every time I run (run.py) how do I insert a python script inside run.py?

Print this item

  Function assigned at a button in tkinter
Posted by: riccardoob - Oct-05-2019, 02:45 PM - Forum: General Coding Help - Replies (9)

[python]for y in range(0, pnumplayers):#third list of hands_inputs filled with fold button
self.hands_inputs[2].append(Button(self.window, text='..... More

Print this item

  How to perform preprocessing for hyperspectral image
Posted by: vokoyo - Oct-05-2019, 02:03 PM - Forum: Data Science - No Replies

[b]




Here I would like to apply the CNN and DNN for face recognition computing and later will compare that both of them which one is better or..... More


Attached Files

.py   My Python CNN.py (Size: 8.71 KB / Downloads: 0)
Print this item

  LXML
Posted by: mustfirst - Oct-05-2019, 01:27 PM - Forum: General Coding Help - Replies (1)

I installed BeautifulSoup and LXML. I'm running python in Windows CMD.

When I run the following I get an error. Anyone know what is going on and ho..... More

Print this item

  HTML to XML
Posted by: mustfirst - Oct-05-2019, 09:07 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert HTML to XML. Then load the XML into a database for data manipulation.
I researched and came to the conclusion that I can use Py..... More

Print this item

  Life counter not working
Posted by: joshp2709 - Oct-05-2019, 09:02 AM - Forum: General Coding Help - Replies (1)

So I'm trying to make hangman but the lives lost never go past 1, here's my code:


[python]import random
livesLost = 0
words=["forrest","donkey"..... More

Print this item

  try/except blocks
Posted by: newbieAuggie2019 - Oct-05-2019, 02:02 AM - Forum: General Coding Help - Replies (11)

Hi!

I'm trying (no pun intended! Big Grin ) to understand the try/except blocks. I'm using this program, that returns "Error: Invalid ar..... More

Print this item

  pyautogui screenshotting region relative to image found on screen
Posted by: Bmart6969 - Oct-05-2019, 12:02 AM - Forum: General Coding Help - Replies (3)

i am trying to manipulate a known region found by using the locate on screen feature then changing these points to select a region beside the found im..... More

Print this item

  Python Coding
Posted by: anh3phecan - Oct-04-2019, 11:04 PM - Forum: Homework - Replies (2)

Imagine if i have a date set like this
[python]dataset=[ ["ID","Title","Runtime","ReleaseDate","MPAARating","Genres","Cast1","Cast2","Cast3","Cas..... More

Print this item

  Installing the Visual Studio Code on Linux - how to do that!?
Posted by: apollo - Oct-04-2019, 10:47 PM - Forum: Bar - Replies (4)

dear community

the question of today: Installing the Visual Studio Code on Linux - how to do that!?

the well known open source code editor Visu..... More

Print this item

  Trying to color an excel row based on list
Posted by: curranjohn46 - Oct-04-2019, 10:25 PM - Forum: General Coding Help - Replies (2)

Hi,

The code below uses openpyxl and iterates through all rows and columns in a spreadsheet searching for a value in a list called subID. It then col..... More

Print this item

  what "return" means?
Posted by: PY_beginner - Oct-04-2019, 10:02 PM - Forum: General Coding Help - Replies (9)

def myfunc(n):
  return lambda a : a * n

mydoubler = myfunc(2)

print(mydoubler(11))

Print this item

  Listbox and Button not showing
Posted by: Linuxdesire - Oct-04-2019, 09:16 PM - Forum: GUI - Replies (2)

I am following a tutorial on YouTube. That person is using Python 3.7.2 and I am using 3.7.4. I am not getting the list box correctly portrayed and th..... More

Print this item

  Nested for loops
Posted by: d79danny - Oct-04-2019, 09:09 PM - Forum: General Coding Help - Replies (8)

Hey Py community,
Im very new to Python so I trying to learn by giving myself small projects at work. Here is a basic version of what I'm
trying to..... More

Print this item

  how to explain this function run?
Posted by: PY_beginner - Oct-04-2019, 08:39 PM - Forum: General Coding Help - Replies (3)

[python]
def tri_recursion(k):
if(k>0):
result = k+tri_recursion(k-1)
print(result)
else:
result = 0
return result

print("..... More

Print this item

  Converting to a list and sort
Posted by: tantony - Oct-04-2019, 07:37 PM - Forum: General Coding Help - Replies (6)

Sorry, I asked the wrong question on my earlier post Earlier Post. When I run ..... More

Print this item

  How to get valid error message while invoking REST API through Python
Posted by: gollupraveen - Oct-04-2019, 07:15 PM - Forum: General Coding Help - No Replies

Hi Experts,

I am new to python. Have written code to invoke REST API performing poST operation. I am getting 400 Bad Request ERROR. When I try runn..... More

Print this item

  Iterating an attribute table using Arcpy
Posted by: teflon - Oct-04-2019, 06:57 PM - Forum: General Coding Help - Replies (6)

I have 4 columns(ID_TRC, LENGTH, Categorie, Score) my code is supposed to iterate through the attribute table and for each value of ID_TRC, if the val..... More

Print this item

  As a new to Python & Hadoop I don't know where to start, I need your suggestion
Posted by: chanduporeddy - Oct-04-2019, 06:22 PM - Forum: Homework - Replies (1)

HI,
I have an assignment that needs to be submitted within a week of time.

[b]Implement the sorting algorithm.
Implement the searching algorithm...... More

Print this item

  convert integers to a string
Posted by: tantony - Oct-04-2019, 05:37 PM - Forum: General Coding Help - Replies (1)

[python]
def convert_ceiling(text):
split = text.split()
key = 'FEW', 'OVC', 'BKN', 'SCT'
counter = 0
for s in split:
co..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 1 hour ago Moltar1997 Pedroski55 General Codin...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ 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...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
Most views
  The best Prog... 579348
  Tutorial Requ... 512288
  Web Scraping ... 442232
  Newbie with P... 386326
  New Users Int... 380121
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday
Bummibaer Yesterday

User Panel Messages

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