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,945
» Latest member: susan
» Forum threads: 38,724
» Forum posts: 175,520

Full Statistics

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

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
1 hour ago
» Replies: 4
» Views: 9,072
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
4 hours ago
» Replies: 2
» Views: 409
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
5 hours ago
» Replies: 0
» Views: 61
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 9
» Views: 554
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,774
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,094
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,453
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,015
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,764
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,809

 
  Importing a csv file with spyder
Posted by: Scott - May-12-2018, 06:59 AM - Forum: General Coding Help - Replies (3)

Hi Everyone I am trying to import a csv file called 'train' in Spyder and it is not working.

code:
[python]
train = pd.read_csv('C:\Users\SGrah\O..... More

Print this item

  Strange error in Atom. EDIT: Problem solved!
Posted by: lupoalberto - May-12-2018, 06:16 AM - Forum: News and Discussions - No Replies

I apologize if this 3d is a little bit off topic but i can't solve this problem by myself...

I changed SSD and i reinstalled Atom on my computer.
..... More

Print this item

  Problem with buttons
Posted by: Epilepsy - May-12-2018, 05:13 AM - Forum: GUI - Replies (5)

Hi there, i have a problem, I hope you can help me, my problem:
I'm gridding some buttons with for, then i add a value and some command to do, but wh..... More

Print this item

  Unexpected input within an if/elif statement
Posted by: fier259 - May-12-2018, 03:47 AM - Forum: General Coding Help - Replies (2)

While trying to implement a simple if/elif statement, I'm getting an assault of errors that I don't understand. Hopefully, you will read my code and t..... More

Print this item

  Set wx.html2.WebView invisible
Posted by: ian - May-12-2018, 02:51 AM - Forum: GUI - Replies (1)

Is there a way to set wx.html2.WebView invisible and then switch back to visible? thanks.

Print this item

  Unexpected input within a while loop
Posted by: fier259 - May-12-2018, 01:02 AM - Forum: Game Development - Replies (2)

In this preliminary while loop, the user is asked to input an advantage. If they input 1,2, or 3 they while loop should say "Your stats been updated" ..... More

Print this item

  VS Code Intellisense not working
Posted by: JGFMK - May-12-2018, 12:32 AM - Forum: General Coding Help - Replies (4)

In py file 1 I have data model classes.
In py file 2, I have imported a class from the first py file.
When I reference an instance of an imported cl..... More

Print this item

  Want to put date and time in a POST API call
Posted by: THX1138 - May-11-2018, 08:41 PM - Forum: Web Scraping & Web Development - No Replies

I want to send notifications to myself from my Raspberry Pi using Twitter and Twitter's API. The format of the tweet needs to be:

[python]POST http..... More

Print this item

  Broken anti-spam question
Posted by: THX1138 - May-11-2018, 08:33 PM - Forum: Board - Replies (5)

What do you want from me?? Incidentally, the correct answer should be 'yes'; regardless whether people act on free will, punishment can correct aberre..... More

Print this item

  Menus and icons changed after upgrade
Posted by: blackclover - May-11-2018, 08:14 PM - Forum: GUI - No Replies

I've been experiencing this problem lately after upgrading my systems (both in debian testing and archlinux).
All python apps menus (geany, trelby, e..... More

Print this item

  Module not found
Posted by: tjnichols - May-11-2018, 07:40 PM - Forum: Web Scraping & Web Development - Replies (3)

I've tried to run this many different times and I keep getting the same errors.

Most of this I got from Lars60+ ( Dance Dance Dance ..... More

Print this item

  Python clustering homework
Posted by: wjpython - May-11-2018, 06:45 PM - Forum: Homework - Replies (3)

Dear all,

I really need your help with this assignment:

generate random data with dimension 5 and 4 clusters, then calculate the validity index ..... More

Print this item

  Finding all maximum values in a matrix
Posted by: Lightning1800 - May-11-2018, 06:40 PM - Forum: General Coding Help - Replies (3)

Hi there,

I am trying to compute all of the maximum values in a matrix using a "for loop" and needed some assistance. How would you go about doing ..... More

Print this item

  Add Space Between Numbers?
Posted by: jmair - May-11-2018, 06:14 PM - Forum: General Coding Help - Replies (3)

I have phone extensions that need a space between the as they are printed out. for example, instead of "my extension is 123" have it printed out as "m..... More

Print this item

  Scoping Question: If else in for loop not evaluating i as expected
Posted by: datasundae - May-11-2018, 04:24 PM - Forum: General Coding Help - Replies (3)

#!python3
I am using psycopg2 to read rows from a spreadsheet into a array using xlrd. I want to compare the 3 element in each row (a sales order num..... More

Print this item

  Themes for this site
Posted by: snippsat - May-11-2018, 03:44 PM - Forum: Board - Replies (27)

For old new new users remember to test out Themes Default, Midnight, Dark.
Done some testing with different backgrounds,also for De..... More

Print this item

  Help in a Go game buttons
Posted by: notreallyapro - May-11-2018, 02:25 PM - Forum: GUI - Replies (5)

Hello, I have already asked this in an other thread and I'm sorry to create a new one but no one answers, so could you please help me?

My question ..... More

Print this item

  Looping through files, check content and delete
Posted by: metalray - May-11-2018, 02:12 PM - Forum: General Coding Help - Replies (1)

Dear Python Experts,

I wonder if it is possible to write a small python program
that goes through my 50 000 .json files on my windows machine and ..... More

Print this item

  add a textbox in an image
Posted by: Akhou - May-11-2018, 01:39 PM - Forum: General Coding Help - Replies (17)

hey,

I need to add a text box in an image, and when I run the application, I should be able to write in that text box. Is that possible using pytho..... More

Print this item

  Fill as list (with conditions).
Posted by: EmericCrue - May-11-2018, 01:00 PM - Forum: General Coding Help - Replies (6)

Hello ! =)

I'm new is Python. I would like create a function which is responsible for filling a list with 0, 1, -1 values depending on 4 other list..... More

Print this item

  controlling multiple server simultaneously.
Posted by: caligola - May-11-2018, 11:46 AM - Forum: General Coding Help - Replies (3)

Hi guys,i'm newbie on this forum,i need your help to code a project.

I have 2 vps server with linux and GUI,my goal is to code something for contro..... More

Print this item

  coding error from a script (absolute noob)
Posted by: fuchls - May-11-2018, 11:15 AM - Forum: General Coding Help - Replies (2)

hi, im trying to figure out a script here, it gives me error
TypeError: unsupported operand type(s) for &: 'float' and 'int'

script is from http:/..... More

Print this item

  Sync folder over network
Posted by: Guybrush - May-11-2018, 10:53 AM - Forum: Networking - Replies (3)

Hi all!
I've a software (in Python) that run in 25 PCs (10 with windows and 15 with Ubuntu). Sometimes I need to update that software. So I need to s..... More

Print this item

  How to extract only time from the date_time?
Posted by: Jack_Sparrow - May-11-2018, 10:45 AM - Forum: Data Science - Replies (1)

Hi there,
I have follow column:
0 2017-05-29 18:36:27
1 2017-06-12 19:00:33
2 2017-02-13 17:02:02
3 2017-04-24 18:39:45
4 ..... More

Print this item

  Extracting data from mysql
Posted by: xgrzeniu - May-11-2018, 09:32 AM - Forum: GUI - Replies (2)

hi, I have three objects in my program. Two QlinEdit: tpn1; tpn2 and one Qpush Button how to set a value after typing in QlineEdit tpn2 and pressing Q..... More

Print this item

  subtruction of columns in pandas
Posted by: garikhgh0 - May-11-2018, 09:30 AM - Forum: Data Science - Replies (3)

I friends. I would like to ask how to orgnize subtruction of columns. so the dataframe is as below:

when I subtruct columns from each other I use the..... More

Print this item

  How to update large software porjects
Posted by: ralf - May-11-2018, 09:11 AM - Forum: News and Discussions - Replies (5)

Hi,

In my holiday time I'm working on a huge project for years.
I started to make it open source at the beginning of this year.

Now I'm facing ..... More

Print this item

  (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \
Posted by: Jack_Sparrow - May-11-2018, 09:01 AM - Forum: Data Science - Replies (8)

HI there,
I have follow problem:

import pandas as pd

subway_df = pd.read_csv('C:\Users\DSule\Desktop\python\nyc.csv')
[python]..... More

Print this item

  Formatting Code
Posted by: zeaky3000 - May-11-2018, 05:53 AM - Forum: General Coding Help - Replies (3)

Can someone please explain to me the difference between the following two examples and why the shorter one compiles correctly and the longer one doesn..... More

Print this item

  Convert text file date into specific format
Posted by: jacklee26 - May-11-2018, 04:55 AM - Forum: General Coding Help - Replies (11)

Do anyone know how to convert a text file date format to specific format.
For example i have a text file and the file is 2018/01/02, and i wants to co..... More

Print this item

  How to release Memory of GPU!
Posted by: majinbuu - May-11-2018, 04:41 AM - Forum: General Coding Help - Replies (1)

Hi all!

i'm try to do many commands to release memory-usage but not working. I'm try restart too.

2 VGA GTX 1080 : 11/11,5 Gb

OS: LINUX

Pl..... More

Print this item

  matplotlib in spyder
Posted by: Scott - May-11-2018, 03:32 AM - Forum: Data Science - Replies (4)

Hi everyone,

When I type the below code I get the following output but no graph visual. How do I display graphs with matplotlib when using spyder?..... More

Print this item

  character code conversions
Posted by: Skaperen - May-11-2018, 01:23 AM - Forum: News and Discussions - Replies (1)

i am running into troubles with some character codes that are suppose to be ASCII or UTF-8 but they might be something else. i am sending the to anot..... More

Print this item

  Help with displaying output of a python program?
Posted by: Simba9312 - May-10-2018, 11:59 PM - Forum: Homework - Replies (2)

I'm doing an assignment that he wants us to display the output of the file when we run it. (We're working on reading and writing files in Python and s..... More

Print this item

  Example of list comprehensions doesn't work
Posted by: Truman - May-10-2018, 11:19 PM - Forum: General Coding Help - Replies (17)

x = int(input())
y = int(input())
n = int(input())
print([i,j] for i in range(x+1) for j in range(y+1) if (((i+j) !=n)))
The goal i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 1 hour ago J_Miller susan General Codin...
  A coding beginner needs h... 4 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 5 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 11 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576675
  Tutorial Requ... 498805
  Web Scraping ... 440509
  Newbie with P... 384446
  New Users Int... 368015
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

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