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,983
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
2 hours ago
» Replies: 2
» Views: 89
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,019
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 429
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,072
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,133
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 799
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,090
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,537
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,126
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,581

 
  printing interleaved lines from many processes
Posted by: Skaperen - May-20-2019, 08:48 PM - Forum: News and Discussions - Replies (2)

a new program (no code, yet) will launch many child processes that all will be printing long lines of info to stdout that is passed along from the par..... More

Print this item

  Scraping data saving to DB error with Cursor
Posted by: cubangt - May-20-2019, 07:29 PM - Forum: Web Scraping & Web Development - Replies (3)

So ive been working on a scrapying project and up until now everything has been working great and as expected. Now that we have successfully scrapped ..... More

Print this item

  [matpltlib]Basic question about callback function
Posted by: schniefen - May-20-2019, 07:20 PM - Forum: GUI - Replies (3)

I'm learning about using the slider and button widgets and am studying the example given in the link.

..... More

Print this item

  Manage Iges Cad Model
Posted by: achilledue - May-20-2019, 06:45 PM - Forum: Data Science - No Replies

Hello

I have to displace the origin and rotate an iges cad model.
Is it possible to use a Python script?
I saw pyigs module but it is an alpha.
..... More

Print this item

  How to run animations in background with tkinter?
Posted by: Pythenx - May-20-2019, 05:53 PM - Forum: GUI - Replies (1)

Hello! I am making a tkinter app and I want to make an animation, for example, a character walking (by displaying each frame individually). But when I..... More

Print this item

  sqlite3 question - execute method with :parameter
Posted by: richalt2 - May-20-2019, 04:39 PM - Forum: General Coding Help - Replies (2)

I see code using this syntax for the .execute and parameters passed with a dictionary. Where is this :parameter syntax defined?
[python]
connec..... More

Print this item

  If Python 2.x source code and applies a transform it into valid Python 3.x code.
Posted by: vivekm - May-20-2019, 10:37 AM - Forum: General Coding Help - Replies (1)

I have changed between the versions, showing how to change from Python 2-style to Python 3.1-style.

I'm getting a SyntaxError on a file that was ge..... More

Print this item

  Plot list
Posted by: arthurvercruysse - May-20-2019, 10:23 AM - Forum: General Coding Help - Replies (2)

Hello, I need your help
How can I plot a list of numbers? Because I don't want to plot point by point.
In my example I want to plot the x-values whe..... More

Print this item

  How to give input parameters value while calling the function[VI.Call()] as well?
Posted by: SARAVANAN_M - May-20-2019, 10:01 AM - Forum: News and Discussions - No Replies

I'm trying to Control LabVIEW front panel in python using by ActiveX communication.
I couldn't assign the input parameter values automatically in Lab..... More

Print this item

  python2.7 executables thus the system python2.7 was erroring utility.execute()?
Posted by: vivekm - May-20-2019, 09:59 AM - Forum: General Coding Help - Replies (1)

The error I get when I run python manage.py runserver is:

Traceback (most recent call last): File "manage.py", line 24, in execute_from_comm..... More

Print this item

  'Design' had no attribute 'add' Error in Python and Kivy
Posted by: yahucoder - May-20-2019, 08:25 AM - Forum: GUI - Replies (2)

Dear All,
Good day, please am new to python development. When I try running this program the error message am getting is
//'ConnectPage' had no attr..... More

Print this item

  Problem with elif statement
Posted by: Haddal99 - May-20-2019, 07:55 AM - Forum: General Coding Help - Replies (2)

I'm completely new to Python (and programming in general) and I can't wrap my head around why this piece of code doesn't work:

[python]
posx = 0
..... More

Print this item

  mixing bytes with strings
Posted by: Skaperen - May-20-2019, 06:16 AM - Forum: News and Discussions - Replies (3)

a found a case where i can use bytes with strings, though there could be more such cases. what i found by experimenting is that the str.translate() m..... More

Print this item

  Upgrading from Python 3.7.2 to 3.7.3 then invoking Python from Windows CMD line
Posted by: leemc71 - May-20-2019, 12:42 AM - Forum: News and Discussions - Replies (1)

If you are a Windows user you may have been frustrated with the upgrade of Python from 3.7.2 to 3.7.3. After the update to 3.7.3 a command line call o..... More

Print this item

  Matplotlib animation problem
Posted by: Potatoez - May-20-2019, 12:32 AM - Forum: General Coding Help - Replies (1)

Hello everyone!
Here's my problem: I'm working on graph path finding and I want to animate this search on matplotlib.
My code basically is so:

[p..... More

Print this item

  Ellipsis
Posted by: Skaperen - May-19-2019, 11:04 PM - Forum: News and Discussions - Replies (3)

what is Ellipsis (the type with only one value expressed by the literal ...) used for?

Print this item

  Colormap data from file - pcolormesh problem
Posted by: alrm31015 - May-19-2019, 10:20 PM - Forum: Data Science - No Replies

Hello!

I want to make a colormap of some data from a file. The file is the same type as essai0 but longer (around 280 data points). The first 2 col..... More

Print this item

  Heat Map Question
Posted by: punksnotdead - May-19-2019, 09:16 PM - Forum: GUI - Replies (2)

Hope this is OK but as I didn't receive replies to my previous thread, thought i'd try to make the question simpler.
The following code creates a 64x..... More

Print this item

  pandas install error
Posted by: loren41 - May-19-2019, 06:53 PM - Forum: Data Science - Replies (5)

Python package installed but gives dependency error on import of pandas.

Traceback (most recent call last):
File "/home/bob/Python_work_area/csv..... More

Print this item

  Problem to interrupting process
Posted by: DJ_Depannage - May-19-2019, 06:34 PM - Forum: General Coding Help - Replies (1)

Hello People,

I have problem with my script and I need your help please Smile

i use this :
[img]https://encrypted-tbn0.gstatic.com/image..... More

Print this item

  pycharm face recognition
Posted by: mcgrim - May-19-2019, 04:51 PM - Forum: General Coding Help - Replies (5)

I am very new to pycharm and face_recognition, and I am trying to play with them a little.
First of all, here's my code and error:

[python]
impor..... More

Print this item

  How to create a new plot in a figure right below the first one after click event?
Posted by: codexx - May-19-2019, 04:45 PM - Forum: Homework - Replies (1)

Given a matrix (list of lists)

    A = [[1, 2, 3],
         [4, 6, 8],
         [9, 12, 15]]

and a list [python]x = [1, 2,..... More

Print this item

  Advance program when certain keys are pressed?
Posted by: Chrislw324 - May-19-2019, 03:00 PM - Forum: General Coding Help - Replies (2)

I'm trying to build a program that will quiz me on vim commands.
As of now, the program works, but I have to press enter after entering the command...... More

Print this item

  Can't figure out my problem...
Posted by: Darkseige - May-19-2019, 02:49 PM - Forum: Game Development - Replies (4)

Hi, so im new to this forum as well as python and I decided to create a little game to learn the language a couple of days ago (The game being a cube ..... More

Print this item

  Embedding an image into source code and displaying in a wx.Frame
Posted by: Yoriz - May-19-2019, 02:32 PM - Forum: GUI tutorials - No Replies

Grab the following python logo image
[img]https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/110px-Python-logo-notext...... More

Print this item

  json.load causing IndexError: list index out of range
Posted by: WallyZ - May-19-2019, 01:45 PM - Forum: General Coding Help - Replies (5)

I'm trying to debug the ubuntu-mate-welcome python script which is refusing to load a valid json file.

I have validated the json file with jsonlint..... More

Print this item

  count occurrence of numbers in a sequence and return corresponding value
Posted by: python_newbie09 - May-19-2019, 12:46 PM - Forum: General Coding Help - Replies (6)

I would like to create a function whereby it goes through each row in a particular dataframe column, say X and if the same number appears consecutive..... More

Print this item

  Addressing with np.where
Posted by: pberrett - May-19-2019, 11:17 AM - Forum: Data Science - No Replies

Hi everyone

I am rewriting my program to eliminate for loops and using numpy arrays to do so.

I am stuck at the following problem.

First here..... More

Print this item

  Pandas - cumulative sum of two columns
Posted by: tobbs - May-19-2019, 09:29 AM - Forum: Data Science - Replies (12)

I want to calculate points for soccer teams. I have points for the hometeam and awayteam for each game and i want to get the sum for previous games. (..... More

Print this item

  Linux - Application translation not load when run from .desktop launcher
Posted by: dancaer69 - May-19-2019, 08:55 AM - Forum: GUI - Replies (2)

Hello,
I've create an pyqt5 application a year ago which I'm using every day and works fine. Recently I tried to remove the hardcoded texts which are..... More

Print this item

  [turtle]How would I create gravity?
Posted by: GalaxyCoyote - May-19-2019, 08:40 AM - Forum: Game Development - Replies (4)

I want to make a simple platforming game where the player must reach the end, but at the moment I just have 2-way movement (right and left) is there a..... More

Print this item

  Python code isn't looping player turns
Posted by: Reta - May-19-2019, 06:07 AM - Forum: Homework - Replies (7)

Hey all, so I was tasked to create a Double Hog game. For the most part, with help from my teacher, my code works 95%. However, as for this game, the ..... More

Print this item

  A-List-of-Free-Python-Resources, Books, Bad links + additinals.
Posted by: MvGulik - May-19-2019, 02:24 AM - Forum: Board - Replies (1)

Related to Books section in A-List-of-Free-Python-Resources OP..... More

Print this item

  SQL Query very slow
Posted by: Larz60+ - May-18-2019, 11:02 PM - Forum: Bar - Replies (10)

This is sort of off topic, it involves python, but only as a wrapper around an sqlite3 query.
I have created an index on Places.Name, but this still ..... More

Print this item

  import pandas as pd not working in pclinuxos
Posted by: loren41 - May-18-2019, 10:56 PM - Forum: Data Science - Replies (3)

Running python 3.6.5 in pclinuxos. Installed python3-pandas using Synaptic package manager. Tried to import pandas as pd but received "No module nam..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 2 hours ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 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...
Most views
  The best Prog... 577448
  Tutorial Requ... 500988
  Web Scraping ... 441077
  Newbie with P... 385145
  New Users Int... 369735
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 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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