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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,588

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 31 Guest(s)
Applebot, Bing, Google, AOL

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
5 hours ago
» Replies: 1
» Views: 1,811
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
5 hours ago
» Replies: 3
» Views: 1,114
real community
Forum: News and Discussions
Last Post: Biks
5 hours ago
» Replies: 4
» Views: 3,064
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
7 hours ago
» Replies: 5
» Views: 169
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 4
» Views: 140
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 89
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,556
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 251
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,063
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 482

 
  Can read files in command prompt but not IDE
Posted by: Exsul - Sep-12-2019, 11:39 PM - Forum: General Coding Help - Replies (2)

Why does writing files work in both the command prompt and PyCharm (IDE)...

a = open("workfile.txt", "w")

a.close()
but read..... More

Print this item

  rounding floats to a number of bits
Posted by: Skaperen - Sep-12-2019, 11:13 PM - Forum: General Coding Help - Replies (2)

the round() function works on rounding to a number of decimal digits. is there a way to round a float to a number of bits?

Print this item

  code works at command line but not in .py
Posted by: ridgerunnersjw - Sep-12-2019, 10:58 PM - Forum: General Coding Help - Replies (4)

Good evening....
Can someone please tell me what I am doing wrong....I test this out on the CLI and it seems to work yet when I have it in my .py scr..... More

Print this item

  My file was empty at once
Posted by: smnfouladi - Sep-12-2019, 09:11 PM - Forum: General Coding Help - Replies (4)

hi

i work by pytho3.6
I was writing code that turned off my laptop.When I turned it on, all my code was cleared and my file was empty.
Still my f..... More

Print this item

  Copy same doubled matched words
Posted by: kozaizsvemira - Sep-12-2019, 05:31 PM - Forum: General Coding Help - Replies (2)

I've been trying to figure this one out, but all I could find is people having problem with duplication instead of adding it as a feature.
I have th..... More

Print this item

  for loops
Posted by: metulburr - Sep-12-2019, 04:57 PM - Forum: Fundamentals - Replies (1)

Basics

The for loop is a generic sequence iterator in Python: it can step through the items in any orde..... More

Print this item

  Distance between two locations when their latitude and longitudes are given
Posted by: dcardonaa - Sep-12-2019, 04:56 PM - Forum: Homework - Replies (4)

Hello! I'm trying to run this program and it works until Ellip_earth_proj_plane function.

[python]print('This is a program to find distance betwee..... More

Print this item

  Need explain about the code
Posted by: ap111 - Sep-12-2019, 02:52 PM - Forum: General Coding Help - Replies (2)

i worte this code:

[python]import time

def search_lst(L, x):
mone = 0
for i in range(len(L)-1):
if x == L[i]:
re..... More

Print this item

  looking for for loop thread
Posted by: metulburr - Sep-12-2019, 11:54 AM - Forum: Board - Replies (10)

I was gong to write up a for/while loop tutorial because we actually dont have one on here. I was going to link to key points of things that already h..... More

Print this item

  Data mining code help
Posted by: oog70 - Sep-12-2019, 09:34 AM - Forum: Homework - Replies (1)

Dear,

for an assignment we need to data mine some data from an excel sheet provided. Also we got some code provided by our professor.
Me and my t..... More

Print this item

  Python for finance
Posted by: Not_skilled_at_all - Sep-12-2019, 09:27 AM - Forum: Homework - Replies (11)

Hei, after several tries, I haven't managed to find the answer, or run my code.

My problem is to find a specific interest rate for an annual annuit..... More

Print this item

  nested for loop dilemma 2
Posted by: YoungGrassHopper - Sep-12-2019, 08:55 AM - Forum: General Coding Help - Replies (12)

Hey guys.

So what I have today is another nested loop issue.
Program needs to ask a user for a number and save as variable (num)
I then need to deter..... More

Print this item

  Keras. ModuleNotFoundError: No module named 'error'
Posted by: agatte - Sep-12-2019, 08:55 AM - Forum: Data Science - Replies (1)

Hello I am trying to run a script and I am getting error like this:
My set up:
- Python 3.5
- Tensorflow 1.12.-foss-2018b-OpenBLAS-0.3.1


[err..... More

Print this item

  Python .exe
Posted by: Kundan - Sep-12-2019, 08:53 AM - Forum: General Coding Help - Replies (1)

How to create a Python executable(.exe) file in Netbeans IDE?

Print this item

  telnetlib timeout
Posted by: kerzol81 - Sep-12-2019, 08:38 AM - Forum: Networking - No Replies

Hi,

I made this test script, to connect to a telnet server, it works, if there is data to read, but if nor or the server is not available the scrip..... More

Print this item

  FileNotFoundError: No such file or no access
Posted by: agatte - Sep-12-2019, 07:53 AM - Forum: General Coding Help - Replies (2)

Hello,

I am begging in python. I compile the code of and I got the error like this:

[quote] File "C:\Users\krasona\PycharmProjects\Glioblastom..... More

Print this item

  Zeep lib, encrypt soap body
Posted by: miha1234 - Sep-12-2019, 07:52 AM - Forum: General Coding Help - No Replies

Hello

i am trying to use: https://python-zeep.readthedocs.io/en/master/wsse.html

Signing msg works fine:

[python]from zeep import Client
fro..... More

Print this item

  a stack of elifs and a try/except
Posted by: Skaperen - Sep-12-2019, 02:02 AM - Forum: General Coding Help - Replies (2)

while testing what a given string means by applying a few tests in a stack of elifs the next test is to see if giving it to a function will or will no..... More

Print this item

  Installing pip windows 10
Posted by: jcg36 - Sep-12-2019, 01:08 AM - Forum: General Coding Help - Replies (9)

For the life of me, I'm having the hardest time installing pip on my computer.

I have downloaded Python 3.7.4 to my windows 10 operating system. I..... More

Print this item

  a quick check for a pattern?
Posted by: Skaperen - Sep-12-2019, 12:52 AM - Forum: General Coding Help - Replies (3)

a string might fit the pattern of a window geometry like "700x400" or "700x400+100+100". what is a nice quick way to test if it does and get the numb..... More

Print this item

  Doesn't give me the payload of grouped emails when used IMAPClient.
Posted by: pyseeker - Sep-11-2019, 11:12 PM - Forum: Networking - No Replies

Hello,

I am trying to fetch the messages from our gmail inbox. So, there will be 1000s of messages sent to Inbox and are grouped for each 100 email..... More

Print this item

  RDPY Problem
Posted by: Whoamii - Sep-11-2019, 09:02 PM - Forum: General Coding Help - Replies (4)

Hello i am having issuse with rdpy module cuz there is no documenation how to use it!

I just wanna make a rdp server side script and connect with r..... More

Print this item

  material for OOP and efficient numrical programming
Posted by: paul18fr - Sep-11-2019, 08:36 PM - Forum: Data Science - No Replies

Hi All

I've ever used procedural programming so far, without (directly) codding any class i.e. using OOP (Object Oriented Programming); in other th..... More

Print this item

  bug in code
Posted by: kawtts59 - Sep-11-2019, 07:36 PM - Forum: Homework - Replies (1)

I get the error "NameError: name 'tkFileDialog' is not defined" in the following code.
If anybody can tell me why, it would be greatly appreciated.
..... More

Print this item

  how to join 2 iterators
Posted by: Skaperen - Sep-11-2019, 07:14 PM - Forum: General Coding Help - Replies (2)

you can join 2 lists with the + operator. but now we are getting iterators where we once got lists. usually they are effectively the same. but the ..... More

Print this item

  nested for loop dilemma
Posted by: YoungGrassHopper - Sep-11-2019, 04:36 PM - Forum: General Coding Help - Replies (9)

Hey guys, so I have been doing some basic tasks on while loops for loops which I completed with some help here and there and I mostly grasped it witho..... More

Print this item

  Automatic Focus On Output To Integrated Terminal of VS-Code
Posted by: adt - Sep-11-2019, 04:28 PM - Forum: News and Discussions - No Replies

It is seen that on code execution via code runner (Ctrl+Alt+N), shifting of focus from code editor to integrated terminal does take place, provided pr..... More

Print this item

  run into issues while configuring visual-studio code on a win 7 machine.
Posted by: apollo - Sep-11-2019, 03:13 PM - Forum: General Coding Help - Replies (3)

hello dear experts

run into issues while configuring visual-studio code on a win 7 machine.


[python]

Microsoft Windows [Version 6.1.7601]
Copyr..... More

Print this item

  Can't visualize maps using Gmaps
Posted by: mPlummers - Sep-11-2019, 02:38 PM - Forum: General Coding Help - No Replies

i'm trying to use the Gmaps library on Jupyter notebook. I can't display the generated map.

- Installation: i tried both `conda install -c conda-f..... More

Print this item

  How modify the DataFrame columns
Posted by: SriRajesh - Sep-11-2019, 01:40 PM - Forum: Data Science - Replies (2)

Hi,
I have below DataFrame,
I want to add in "0th" row if the columns are STD, the modify the "0th" row as the:
original cell value +"STD:JPEG:"
a..... More

Print this item

  Beginner problem, replace function with for loop
Posted by: Motley_Cow - Sep-11-2019, 01:29 PM - Forum: General Coding Help - Replies (9)

I am new to programming with python so be gentle Blush

I'm going through the Introduction to Python on If Statements and working on a general..... More

Print this item

  Paste Operation not working in Text Widget
Posted by: Code_Enthusiast - Sep-11-2019, 01:28 PM - Forum: GUI - Replies (1)

Good day, I'm new to programming with Tkinter and I'm working on a text editor.
I recently used a code posted online that creates a custom Text class..... More

Print this item

  Openpyxl, format color of cells (cols) based on condition.
Posted by: genderbee - Sep-11-2019, 01:05 PM - Forum: General Coding Help - No Replies

Hello,
I just need format cells based on condition like this.

[Image: ex.png]

So different colors for different va..... More

Print this item

  Excel Lookup
Posted by: riteshprakash - Sep-11-2019, 12:43 PM - Forum: General Coding Help - No Replies

I am new to Python.

I have to read some codes (from multiple columns) from one excel tab and do a lookup into another excel tab. After that I have..... More

Print this item

  removing spaces/tabs after used .strip()
Posted by: zarize - Sep-11-2019, 12:41 PM - Forum: General Coding Help - No Replies

hi guys,

how can i removes spaces/tabs in case like this? It supposed to be in 1 line
[Image: bVkcWF1.png]

It comes from 'div'..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 5 hours ago decuser Biks News and Disc...
  My goal to be hired worki... 5 hours ago GnomeSweetGnome Biks News and Disc...
  real community 5 hours ago decuser Biks News and Disc...
  print does not open conso... 7 hours ago Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... 9 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
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
Most views
  The best Prog... 577510
  Tutorial Requ... 501547
  Web Scraping ... 441116
  Newbie with P... 385166
  New Users Int... 370018
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
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday
DataAnalytics021 Yesterday

User Panel Messages

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