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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

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

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
5 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
5 hours ago
» Replies: 2
» Views: 80
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
9 hours ago
» Replies: 6
» Views: 3,182
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 249
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 134
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 94
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,526
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 84
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,157

 
  Split the list and obtain a single value
Posted by: Gururaj - Jul-11-2019, 10:48 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am gururaj deshpande (new user), i started using python recently for my college project purpose. My query is regarding SQL query par..... More

Print this item

  More recent package/library for difflib?
Posted by: twinpiques - Jul-11-2019, 09:36 PM - Forum: Data Science - Replies (2)

Hello. I was going to install the difflib package, so I went to get more information about it from PyPi.org. However, it no longer exists, apparentl..... More

Print this item

  inserting data to mysql with python
Posted by: justin_py - Jul-11-2019, 09:31 PM - Forum: General Coding Help - Replies (1)

Hello,

Would anyone be able to help me out with the python code. I have been trying to write a code to read a value from .csv file and insert it in..... More

Print this item

  More Python Embedding Trouble
Posted by: jibarra - Jul-11-2019, 07:15 PM - Forum: General Coding Help - Replies (3)

Shy
I'm trying to run a basic C/Python API, I am using Python3.6
https://docs.python.org/3.6/extending/em...h-level-em..... More

Print this item

  Invalid archive error when attempting to install dash bootstrap components
Posted by: meaydemi - Jul-11-2019, 05:49 PM - Forum: General Coding Help - No Replies

Hello,

When I attempt to use Anaconda prompt to install dash bootstrap components, I am eventually met with this error:

InvalidArchiveError("Er..... More

Print this item

  Anyone know what happened to pypi-org stats page?
Posted by: Crontab - Jul-11-2019, 05:25 PM - Forum: Bar - Replies (4)

Hi all,

The pypi-org stats page used to work as recently as April 2019, but stopped sometime in May. The page no..... More

Print this item

  Grouping Candidates with same name
Posted by: coolperson - Jul-11-2019, 05:11 PM - Forum: Homework - Replies (4)

I am looking for a python program solution to this challenge:

Given a list of candidate demographics for numerous candidates, we want to be ..... More

Print this item

  Pyinstaller exe file permissions
Posted by: Rainbow_Crash - Jul-11-2019, 03:26 PM - Forum: General Coding Help - Replies (1)

Hello,

First post so I hope it is ok.

I have written a Python program that connects to a REST API, reads a bunch of data and then saves it to a ..... More

Print this item

  "I'm Feeling Lucky" script problem (again)
Posted by: tab_lo_lo - Jul-11-2019, 03:21 PM - Forum: Web Scraping & Web Development - Replies (7)

I didn't get any replies to the other related thread; and, because one other person in that thread had the same problem as me with no answers I though..... More

Print this item

  How to replace matching rows
Posted by: SriMekala - Jul-11-2019, 02:35 PM - Forum: General Coding Help - Replies (2)

Hi,
I have below DataFrame, I want to replace if row value contains 'pass' with '0'.

[python]import pandas as pd

df=pd.DataFrame({'Name':['NHAY..... More

Print this item

  Optimizing a code
Posted by: Amniote - Jul-11-2019, 02:11 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I create an algorithm that will give me the path of the shortest interactions between 2 proteins, I explain:

I have a first file..... More

Print this item

  Use of %%SAS
Posted by: pmelod - Jul-11-2019, 01:43 PM - Forum: General Coding Help - Replies (1)

I would to use %%SAS to execute SAS code in Python but I receive only this message: "this shouldn't happen".
I don't understand what I wrong.
The co..... More

Print this item

  install Pyserial
Posted by: neeheng - Jul-11-2019, 01:27 PM - Forum: General Coding Help - Replies (2)

I using Python 3.x , and trying using difference code to download / install pyserial. but still fail to install it.

[python]
pip install pyserial..... More

Print this item

  Change linenumber and filename printed in exceptions like #line in C
Posted by: kryptomatrix - Jul-11-2019, 01:10 PM - Forum: General Coding Help - Replies (2)

Hi,
As you might know, there is the #line command in the C-preprocessor:

[python]#include <stdio.h>
#line 20 "abc"
int main() {
printf("%i ..... More

Print this item

  Changing elements of a list to match another list
Posted by: rockproper - Jul-11-2019, 12:56 PM - Forum: General Coding Help - Replies (2)

I am trying to iterate through a list of list and increase the first element in each sublist until it matches an integer on another list...

[python]l..... More

Print this item

  Groupby in pandas with conditional - add and subtract
Posted by: rregorr - Jul-11-2019, 12:56 PM - Forum: Data Science - Replies (2)

I have a dataframe with 4 columns "Identificação Única", "Nome", "Rubrica" and "Valor" and I would like to groupby the column "Identificação Única" e ..... More

Print this item

  python -m venv VS virtualenv
Posted by: kazi380 - Jul-11-2019, 12:00 PM - Forum: General Coding Help - Replies (4)

Hi all,

Can someone explain to me why Apache24 server is able to host my Python-Flask (test) web application, when the Python virtual environment i..... More

Print this item

  Is there a more effecient way to do this ? File Names
Posted by: sumncguy - Jul-11-2019, 11:35 AM - Forum: General Coding Help - Replies (2)

I often need to loop through a list of logs and parse them.
I like to use, for instance, an ip and hostname as designations for files creation. Its..... More

Print this item

  installation directory of modules in python3.7
Posted by: srm - Jul-11-2019, 11:14 AM - Forum: General Coding Help - Replies (2)

when we install numpy or any other packages with pip command on windows,
where exactly the numpy files are getting stored in path...
how do we loca..... More

Print this item

  Closure function
Posted by: Uchikago - Jul-11-2019, 09:06 AM - Forum: General Coding Help - Replies (3)

Closure function doesn't make sense:
[python]def make_multiplier_of(n):
def multiplier(x):
return x * n
return multiplier
times3 = ma..... More

Print this item

  Type error: dump() missing 1 required positional argument: fp
Posted by: jaycuff13 - Jul-11-2019, 08:36 AM - Forum: General Coding Help - Replies (2)

Hi, I am trying to create a json file that stores my users email for subscription purposes. I get an error that says, 'Type error: dump() missing 1 re..... More

Print this item

  Get trunk port
Posted by: Remiix93 - Jul-11-2019, 07:29 AM - Forum: Networking - Replies (1)

Hi, I am creating a code to creat vlan and find the trunk port on a Avaya switch.
So i am wondering how do i get only the trunk ports and adds to get..... More

Print this item

  Cyclic reference
Posted by: Uchikago - Jul-11-2019, 07:17 AM - Forum: General Coding Help - Replies (2)

Hi, today i came across this code:

#test1.py 
x=1
def change(): 
    import test1 
    test1.x=2 
change() 
print(x)
output..... More

Print this item

  Learning indexing with python, pick dates
Posted by: dervast - Jul-11-2019, 06:23 AM - Forum: Data Science - Replies (1)

Hi all,
I have two data frames both contain time indexes with the same time period.
I want to pick start and end periods from the first data frame..... More

Print this item

  passing an argument to avoid a global
Posted by: Skaperen - Jul-11-2019, 06:21 AM - Forum: General Coding Help - Replies (9)

i have a sort key function that needs an int passed to it by the caller of sorted() that will effect how it sets up the key to be compared. i want to..... More

Print this item

  Dynamic function name
Posted by: bhojendra - Jul-11-2019, 06:07 AM - Forum: General Coding Help - Replies (5)

I have to use dynamic function name which is defined after some decorator:

@some_decorator
def dynamic():
  return 'somethin'
Some..... More

Print this item

  Questions about __name__
Posted by: SheeppOSU - Jul-11-2019, 05:25 AM - Forum: General Coding Help - Replies (3)

I was wondering why instead of just starting up the main function, if __name__ == '__main__' is used before starting the main functio..... More

Print this item

  How to capture Single Column from Web Html Table?
Posted by: ahmedwaqas92 - Jul-11-2019, 05:12 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

I am trying to get complete values of three distinct columns from an online HTML table that has 13 columns in total. I have parsed the Html ..... More

Print this item

  Sys module
Posted by: Uchikago - Jul-11-2019, 05:02 AM - Forum: General Coding Help - Replies (3)

can any body explain why this didn't work
[python]#test1.py
var=99
def glob3():
var=0
import sys
glob=sys.modules['test1']
glob..... More

Print this item

  Virtualenv and an infinitely spooling interpreter?
Posted by: eblade - Jul-11-2019, 01:21 AM - Forum: General Coding Help - Replies (3)

Hi,

I have just started trying to tentatively dip a toe into Python, and have hit a wall when it comes to getting a virtualenv to create, rather th..... More

Print this item

  tell exact difference between xlim() and xticks() function
Posted by: ift38375 - Jul-11-2019, 01:11 AM - Forum: Data Science - Replies (3)

I am confused in xlim() and xticks() function of Matplotlib.pyplot.
are both same or different ? Please explain with simple graph example..

Print this item

  Py4JJavaError: An error occurred while calling o22720.csv.
Posted by: twinpiques - Jul-11-2019, 12:41 AM - Forum: General Coding Help - No Replies

Hello. Any ideas what's going on here? Full disclosure...I am relatively new to Python/Spark programming.
[u]
I'm using the following code within [b]..... More

Print this item

  How to create an 'interpreter of assembler'
Posted by: Jaccobtw - Jul-10-2019, 11:34 PM - Forum: General Coding Help - Replies (2)

I’m doing an exercise which stores data in strings in a list. Each string contains a command. The list is meant to be interpreted in order of the stri..... More

Print this item

  Button in one class, methods in another one
Posted by: alan9979 - Jul-10-2019, 08:39 PM - Forum: GUI - Replies (4)

Hi, I spent 2 days trying to solve this little exercice, creating a face with button open or closing his mouth.
I do have 2 questions about this code..... More

Print this item

  8th to 14th July 2019
Posted by: Yoriz - Jul-10-2019, 08:18 PM - Forum: Weekly Top Picks - Replies (3)

The purpose of this thread is to compile a list of posts made between Mon 8th July To Sun 14th July that have well established posts to be nominated t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 5 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 5 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 9 hours ago dutch ichsanputr 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...
Most views
  The best Prog... 579370
  Tutorial Requ... 512359
  Web Scraping ... 442280
  Newbie with P... 386337
  New Users Int... 380278
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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