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,414
» Latest member: aalexfracesoz1783
» Forum threads: 38,828
» Forum posts: 176,066

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 28 Guest(s)
Bing, AOL, Apple, Google

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: bowlofred
5 hours ago
» Replies: 2
» Views: 73
python re.finditer return...
Forum: General Coding Help
Last Post: arbiel
5 hours ago
» Replies: 6
» Views: 148
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
8 hours ago
» Replies: 14
» Views: 491
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Yesterday, 12:47 PM
» Replies: 12
» Views: 7,210
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Yesterday, 06:35 AM
» Replies: 4
» Views: 431
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 761
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,387
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 508
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,715
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 544

 
  Can Embedded Python run any shared library on Android ?
Posted by: sprotz - Nov-08-2020, 12:21 PM - Forum: General Coding Help - No Replies

As I have experienced, porting Python to Android is savagely difficult. However, there is a ready made Python interpreter on Android, along wit..... More

Print this item

  chatterbot utf-8 errors with mysql database
Posted by: isolatedastronaut - Nov-08-2020, 06:54 AM - Forum: General Coding Help - No Replies

Hi everyone. In the process to create a chatbot using chatterbot.
The issue is when trying to load a sql database for the training process.
This is ..... More

Print this item

  threading across imports
Posted by: Nickd12 - Nov-08-2020, 01:26 AM - Forum: General Coding Help - Replies (2)

so the problem i am having is that im trying to get my text from a main .py file and with txt being at the end of this line here t = threading.Thread(..... More

Print this item

Smile Import error with local file
Posted by: colt - Nov-08-2020, 01:17 AM - Forum: General Coding Help - Replies (1)

Hello. When I try to run a python file

python optimizer.py
it says
ImportError: No module named optimizers.PSO
..... More

Print this item

  About Random int
Posted by: MertH - Nov-08-2020, 12:23 AM - Forum: General Coding Help - Replies (2)

Hi guys,

i have input variable x and generated random variable a

i want to x*a < 250 with the highest x*a value

I am stuck with the highest x*a val..... More

Print this item

  Print user input into triangle
Posted by: djtjhokie - Nov-07-2020, 07:00 PM - Forum: Homework - Replies (1)

https://imgur.com/a/J04CGxV

https://imgur.com/a/9xmnoTR

What code ..... More

Print this item

  looking for confirmation
Posted by: M0kasha - Nov-07-2020, 06:20 PM - Forum: Web Scraping & Web Development - Replies (1)

hello everyone
iam new to python, started to learn it today
iam a network guy but i want to do something and i need anyone to confirm if i can do i..... More

Print this item

  os.path.join
Posted by: qmfoam - Nov-07-2020, 06:06 PM - Forum: General Coding Help - Replies (2)

This has me confused as to why it does not work:
[python]
import os

PARENT_DIR = '/Volumes/Sidekick/SEER/Trip'
SOURCE_DIR = '/data/source'

# ..... More

Print this item

  Solving a problem need help!
Posted by: totoandreev - Nov-07-2020, 05:45 PM - Forum: Homework - Replies (5)

Hi guys I would love to get some help on the following problem. :)

List Manipulator
Our player is having trouble with his friend list and some guy..... More

Print this item

  Error with non-ASCII character?
Posted by: giomach - Nov-07-2020, 05:45 PM - Forum: General Coding Help - Replies (10)

Using 3.9.0 under Windows 10. I get an error with "pip install pyinstaller" as below (my username REDACTED in this excerpt):
----
C:\Users\REDACTED..... More

Print this item

Exclamation Quick Help - Deploy Flask App on Google Cloud
Posted by: Madoo - Nov-07-2020, 01:43 PM - Forum: Web Scraping & Web Development - No Replies

I have already developed a flask website using mongodb in my windows 10 pc. And it's running well using http://127.0.0.1:5000. This app mainly using s..... More

Print this item

  Redirect upon submit button linking to send_file
Posted by: Jamesunsworth - Nov-07-2020, 01:31 PM - Forum: Code sharing - Replies (4)

Hi guys,

I've been researching and coding til my fingers have fallen off on this one!

I'm currently building a youtube video downloader simply..... More

Print this item

  merge 2 dataset
Posted by: dav96 - Nov-07-2020, 11:56 AM - Forum: General Coding Help - No Replies

Hi guys,
I have dataset1 that define the Trip Start Timestamp of each taxi trip made in Chicago in 2020
dataset1 has 2 columns:

Trip ID Tri..... More

Print this item

  Problem processing items in list
Posted by: PythonNewbee - Nov-07-2020, 11:16 AM - Forum: Data Science - Replies (2)

I'm trying to write code that analyzes tickets logged with our IT service desk.
I'm trying to find the reasons users log incidents. To do this I have..... More

Print this item

  computer science coursework, read the text please and tell me if theres any specifics
Posted by: sixcray - Nov-07-2020, 10:05 AM - Forum: Homework - Replies (4)

I've been given this plan telling me that I need to design a computer program for counting coins, I am given a scenario which is telling me that there..... More

Print this item

  sharing variables between two processes
Posted by: Kiyoshi767 - Nov-07-2020, 12:34 AM - Forum: General Coding Help - Replies (1)

Hi, I have a bit of code that I need to run in parallel to another code. In this code I need to update two variables so both processes can read and up..... More

Print this item

  NameError: name 'os' is not defined, & load_files(sys.argv[1])
Posted by: AryaIC - Nov-07-2020, 12:10 AM - Forum: Homework - Replies (3)

Please help and tell me what's missing and wrong, I got this error:
$ python3 questions.py corpus

[error]
Traceback (most recent..... More

Print this item

  Printing a string from a variable
Posted by: retroC0de - Nov-06-2020, 11:17 PM - Forum: Homework - Replies (1)

I have a program that I need to make where I ask for the user's city and state, and ask them to type it in this format: city,state. The city must be p..... More

Print this item

  Pytables : Printing without special characters
Posted by: Robotguy - Nov-06-2020, 10:55 PM - Forum: Data Science - No Replies

I create a dataset containing some file information (characters). Aim is to print the content. Using info[:] also prints special characters like `\n..... More

Print this item

  function help
Posted by: Nickd12 - Nov-06-2020, 09:39 PM - Forum: General Coding Help - Replies (5)

this might be a dumb question but i have this function can i set what i want it to return using a variable.

for example if i call my minute_ functi..... More

Print this item

  Tuning PID controller
Posted by: Sancho_Pansa - Nov-06-2020, 04:00 PM - Forum: General Coding Help - Replies (4)

Hello,

Does exist a particular PID library that facilitate PID controller tuning.
Let's say realize following scenario:

  1. specify so..... More

Print this item

  Please explain uncommon way of declaring and using variable [function.variable]
Posted by: esphi - Nov-06-2020, 03:37 PM - Forum: General Coding Help - Replies (4)

I came across similar code as bellow. It declare a variable foo.y and foo.z. They can be called outside the function.
I don't see this being explain..... More

Print this item

  Save Numpy Array in Another Numpy Array (not Concatenate!)
Posted by: quest - Nov-06-2020, 10:30 AM - Forum: General Coding Help - Replies (1)

Hello;
Here is my code
[python]
array1 = ([])
for triplet in itertools.product([0, 1], repeat=6):
a,ap,b,bp,c,cp = triplet[0],triplet[1],trip..... More

Print this item

  Intro to CS online course
Posted by: space_cat - Nov-06-2020, 07:58 AM - Forum: News and Discussions - Replies (2)

well i found this page while browsing through the internet -

http://www.cse.msu.edu/~cse231/PracticeO...ingPython/

it's a CS intro cour..... More

Print this item

  Unable to install PyQt5 using pip.
Posted by: edwin4project - Nov-06-2020, 07:37 AM - Forum: GUI - Replies (2)

Hey guys, I am unable to install PyQt5 despite having python3 version 3.5.1+ & python2 version 2.7.11+. I tried various methods to install PyQt5 but a..... More

Print this item

  Creating a dictionary from a list
Posted by: Inkanus - Nov-05-2020, 10:38 PM - Forum: General Coding Help - Replies (5)

Hello. I'm having trouble creating a dictionary from a list. I have a list with names. I am supposed to build a dictionary on its basis. Each name has..... More

Print this item

  Find lines from one file in another
Posted by: tester_V - Nov-05-2020, 09:08 PM - Forum: General Coding Help - Replies (8)

Hi, kind of simple thing but for some reason I’m struggling with the iterations Wall in python and the indentations Wall where it stars/end ..... More

Print this item

  Rolling Sum by Facility
Posted by: dsparker78 - Nov-05-2020, 08:49 PM - Forum: General Coding Help - Replies (1)

I'm looking to create a rolling 12 average for a dataset. The data set has columns for MONTH, Facility, Patient Days.

I want to create a rolling 12 ..... More

Print this item

  What is the run time complexity of this code and please explain?
Posted by: samlee916 - Nov-05-2020, 07:44 PM - Forum: General Coding Help - Replies (2)

[python]
set1=set(input().split())#TAKING INPUT OF SETS
set2=set(input().split())
l=[]#CREATING EMPTY LIST FOR STORING THE COMMON DATA OF SETS
fla..... More

Print this item

  Code taking too much time to process
Posted by: ErPipex - Nov-05-2020, 06:23 PM - Forum: General Coding Help - Replies (11)

Hi team,

I am a Newbie using python, i was trying to interpretate several columns from an excel file using openpyxl, and generate (write) on a file..... More

Print this item

  Is it possible to scrape this data from Google Searches
Posted by: rosjo - Nov-05-2020, 05:44 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi there,

I'm currently working on a repetitive task, which I'm wondering if I can automate with Python. I have never worked with Python before, so..... More

Print this item

  Unable to retrieve a saved draft
Posted by: arbiel - Nov-05-2020, 04:08 PM - Forum: Board - Replies (1)

Hi

As stated in the title, I've been unable to retrive a saved draft. Please, tell me how I can retrieve it.

Arbiel

Print this item

  Numpy Play with Rows and Columns of a Matix
Posted by: quest - Nov-05-2020, 03:48 PM - Forum: General Coding Help - Replies (6)

Hello
I created my code as I want and now I just want to change my matrix.
As a result of my code, I have this matrix:

[img]https://i.postimg.cc/8zpR..... More

Print this item

  Displaying various layouts in a single window
Posted by: arbiel - Nov-05-2020, 03:44 PM - Forum: GUI - Replies (6)

Hi

I try to have several layouts displayed in a single window. I don't know the best way to do so, maybe should I remove all widgets of the current..... More

Print this item

  Unable to create an environment
Posted by: richard_wylde - Nov-05-2020, 03:11 PM - Forum: General Coding Help - No Replies

Hello ,

I'm trying to create a new environment using :-

conda create --name powerbipython python=3.6 pandas, seaborn, numpy, matplotlib

Howe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exponential Number Conver... 5 hours ago Tuurbo46 bowlofred General Codin...
  python re.finditer return... 5 hours ago arbiel arbiel General Codin...
  Possible bug found, pleas... 8 hours ago Hassher alexajames General Codin...
  How to put my game loop i... Yesterday, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... Yesterday, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580666
  Tutorial Requ... 521602
  Web Scraping ... 442884
  New Users Int... 387665
  Newbie with P... 387091
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+ 12117
buran 8197
snippsat 7398
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aalexfracesoz1783 Yesterday
Jessicaadams Yesterday
alexajames Yesterday
speakingfever 01-07
Saskia 01-07

User Panel Messages

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