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,994
» Latest member: hugomiguel
» Forum threads: 38,737
» Forum posts: 175,589

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 35 Guest(s)
Applebot, Google, Bing, AOL, Facebook, hugomiguel

Latest Threads
NEED HELP TO RECOVER SCAM...
Forum: General Coding Help
Last Post: hugomiguel
4 minutes ago
» Replies: 0
» Views: 2
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 1
» Views: 1,810
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 3
» Views: 1,111
real community
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 4
» Views: 3,063
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
5 hours ago
» Replies: 5
» Views: 158
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 4
» Views: 134
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 87
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,552
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 240
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,060

 
  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

  lib for user tchat with other user
Posted by: lateublegende - Oct-04-2019, 04:56 PM - Forum: Networking - Replies (1)

hey! I’m looking for a lib to send and receive messages with a server. I would have to be able to manage several groups of people who talk at the same..... More

Print this item

  delete rows with empty strings in Series
Posted by: ilcaa72 - Oct-04-2019, 04:54 PM - Forum: Data Science - Replies (1)

i have a series (column) from a DataFrame that contains empty strings, ''. i want to delete each element that is empty so this should only contain va..... More

Print this item

  VBA user learning Python
Posted by: codymonster - Oct-04-2019, 04:10 PM - Forum: News and Discussions - Replies (1)

Hey all..

I used VBA in excel really extensively in my work. Automating graphs and manipulating data in excel.
It's kinda where I started to unde..... More

Print this item

  error in installing Pystan
Posted by: sveto4ka - Oct-04-2019, 04:06 PM - Forum: General Coding Help - Replies (6)

Hi!
Please, help: I want to install Pystan (I need it to install fbprophet) I have Windows 10, Python2.7, Microsofr Visual C++ Compiler Package for P..... More

Print this item

  Recursions with nested lists
Posted by: sashiessay - Oct-04-2019, 03:38 PM - Forum: Homework - Replies (2)

I was able to write a function to recursively add the values within a nested list below:

[python]def add_tree(tree):
"""
Recursively comp..... More

Print this item

  Word Wrap Feature For Python Forum
Posted by: adt - Oct-04-2019, 03:10 PM - Forum: Board - Replies (9)

Am I missing some special setting or Word Wrap is not yet a feature for the posts displayed in this [font=Times New Roman, Times, serif][size=medium][..... More

Print this item

  Still playing with text files (Jose Portilla on Udemy)
Posted by: Drone4four - Oct-04-2019, 01:59 PM - Forum: General Coding Help - Replies (2)

In a previous thread titled, “Counting words in the last line of a file[[url=https://python-forum.io/thread-21553.html]..... More

Print this item

  Why no brackets
Posted by: kappicraig - Oct-04-2019, 01:46 PM - Forum: GUI - Replies (1)

Hi, just starting to learn Kivy. I'm following tutorials done by "Tech with Tim". Was wondering why there were no brackets on the window manager withi..... More

Print this item

  Running flask run produces error.
Posted by: Charles1 - Oct-04-2019, 10:06 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm following a tutorial on Flask development on Windows 10.
I installed virtual environment and install flask.

Then I exported this:
FLAS..... More

Print this item

  Ammo is random, but it shouldn't
Posted by: Piethon - Oct-04-2019, 09:52 AM - Forum: Game Development - Replies (5)

Hello.
I have a little problem in my game, that I am coding with pygame.
I've tried adding ammo, to my shurikans, that you can't spam them.
I've set ..... More

Print this item

  Python3 mental model
Posted by: saladism - Oct-04-2019, 09:12 AM - Forum: Tutorial Requests and Submissions - No Replies

Python 3 mental model

I am new to Python and have no computer science background. Even though there are lots of excellent resources and guid..... More

Print this item

  Inconsistency in Python programming language?
Posted by: newbieAuggie2019 - Oct-04-2019, 05:44 AM - Forum: General Coding Help - Replies (31)

Hi!

Well, this is a question that arose in some other threads that I was participating in, and I wanted to give it a bit more of a thought, and to ..... More

Print this item

  Just some Boolean values musings
Posted by: newbieAuggie2019 - Oct-04-2019, 04:34 AM - Forum: General Coding Help - Replies (2)

Hi!

[color=#ff0000][b]This is not a question, but just some musings of mine on Boolean values ... that maybe are useful to some other newbie..... More

Print this item

  Problem: touch file.py
Posted by: JohnnyCoffee - Oct-04-2019, 01:25 AM - Forum: Web Scraping & Web Development - Replies (3)

From the command line I can create a file using the syntax touch file.py without problems. Now when I try to run a script.py with just the syntax touc..... More

Print this item

  creating a variable in a method and using in another method
Posted by: ridgerunnersjw - Oct-04-2019, 12:33 AM - Forum: General Coding Help - Replies (5)

Good evening......
Can someone please tell me the correct way to create a variable within a method and then be able to re-use that variable internal ..... More

Print this item

  Trying to search excel for a value in row then format row
Posted by: curranjohn46 - Oct-03-2019, 10:00 PM - Forum: General Coding Help - Replies (5)

Hi,

I am using openpyxl to find and print values in a column of a spreadsheet. and then want to search for those values in a second spreadsheet, an..... More

Print this item

  while True: error
Posted by: 2wheelz4me - Oct-03-2019, 09:22 PM - Forum: General Coding Help - Replies (8)

I have the following code and getting a syntax error on the while True: statement on the 3rd from the last line. Everything else seems to be working ..... More

Print this item

  how to run a Python programm on a web server?
Posted by: gtlhbkkj - Oct-03-2019, 08:06 PM - Forum: Web Scraping & Web Development - Replies (2)

I have wrote a parcer and want to try it from a webserver.
I am paywing for a hosting at goneo.de. The hosting has a webserwer with Python and MySQL...... More

Print this item

  redeclared defined above without usage warning
Posted by: ryder5227 - Oct-03-2019, 06:09 PM - Forum: General Coding Help - No Replies

Here is the code. I use pycharm and I keep getting this warning.

[python]def current_actions(self: object) -> object:
if self.Enemies.is_alive..... More

Print this item

  16-bit Adder made from logic gates
Posted by: Iskuss - Oct-03-2019, 04:57 PM - Forum: Code sharing - Replies (2)

[python]def nandgate(a, b):
if a == 0 and b == 0:
return 1
if a == 1 and b == 0:
return 1
if a == 0 and b == 1:
return 1
if a == 1 an..... More

Print this item

  Alternate solutions to cipher problem?
Posted by: Mark17 - Oct-03-2019, 04:44 PM - Forum: General Coding Help - Replies (3)

I coded the following program to translate a string using a cipher dictionary:

[Python]
CIPHER_DICT = {'e': 'u', 'b': 's', 'k': 'x', 'u': 'q', 'y'..... More

Print this item

  Locks in Multithreading
Posted by: Chuonon - Oct-03-2019, 04:10 PM - Forum: General Coding Help - No Replies

Hello Pythoners,

I am having trouble with some multithreading.
My goal is it to read a given list and start a thread for each element of this list,..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP TO RECOVER SCAM... 4 minutes ago hugomiguel hugomiguel General Codin...
  Another app idea - intera... 3 hours ago decuser Biks News and Disc...
  My goal to be hired worki... 3 hours ago GnomeSweetGnome Biks News and Disc...
  real community 3 hours ago decuser Biks News and Disc...
  print does not open conso... 5 hours ago Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... 7 hours ago bimosora Pedroski55 General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 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
Most views
  The best Prog... 577506
  Tutorial Requ... 501530
  Web Scraping ... 441115
  Newbie with P... 385164
  New Users Int... 369998
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
hugomiguel Today
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday

User Panel Messages

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