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,981
» Latest member: sloperun
» Forum threads: 38,732
» Forum posts: 175,564

Full Statistics

Online Users
There are currently 67 online users.
» 1 Member(s) | 62 Guest(s)
Bing, Google, AOL, AOL, sloperun

Latest Threads
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
3 hours ago
» Replies: 4
» Views: 1,973
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 399
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,031
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,087
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 760
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,063
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,509
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,082
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,540
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,424

 
  How do i turn my program into a .exe
Posted by: julio2000 - Feb-14-2020, 07:35 PM - Forum: General Coding Help - Replies (1)

Hey,
So I've created this program that I want to release to other people. But I would like to change it to a .exe, instead of a .py. Does someone kno..... More

Print this item

  Accessing method as function object
Posted by: ClassicalSoul - Feb-14-2020, 04:22 PM - Forum: General Coding Help - Replies (2)

Hi,

How do you access a class method as a function object (not a function call)? The context is that I would like to use the help() function on ran..... More

Print this item

  Escaping '$' in pymongo
Posted by: raulp2301 - Feb-14-2020, 03:48 PM - Forum: General Coding Help - No Replies

I am searching for a specific value in my mongo cursor. If it is found then i want to extract the substring after the search value

The below code w..... More

Print this item

  Python time
Posted by: SamAnw - Feb-14-2020, 03:37 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I need to create a program that converts an input like this one:

1m and 45s
10m,10s
32s, and 12h
76h
1s

Into an output li..... More

Print this item

  Clicking on element not triggering event in Selenium Python (Event Key is not in data
Posted by: dkaeloredo - Feb-14-2020, 03:18 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a problem of whenever i want to click on an button element it does not trigger the event. In my case I am trying to add an item to the cart. A ..... More

Print this item

  Python Type error!
Posted by: SamAnw - Feb-14-2020, 01:41 PM - Forum: General Coding Help - Replies (4)

Hello!

I've been working on this program and I don't know why, but there seems to be a problem with it...

[python]
txt = "Prob05.in.txt"
msg =..... More

Print this item

  got SyntaxError while building simple function
Posted by: zarize - Feb-14-2020, 10:06 AM - Forum: General Coding Help - Replies (2)

Hi guys,

How can i set up simple function to unpack a list?

i was trying to:

def list_to_string(x):
    x = *x
    return x
..... More

Print this item

  file tree recursion generator
Posted by: Skaperen - Feb-14-2020, 07:44 AM - Forum: Code sharing - Replies (7)

this is a generator (usable as an iterator) that generates individual file system object paths in the tree topped by the given apex path. i plan the ..... More

Print this item

  Please help! Akai APC20 midi controller script
Posted by: versusliveact - Feb-14-2020, 05:37 AM - Forum: General Coding Help - No Replies

Hi There!

I would like to change the remote script of my Akai APC 20 midi controller in Ableton ,I really rarely use the cue level,and it could cha..... More

Print this item

  Python time
Posted by: SamAnw - Feb-14-2020, 05:22 AM - Forum: Homework - Replies (1)

Hello

I have to write a python program that changes an input file like the following:

1 hour 20 minutes

30 minutes and 2 hours

into an out..... More

Print this item

  Python error
Posted by: SamAnw - Feb-14-2020, 04:59 AM - Forum: General Coding Help - Replies (1)

Hello everyone!

I've been working on this program:
[python]
txt = "Prob03.in.txt"
msg = open(txt, "r")
msg = msg.read()
n=int
countCase=1
fo..... More

Print this item

  How to capture an error message
Posted by: TheHacker707 - Feb-14-2020, 01:00 AM - Forum: General Coding Help - Replies (4)

Hello, I need a way to capture an error message in a variable. For example:
[python]
>>> print('2'+2)
Traceback (most recent call last):
File "<..... More

Print this item

  Other English forum on python website
Posted by: stullis - Feb-13-2020, 11:40 PM - Forum: Board - Replies (4)

So, what's up with the other English forum on the community page. Are we moving over there?

Print this item

  Replacing symbols by "
Posted by: Tiihu - Feb-13-2020, 08:34 PM - Forum: General Coding Help - Replies (1)

I created a project using Russian letters and it was working. Today I decided to add some new stuff and it started to print a w..... More

Print this item

  Utaw library
Posted by: Gribouillis - Feb-13-2020, 07:57 PM - Forum: News and Discussions - No Replies

Have a look at this very simple utaw library. It wraps the unittest assert... functions so that they can be ..... More

Print this item

  Need to identify sheet color in excel workbook
Posted by: chewy1418 - Feb-13-2020, 07:31 PM - Forum: General Coding Help - Replies (2)

Hi all,

I have a given excel workbook that has multiple sheets. Some of these sheets have a colored background to them. Unfortunately, I am having ..... More

Print this item

  How to get the data
Posted by: William369 - Feb-13-2020, 06:17 PM - Forum: General Coding Help - Replies (2)

Hi I am new to python and I installed the requirements then I ran the main.py file then what I should do to browsse the get the json data ? here is th..... More

Print this item

  How to define index column name using df.to_csv
Posted by: SriRajesh - Feb-13-2020, 03:45 PM - Forum: General Coding Help - No Replies

Hi,
I have dataframe, and I want to write to csv. But when write to csv, the first column name disaaper (which is Index)

Before write,
Index c1 c2
A ..... More

Print this item

  Converting SQL Code To Python Code Query
Posted by: eddywinch82 - Feb-13-2020, 03:43 PM - Forum: General Coding Help - Replies (13)

Hi there,

Is there any Python Utility available on the Internet, that can convert SQL Code, to Python Code ?

Here is the SQL Code, I would like ..... More

Print this item

  Is it mandatory to call superclass init inside the class init?
Posted by: psolar - Feb-13-2020, 03:22 PM - Forum: General Coding Help - Replies (3)

Hello all,

Given a class A and a class B inherited from A, is it mandatory to call A.__init__(self) from B __init__ or could be possible to call it ..... More

Print this item

  How to get row row index of matching row
Posted by: SriRajesh - Feb-13-2020, 02:35 PM - Forum: General Coding Help - No Replies

Hi,
I have dataframe,
df1:

Name  rank
A     na
B     na  
C     na
D     na
df2:
[python]Category names rank
std ..... More

Print this item

  Need help I’m new at this
Posted by: Pelaw - Feb-13-2020, 02:13 PM - Forum: General Coding Help - Replies (7)

I have a number generator app I’m building. When i get the return i get the numbers looking like this. [2, 3, 5, 6] how can i get only the numbers wit..... More

Print this item

  urllib.error.HTTPError: HTTP Error 404: Not Found
Posted by: ckkkkk - Feb-13-2020, 02:10 PM - Forum: Web Scraping & Web Development - Replies (4)

This is the first time i am using the Google API key and the code is suppose to open up the browser when there is a new video uploaded from the channe..... More

Print this item

  [split] AttributeError: 'str' object has no attribute 'read'
Posted by: laxmipython - Feb-13-2020, 01:14 PM - Forum: General Coding Help - Replies (2)

Hai everybody,
i write a code to open a txt file by input method but I am getting an error can any body help me.
this is the code

[python]import ..... More

Print this item

  Multiple lambda functions in zipped list not executing
Posted by: psolar - Feb-13-2020, 12:51 PM - Forum: General Coding Help - No Replies

I want to execute multiple functions that have different arguments when a condition is satisfied, but I never get any of them executed with the correc..... More

Print this item

  [split] help a brother am so new
Posted by: MohsinCoding - Feb-13-2020, 12:42 PM - Forum: General Coding Help - Replies (3)

Hi there,

I am new with Python and would like anyone to help me with the following code:

[python]fibLimit= eval(input('Enter how many Fibonacci ..... More

Print this item

  substring function to create new column
Posted by: Chandan - Feb-13-2020, 09:17 AM - Forum: Data Science - Replies (6)

Hi There,
I am new to python so please be kind to me.
Below is the data frame and the requirement:

[python]data = {'id': ['aa11bc', 'bb22cd', 'cc..... More

Print this item

  Updating the Conda environment
Posted by: tsgd84 - Feb-13-2020, 07:37 AM - Forum: News and Discussions - No Replies

I have a conda environment which has python 3.5. This conda environment includes the packages from conda as well as from pypi (pip wheels)
Now I woul..... More

Print this item

  Relating 2 Classes
Posted by: wew044 - Feb-13-2020, 06:33 AM - Forum: General Coding Help - Replies (2)

Hello everyone,

I have a robot class and a person class, I am trying to do the following:

1. find the person who is sitting
2. then use input f..... More

Print this item

  how to get some values from js on python console by python code
Posted by: vivekagrey - Feb-13-2020, 05:33 AM - Forum: General Coding Help - Replies (1)

i am executing js map api from my python script. I want to use a value from the js in my python code.Is there any way to get the value from variabe i..... More

Print this item

  Want to learn Python compilation and virtual machine
Posted by: IJB - Feb-13-2020, 05:05 AM - Forum: General Coding Help - Replies (3)

Hey there guys, hope everyone is well! I am really interested in learning how Python works under the hood with regards to compilation and the python ..... More

Print this item

  exception in side if clause
Posted by: sbabu - Feb-13-2020, 04:55 AM - Forum: Homework - Replies (6)

Hi,

I am trying to raise an exception if the no is not in tuple. Where do I include the exception. Tried different ways. Getting indentation error ..... More

Print this item

  flask issues with app structuring
Posted by: sidk23396 - Feb-12-2020, 08:53 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all,

I am new to this forum. I recently started working on my first flask application. I am having some issues with imports in my project. My pr..... More

Print this item

  Lime for regression interpretability
Posted by: Scott - Feb-12-2020, 08:09 PM - Forum: Data Science - Replies (5)

Hi everyone,

I am trying to pip install lime for regression interpretability but am getting the following error in Anaconda prompt:

ERROR: Could..... More

Print this item

  Maths and python: Compute stress level
Posted by: cheerful - Feb-12-2020, 07:37 PM - Forum: Homework - Replies (1)

Hi Expert,

I have a very though question to implement in python. It looks simple but hard. The question is as follow:

A student is preparing for..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Error: cannot mix str wit... 3 hours ago ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577428
  Tutorial Requ... 500905
  Web Scraping ... 441071
  Newbie with P... 385134
  New Users Int... 369673
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
sloperun Today
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday

User Panel Messages

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