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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,815

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: mamta25
4 hours ago
» Replies: 2
» Views: 79
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
4 hours ago
» Replies: 4
» Views: 136
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 292
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 262
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 99
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,615
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 201
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 184
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,102
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,420

 
  trying an online challenge
Posted by: tozqo - Jun-12-2017, 11:38 AM - Forum: Homework - Replies (8)

I recently started learning Python. I have watched several YouTube vids, read some documentation, and experimented on my own. I'm currently trying to ..... More

Print this item

  given 2 base 20 numbers write a program to subtract second from the first and return
Posted by: dp_tisha - Jun-12-2017, 05:37 AM - Forum: Homework - Replies (2)

Assume a base 20 number system which uses symbols 0-9 to represent values zero to nine and charectera A-J to represent values ten to nineteenth.

As..... More

Print this item

  More than or less than
Posted by: Splodge_123 - Jun-11-2017, 07:31 PM - Forum: Homework - Replies (2)

Hi,


I am relatively new to python and was wondering if someone could tell me what the python syntax is for 'more than' and 'less than'. I have tr..... More

Print this item

  Plotting Graph
Posted by: jacky19971997 - Jun-11-2017, 02:54 PM - Forum: Data Science - No Replies

Hello,

I'm trying to plot data which i receive from a serial com. It plots the data in a figure in 3 graphs.
I'm using the drawnow, but i can't fi..... More

Print this item

  Repeating a block of code
Posted by: owdcoder - Jun-11-2017, 02:52 PM - Forum: General Coding Help - Replies (8)

Is there a command which will repeat a block of code a set number of time. eg 10.times do:

my code here

Print this item

  Sqlite permissions problem.
Posted by: feat7 - Jun-11-2017, 02:10 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello there!
I just started writing in python. I am facing some issue regarding permissions to SQLite.
This is my repo [inline]github.com/feat7/medi..... More

Print this item

  Use Select_analysis in a loop
Posted by: babakkasraie - Jun-11-2017, 10:32 AM - Forum: General Coding Help - Replies (4)

How can I use select_analysis in a loop?
I need to select polygons one by one and create separate shapefiles from them.
I tried the following code..... More

Print this item

  Selected radio button in push button in Tkinter
Posted by: prashantfunde91 - Jun-11-2017, 08:15 AM - Forum: GUI - Replies (1)

my question here

my code here
Hello everyone i am learning about Python GUI stuff,

I have to use 4 radio buttons and a push bu..... More

Print this item

  how to enter a pause in the middle of a file
Posted by: sylas - Jun-11-2017, 06:14 AM - Forum: General Coding Help - Replies (2)

Hi all. With C++ I stop running for a pause with cin.get(), I tell to the user "Press ENTER to continue". What is the equivalent with python ??

[py..... More

Print this item

  split a grid into its tiles with tried codes
Posted by: babakkasraie - Jun-11-2017, 04:35 AM - Forum: General Coding Help - Replies (2)

Hello

I have a grid shapefile that contains 10 polygon squares.

I need to select each tile (which is a row in the attribute table) and make a s..... More

Print this item

  Back end issues
Posted by: brianmluo - Jun-11-2017, 03:05 AM - Forum: Homework - Replies (3)

Im doing a front and back end project which will be run on apache 2.4.7
So far however, my backend, when requested by the front end, returns an error..... More

Print this item

  len(bridge_knight) = 94 characters...
Posted by: RodNintendeaux - Jun-10-2017, 08:58 PM - Forum: General Coding Help - Replies (5)

bridge_knight = "I seek the bravest and the finest knights in the land who will join me in my court at Camelot."
When I run len(brid..... More

Print this item

  "my_value".index() inquiry...
Posted by: RodNintendeaux - Jun-10-2017, 06:48 PM - Forum: General Coding Help - Replies (6)

So I am learning this .index() thingy and know how to use it for a single character in a string, but I am running into errors trying to attempt to ind..... More

Print this item

  Not sure what I'm supposed to be doing here.
Posted by: ukr_nate - Jun-10-2017, 04:39 PM - Forum: Homework - Replies (5)

Howdy. I'm taking a class on Python in college, and I've come across a problem where I don't know what I'm supposed to be trying to do. I understand t..... More

Print this item

  Else statement
Posted by: snafu - Jun-10-2017, 04:01 PM - Forum: General Coding Help - Replies (2)

I'm new to python and i'm trying to code for the first. I'm trying to follow the Else statement following this youtube video:
https : //www  .youtube...... More

Print this item

  Is there a better way
Posted by: Able98 - Jun-10-2017, 03:36 PM - Forum: General Coding Help - Replies (2)

Is there a better way of doing this?

f = open(somename.dat)
print ("{0}" .format(f.name) + ".txt")
output is "somename.dat..... More

Print this item

  Data csv file into different text files with Python
Posted by: Bambi - Jun-10-2017, 03:27 PM - Forum: General Coding Help - Replies (1)

I'm a beginner in programming, but for a Dutch text categorization experiment I want to turn every instance (row) of a csv file into separate .txt fil..... More

Print this item

  install cups on python3
Posted by: gray - Jun-10-2017, 08:24 AM - Forum: GUI - Replies (2)

hello friends
i installed cups...i wanted to install it on python3 but it was installed on python2
i used this link for downloading cups: [u..... More

Print this item

  accessing postgresql
Posted by: Skaperen - Jun-10-2017, 05:13 AM - Forum: News and Discussions - Replies (8)

if you use postgresql from python: what is your favorite way to access postgresql in python?

i am looking to see which is more popular here.

the..... More

Print this item

  How to get data instead of memory addresses
Posted by: KBingo - Jun-10-2017, 03:05 AM - Forum: General Coding Help - Replies (3)

I'm trying to extract and display data from an API.  I'm using a purpose-built wrapper that utilizes SQLAlchemy, which I have installed.  But instead ..... More

Print this item

  How to display memory PDF in wxpython
Posted by: Larz60+ - Jun-10-2017, 12:03 AM - Forum: GUI - Replies (1)

To view a pdf file with wx.lib.pdfviewer.viewer.pdfViewer, you use:

   pdfV.viewer.LoadFile(r'a path to a .pdf file')
that wo..... More

Print this item

  Good ID3 module?
Posted by: Ofnuts - Jun-09-2017, 09:46 PM - Forum: News and Discussions - Replies (1)

I'm going to mass-tweak the ID3 tags in my MP3 collection. Search ID3 on PyPI elicits too many answers, I don't want to try them all :)

Has anyone ..... More

Print this item

  python console executes a file that PyCharm cannot execute
Posted by: sylas - Jun-09-2017, 04:25 PM - Forum: General Coding Help - Replies (6)

Hi all. Here at first the file that works well with python console......................................................................................... More

Print this item

  realtime database update in django
Posted by: x64 - Jun-09-2017, 03:15 PM - Forum: Web Scraping & Web Development - Replies (2)

please help me if anyone know the process how can i update my webpage realtime when update my database. We need to page refresh to see the latest data..... More

Print this item

  ignored exception
Posted by: Skaperen - Jun-09-2017, 05:32 AM - Forum: General Coding Help - Replies (6)

i sometimes get this message when i don't want the exception to be ignored:

[output]Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='..... More

Print this item

  Fibonacci sequence
Posted by: logic - Jun-08-2017, 10:01 PM - Forum: Homework - Replies (3)

Create a program that generates an output file containing a user defined amount of the fibanacci sequence.

Print this item

  PySerial
Posted by: Soichiro - Jun-08-2017, 05:37 PM - Forum: General Coding Help - Replies (1)

Hello everyone,
I am opening this thread because I need to retrieve numeric data from a serial port RS232.

This is what I would like to accomplish..... More

Print this item

  Remove extra lines from .csv file in comparison with another
Posted by: pedteles - Jun-08-2017, 02:58 PM - Forum: General Coding Help - Replies (1)

Dear all,

First of all thanks for your help, I am really very new at this so I don't even know if I'll be able to do it.

I have two .csv files c..... More

Print this item

  Removing data in a plot
Posted by: ulrich48155 - Jun-08-2017, 02:25 PM - Forum: Homework - Replies (3)

For a project I needed to calculate and display a 10fold cross-validation on a time-series. After plotting my results look like this:

http://imgur...... More

Print this item

  range and xrange
Posted by: amrita - Jun-08-2017, 10:01 AM - Forum: General Coding Help - Replies (9)

In Python, which of the following descriptions about range() and xrange() is NOT true?

In Python 2, when it is needed to generate a quite large seq..... More

Print this item

  Warning password insecure - Mysql backup with Python
Posted by: HyiikO - Jun-08-2017, 08:24 AM - Forum: General Coding Help - Replies (4)

I made this little script with Python to create a backup of a table from my database:

[python]import subprocess
sql_cmd = 'mysql -B -uUser -p passwor..... More

Print this item

  Vending Machine Program: Problem with variables
Posted by: icabero0225 - Jun-08-2017, 04:40 AM - Forum: General Coding Help - Replies (2)

I'm trying to make a simple vending machine program. Running this program gives me this error:

[error]Traceback (most recent call last):
 File "C..... More

Print this item

  Adding text after temperature reading Tkinter
Posted by: list249 - Jun-08-2017, 01:14 AM - Forum: GUI - Replies (2)

Hello all, i haven't messed with python for a couple of years, so im very rusty. Im messing with a gui i started making for another project, now i nee..... More

Print this item

  pip unable to install because of missing ssl module
Posted by: metulburr - Jun-07-2017, 09:34 PM - Forum: Data Science - Replies (10)

im trying to install pandas on python3.6. It seems to work fine in python2.x.

[output]metulburr@ubuntu:~$ sudo pip3 install pandas
The directory ..... More

Print this item

  Why does this hang the system up
Posted by: Able98 - Jun-07-2017, 07:59 PM - Forum: General Coding Help - Replies (15)

Thiese two examples seem to hang up the system.

raise FoundException("""\n\nYour password is:\n%s""" % o)
there seems to be no def ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p mamta25 Homework
  Help with Serial.write in... 4 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578835
  Tutorial Requ... 509852
  Web Scraping ... 441915
  Newbie with P... 385916
  New Users Int... 376102
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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