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,988
» Latest member: markwood955
» Forum threads: 38,736
» Forum posts: 175,579

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 41 Guest(s)
Bing, Applebot, Google, AOL, snippsat

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 2
» Views: 70
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
7 hours ago
» Replies: 0
» Views: 39
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,529
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 88
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 196
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,046
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 460
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,088
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,164
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 845

 
  Website with recommendation engine
Posted by: Bartthew - Jul-25-2019, 05:52 AM - Forum: Homework - Replies (1)

Hi all!
I have a homework in which I have to create recommendation engine. So I already started writing code with some basic stuff in it. But, I was ..... More

Print this item

  trying to learn f-strings - puzzled by format() protocol
Posted by: Skaperen - Jul-25-2019, 05:29 AM - Forum: News and Discussions - Replies (7)

the language reference section describing Formatted string literals says: "The result is then formatted using the format() protocol. The format specif..... More

Print this item

  Comparing Values Resulting from Function Outputs
Posted by: firebird - Jul-25-2019, 05:16 AM - Forum: Data Science - No Replies

Hello Everyone!
I have some functions both pulling data, stocks for one and indices for the other, from yahoo finance. The output of the function loo..... More

Print this item

  How to compile all relevant code and then execute the program
Posted by: Mocap - Jul-25-2019, 03:18 AM - Forum: News and Discussions - Replies (2)

I'm creating a program that will require using buttons to travel to different menus, but I'm not sure if I would put all of this code in one file or i..... More

Print this item

  Using tkinter in Spyder
Posted by: Mocap - Jul-25-2019, 02:45 AM - Forum: GUI - Replies (1)

tkinter isn't working on Spyder for some reason. do I have to uninstall it?

[python]import tkinter as tkr

tk = tkr.Tk()
canvas = tkr.Canvas(tk,..... More

Print this item

  Weird problem with reading from file and performing calculations
Posted by: pineapple999 - Jul-25-2019, 12:30 AM - Forum: Homework - Replies (1)

Here is the instructions:
The trustees of a small college are considering voting a pay raise for their faculty members. They want to grant a 7 perce..... More

Print this item

  Python Graphics Help With Entries
Posted by: BadenJaden - Jul-24-2019, 09:44 PM - Forum: General Coding Help - Replies (1)

Hi, I'm trying to make a flashcard maker and to start the flashcard making process I have an entry that I will check for text however when I use a whi..... More

Print this item

  Skip header
Posted by: python_bg1 - Jul-24-2019, 08:39 PM - Forum: General Coding Help - Replies (1)

I've the following test file that is read using the edit.py and loads into the table. I wanted to skip the header and not show up in the Output layout..... More

Print this item

  Help with pi2go
Posted by: ArrozDePato - Jul-24-2019, 08:06 PM - Forum: General Coding Help - Replies (1)

Hi

I'm relatively new to the forum and python in general. I am currently working on a pi2go project and would like to control a robot using a Ninte..... More

Print this item

  How to control frequency sampling rate my dial_tone through AJAX to flask server?
Posted by: Hadad - Jul-24-2019, 07:53 PM - Forum: General Coding Help - Replies (4)

I am trying to control the frequency sampling rate of my dial_tone python code through a AJAX for to flask server.

The problem is I don't have a co..... More

Print this item

  Problem writing a variable value to Excel
Posted by: Chuck_Norwich - Jul-24-2019, 06:16 PM - Forum: General Coding Help - Replies (1)

Hi,

creating an invoice program to write to Excel. Want to take the invoice number in C36, add 1 and write to C36 again and save so that next time ..... More

Print this item

  Install tensor flow for Python 2.7 in Windows 10
Posted by: ErnestTBass - Jul-24-2019, 05:59 PM - Forum: Data Science - Replies (4)

I have an Anaconda 3 setup in Windows 10. I have a lot of legacy code I inherited, and it is in Python 2.7.

I created a virtual environment using A..... More

Print this item

  Token and auth-token
Posted by: hshivaraj - Jul-24-2019, 04:30 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey all.
I have problem which i dont quite understand how to go about from here.
I use request library to sign-in to website and I believe im doing..... More

Print this item

  Problem: Once I cancel the process my program will start working!
Posted by: Hadad - Jul-24-2019, 04:09 PM - Forum: General Coding Help - No Replies

I am trying to control the frequency sampling rate of my dial_tone python code through a AJAX for to flask server. The problem is when I start runni..... More

Print this item

  [SOLVED ]ValueError: View function did not return a response
Posted by: Hadad - Jul-24-2019, 03:09 PM - Forum: General Coding Help - No Replies

I am getting the below error when I run my code. The story is, I am trying to control the frequency sampling rate of my dial_tone python code through ..... More

Print this item

  Plotly error - AttributeError: module 'plotly.plotly' has no attribute 'iplot'
Posted by: fernando_santos - Jul-24-2019, 02:35 PM - Forum: General Coding Help - No Replies

Hi all,

I am having problems to plot a simple example from plotly (https://plot.ly/python/v3/3d-surface-lighting/). The code that I used and the err..... More

Print this item

  reccomending, according to the selected listbox value
Posted by: umerselmani - Jul-24-2019, 01:22 PM - Forum: General Coding Help - Replies (1)

the code is a bit long, hope you understand it, i have this small app, where i have to implement data from 2 files, and then showing some of the value..... More

Print this item

  [supernoob2] Trying Numpy and THIS happened...
Posted by: sidon - Jul-24-2019, 12:44 PM - Forum: Homework - Replies (2)

I'm playing around with numpy trying to get an idea of what it can do, but I get an error and can't figure out what's happening for the sake of me:
..... More

Print this item

  Multiprocessing help
Posted by: adamG - Jul-24-2019, 12:14 PM - Forum: General Coding Help - No Replies

Hello,

I have found the following lines of code to compute the array mx by the repeated calling of the function fun.

[python]from..... More

Print this item

  Asyncio StreamReader read method doesn't respect timeout when using SSL
Posted by: dukadahake - Jul-24-2019, 11:55 AM - Forum: General Coding Help - No Replies

I'm making requests to SSL servers using asyncio's streams.
Here is an example method.

[python]async def make_request():
async with asyncio..... More

Print this item

  clearcase command issue
Posted by: mdalireza - Jul-24-2019, 11:23 AM - Forum: General Coding Help - No Replies

Hi,
I have been using the following command to find all files without a label. But it is not working. I am using python 2.6 in UNIX.

I am passing ..... More

Print this item

  predictive modelling
Posted by: beginner1 - Jul-24-2019, 11:06 AM - Forum: Data Science - Replies (2)

Hi,

new to python and looking for some useful really simple python machine learning tutorials/example python code for supply chain/logistics delive..... More

Print this item

  Unable to update or refresh label text in tkinter
Posted by: jenkins43 - Jul-24-2019, 10:11 AM - Forum: GUI - Replies (3)

In class Window2 I am trying to update the label text by taking the data from a variable which is showing the real-time data but I am not able to refr..... More

Print this item

  Convert text from an image to a text file
Posted by: Evil_Patrick - Jul-24-2019, 10:06 AM - Forum: Homework - Replies (5)

I want to convert this scanned image into a text file but I have no Idea Undecided

[align=center][Image: gcq2673.jpg][/..... More

Print this item

  [pygame] Improvement with code
Posted by: SheeppOSU - Jul-24-2019, 10:04 AM - Forum: Game Development - Replies (1)

There are no problems with my code but I wanted someone to skim through it and tell me if there is anything I should improve. The multiple function fr..... More

Print this item

  Button with Image Icon
Posted by: Friend - Jul-24-2019, 09:25 AM - Forum: GUI - Replies (2)

Hi again,

i am trying a simple gui, 2 buttons with an image as icon, in this exaple (banane, melone)...
if i press one of the button, the text wil..... More

Print this item

  how to move files to another folder
Posted by: agatte - Jul-24-2019, 08:46 AM - Forum: General Coding Help - Replies (1)

Hello,

I would like to move specific files (that have "*CT*" in filenames) from one folder to another new folder
I tried to do that with shutil b..... More

Print this item

  Find the centroids of all the stars in a fits image
Posted by: TaikiBessho - Jul-24-2019, 08:18 AM - Forum: Homework - Replies (2)

I have a fits image including multiple stars, for each of which I want to find the centroid.
Here is an example image file.

Image file(fits format..... More

Print this item

  How to find difference between two timestamp index
Posted by: python_newbie09 - Jul-24-2019, 07:54 AM - Forum: Data Science - Replies (3)

I have a dataframe with the date time as the index and I would like to know how to get the difference in days between the first time stamp and the las..... More

Print this item

  Creating Self Learning Sentiment Dictionary
Posted by: esanjaysaini - Jul-24-2019, 07:37 AM - Forum: Homework - Replies (1)

Hi Python lovers,

I am planning to build a self-learning dictionary of sentiment word with their sentiment label.

I am able to identify the sent..... More

Print this item

  How to update set of hash values until final hash value is found using the 5 hashes
Posted by: shakespeareeee - Jul-24-2019, 05:41 AM - Forum: Homework - Replies (1)

so I am trying to create a python program that will give me a final hash that has been provided for me Final Hash: 42EE53E049F4E104BF81A517C5ED52BE2D9..... More

Print this item

  First time poster...need help with a snippet
Posted by: globalcooldown - Jul-24-2019, 04:08 AM - Forum: Game Development - Replies (1)

I'm having a problem with a snippet of code for a game I decided to make. All this code snippet does is on player death it iterates through the item l..... More

Print this item

  export file and display cmd prompt same time
Posted by: jacklee26 - Jul-24-2019, 01:08 AM - Forum: General Coding Help - Replies (1)

Do anyone know how to export the log file? i run this script, it will run on the cmd prompt but i also wish to log on a file. Is there nay possible me..... More

Print this item

  Trying to clear a list automatically at certain times (guizero)
Posted by: reneejerden - Jul-23-2019, 09:02 PM - Forum: GUI - Replies (3)

Hello!

I'm a new coder and am trying to make guizero work for me. My intended program and what works:

- CSV files include the names and student..... More

Print this item

  Selenium fields containing a word
Posted by: graham23s - Jul-23-2019, 07:43 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi Guys,

I was wondering if it is possible using Selenium to interact with a field if it contains a word, for example:

<select id="field_10_mont..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 1 hour ago Tycho_2025 Pedroski55 General Codin...
  Weird failure in Selenium 7 hours ago glestwid glestwid 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... 577470
  Tutorial Requ... 501287
  Web Scraping ... 441101
  Newbie with P... 385163
  New Users Int... 369875
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday
chikkamagalur Yesterday
Costa Yesterday

User Panel Messages

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